commit | 56c198b1d8031e2439a6b76a161acc3ad8d7c37e | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Mar 10 04:19:01 2023 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Fri Mar 10 04:19:01 2023 +0000 |
tree | ae4e51e69278b95d9ee59f9f1c0469981f913668 | |
parent | 8504889f1dabd7b0fea8d413d009cb79f86fb027 [diff] | |
parent | 16d90889c4c7108f38f40fa8f675b7425614575b [diff] |
Snap for 9719949 from 28883aec686677fdd446ad41fee0140027f15d71 to udc-release am: 16d90889c4 Original change: https://googleplex-android-review.googlesource.com/c/platform/external/rust/crates/bitflags/+/21946504 Change-Id: I7570e97327b0be3d06d866297afb37fe7ba2fb2d Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
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.