Snap for 8479981 from a93fa8a5d66997b86003e8c9bf48035a3798c773 to tm-d1-release Change-Id: Iea251d3e6cc90ff813873af1939665d77e497df9
A Rust macro to generate structures which behave like a set of bitflags
Add this to your Cargo.toml:
[dependencies] bitflags = "1.3"
and this to your source code:
use bitflags::bitflags;
The minimum supported Rust version is 1.46 due to use of associated constants and const functions.