| commit | be45f73a786d9dbebdd698179f0a8ca5fb7f1f5b | [log] [tgz] |
|---|---|---|
| author | Android Build Coastguard Worker <[email protected]> | Thu Apr 21 03:05:24 2022 +0000 |
| committer | Android Build Coastguard Worker <[email protected]> | Thu Apr 21 03:05:24 2022 +0000 |
| tree | 6a5f14cb86a76dc538b346fa6295a8cf4cd6c3e5 | |
| parent | aea0fcffd5c6685d34a754723578fa32637bfcd6 [diff] | |
| parent | 773349be77f428f726e76944827ec9a3209b62f9 [diff] |
Snap for 8479861 from 773349be77f428f726e76944827ec9a3209b62f9 to tm-qpr1-release Change-Id: I84693b4861b4d25bda11cb595ed3369602c854a9
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.