commit | 407b0966c1001e9b057afa333e6104d2de5e20d8 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Thu Feb 17 02:45:51 2022 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Thu Feb 17 02:45:51 2022 +0000 |
tree | e46cd99d3adb97fd9c4fdf65e73555b13b5f456b | |
parent | 7d2531e2f90ff91a849a433416ccb3fce19d1bcb [diff] | |
parent | de05122fa19635560828522475da62cb8a688ac4 [diff] |
Snap for 8192738 from de05122fa19635560828522475da62cb8a688ac4 to tm-frc-documentsui-release Change-Id: I499aa16e512906779e99a76381531d5a201c7292
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.