commit | be2b2e45e3a3c44c3348c310e75b9c8e56972e29 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Fri May 26 10:17:21 2023 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Fri May 26 10:17:21 2023 +0000 |
tree | ae4e51e69278b95d9ee59f9f1c0469981f913668 | |
parent | cf817a826c2c3ea9b4351d7ee61255cb19b29118 [diff] | |
parent | 28883aec686677fdd446ad41fee0140027f15d71 [diff] |
Snap for 10209341 from 28883aec686677fdd446ad41fee0140027f15d71 to mainline-healthfitness-release Change-Id: If65f04fcb7205eef99d8200f225bb6972d001b37
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.