commit | 7078a0c3b022b52e2a86194df5da2e00441c1384 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Tue Aug 31 03:04:32 2021 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Tue Aug 31 03:04:32 2021 +0000 |
tree | 351beacd9c57e161f19def79c4d7a9e93cfa2384 | |
parent | fde296f69d58b58f8ade084be6adbde809756ea1 [diff] | |
parent | dc1c78d5a0b4d94ed14f02489b11cee72c8c8ba7 [diff] |
Snap for 7688365 from dc1c78d5a0b4d94ed14f02489b11cee72c8c8ba7 to tm-release Change-Id: I16ba60e38c7ae96268fbd360b8a29afca9a333c5
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.