commit | 6a4f92268a84398f6956e96d3aab5c5fcb0335da | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Thu Feb 17 02:55:19 2022 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Thu Feb 17 02:55:19 2022 +0000 |
tree | e46cd99d3adb97fd9c4fdf65e73555b13b5f456b | |
parent | 3c07c4ee36e1ef25bb7b359d8add2f5ba7b6757d [diff] | |
parent | de05122fa19635560828522475da62cb8a688ac4 [diff] |
Snap for 8191477 from de05122fa19635560828522475da62cb8a688ac4 to tm-frc-media-release Change-Id: I150aa5dacd4a7e43f652f71a617d4b6ccdd622ac
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.