commit | a1ebf0357f63b3a86eb269e3935a4333312f21d6 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Tue Nov 16 02:05:10 2021 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Tue Nov 16 02:05:10 2021 +0000 |
tree | 8ff81e914e07610263b5dd03d297e04d977d6e86 | |
parent | ad81a05f98197315e36f81ca7e32161ed75dfdee [diff] | |
parent | 87a48d67e40b0333dddbace383ca2e317199ca42 [diff] |
Snap for 7918267 from 87a48d67e40b0333dddbace383ca2e317199ca42 to tm-release Change-Id: I32a0969f21cf3ccb556785731d6b2c65506a0216
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.