commit | f1c56e550256b305e9aea97a84be1cbcc80c3975 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Tue Nov 01 21:30:05 2022 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Tue Nov 01 21:30:05 2022 +0000 |
tree | 6a5f14cb86a76dc538b346fa6295a8cf4cd6c3e5 | |
parent | d5896956453eb2a77bcfa4426cc81dd6f080061f [diff] | |
parent | 4bf310946d8ca58729dda07998782dc0322e49d1 [diff] |
Snap for 9239618 from 4bf310946d8ca58729dda07998782dc0322e49d1 to tm-platform-release Change-Id: Id9ed5cbb60d7e7e6724d5118117fba33c4ce459c
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.