commit | 05c15df55cca41d07dc91346a14228696044609a | [log] [tgz] |
---|---|---|
author | Haamed Gheibi <haamed@google.com> | Thu Sep 23 17:28:35 2021 +0000 |
committer | Haamed Gheibi <haamed@google.com> | Thu Sep 23 17:28:35 2021 +0000 |
tree | 9dd219ea0595ea141ca04a576fdf2f7c2de70f50 | |
parent | d120a0180e02b9f38d995dcfee88e8c6585490a6 [diff] | |
parent | 858c8dc6af1db64bd0e636771f18c611920f74bb [diff] |
Merge TP1A.210812.002 Bug: 198367246 Change-Id: I5e0bf861c184a3b7e43c0e339417a7ee6fb3f449
A Rust macro to generate structures which behave like a set of bitflags
Add this to your Cargo.toml
:
[dependencies] bitflags = "1.0"
and this to your crate root:
#[macro_use] extern crate bitflags;
The minimum supported Rust version is 1.20 due to use of associated constants.