commit | ecd9d010314617007e1b818ae3c63177675f9f26 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Fri Mar 25 12:31:35 2022 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Fri Mar 25 12:31:35 2022 +0000 |
tree | e46cd99d3adb97fd9c4fdf65e73555b13b5f456b | |
parent | afba61de637e79897e0ab186382c2cb390e1c0a8 [diff] | |
parent | de05122fa19635560828522475da62cb8a688ac4 [diff] |
Snap for 8358640 from de05122fa19635560828522475da62cb8a688ac4 to mainline-go-cellbroadcast-release Change-Id: I360f06437b2565ebc011abc97d0d9600ed330646
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.