commit | 692bf5a4246610575c52ed28e1b1d54a152ab1fe | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Fri Apr 15 01:04:26 2022 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Fri Apr 15 01:04:26 2022 +0000 |
tree | 6a5f14cb86a76dc538b346fa6295a8cf4cd6c3e5 | |
parent | ca8ab4434bac68e27e6c84c0f8c7f60837f9297e [diff] | |
parent | 67e06768536f6a4b1f762975aecf821a6fd98a63 [diff] |
Snap for 8458482 from 67e06768536f6a4b1f762975aecf821a6fd98a63 to tm-d1-release Change-Id: I579c209e22fc55a7cfe2eea87448526ada0efcd2
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.