commit | 1bddae507d0be7f3ded9d133456246012e97d0d4 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Feb 01 10:59:23 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Feb 01 10:59:23 2023 +0000 |
tree | 95c86520ab31281facd811b1e84f22659ca6339c | |
parent | d2ee0f36516d9e25ad4592506a70f96419f8c115 [diff] | |
parent | 2ce77041a38099034c6c6781e2d7c29fb0c7ee27 [diff] |
Snap for 9550355 from 2ce77041a38099034c6c6781e2d7c29fb0c7ee27 to sdk-release Change-Id: I7feb197efe2ca9b0823ff83d40284d1ace8a5659
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.