tag | 5c5e003f26b7a24994261c47383169b5acbe87bb | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Thu May 19 16:14:30 2022 -0700 |
object | 07477b1e6c36751a4c2ce4dc6ba1e8082e2a4e8a |
Platform Tools Release 33.0.0 (8141338)
commit | 07477b1e6c36751a4c2ce4dc6ba1e8082e2a4e8a | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Dec 23 02:03:50 2021 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Dec 23 02:03:50 2021 +0000 |
tree | e46cd99d3adb97fd9c4fdf65e73555b13b5f456b | |
parent | b60d04c653a4adb39194ccc013931565901598a9 [diff] | |
parent | 3be99c1ed0cc14067a2c2badd1ae931e46b49693 [diff] |
Snap for 8023979 from 3be99c1ed0cc14067a2c2badd1ae931e46b49693 to sdk-release Change-Id: I1653d7dd7905b734bc4102ff4b38c976f14d1dc8
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.