commit | e1062ab43773c197e3504843e6e8469458ee62c0 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Apr 21 03:04:37 2022 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Apr 21 03:04:37 2022 +0000 |
tree | 6a5f14cb86a76dc538b346fa6295a8cf4cd6c3e5 | |
parent | eb16902da95e1ca740e67220f400b1a7def2e304 [diff] | |
parent | 773349be77f428f726e76944827ec9a3209b62f9 [diff] |
Snap for 8479861 from 773349be77f428f726e76944827ec9a3209b62f9 to tm-d2-release Change-Id: I13a27f4730e14da77718e77d6c55f2738eafe477
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.