commit | 16d90889c4c7108f38f40fa8f675b7425614575b | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Fri Mar 10 02:19:10 2023 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Fri Mar 10 02:19:10 2023 +0000 |
tree | ae4e51e69278b95d9ee59f9f1c0469981f913668 | |
parent | 8504889f1dabd7b0fea8d413d009cb79f86fb027 [diff] | |
parent | 28883aec686677fdd446ad41fee0140027f15d71 [diff] |
Snap for 9719949 from 28883aec686677fdd446ad41fee0140027f15d71 to udc-release Change-Id: Ibc16361cc64e5d65effb37cb72bf8a7968a166b0
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.