commit | 0ce1ea53b3b558ea4995fecbfd2a5e53c1e95df2 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Fri Apr 21 19:45:00 2023 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Fri Apr 21 19:45:00 2023 +0000 |
tree | ae4e51e69278b95d9ee59f9f1c0469981f913668 | |
parent | cf817a826c2c3ea9b4351d7ee61255cb19b29118 [diff] | |
parent | 28883aec686677fdd446ad41fee0140027f15d71 [diff] |
Snap for 9989322 from 28883aec686677fdd446ad41fee0140027f15d71 to mainline-rkpd-release Change-Id: Ic74fcd34cd1a6b9b8ee7fed14e4674a678a27f3e
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.