commit | 80bbe39ec7d57dabe26ed2b7d01a6cbeb44e8017 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Wed Jan 25 05:13:59 2023 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Wed Jan 25 05:13:59 2023 +0000 |
tree | c566660ffe0e8ac61e547360c7ab1d26f43dee98 | |
parent | 9f287f44475560013a591e2937124afd657a426d [diff] | |
parent | b0fa7c10bb22e463ed45ce59fe18b5ab620e749b [diff] |
Snap for 9524352 from b0fa7c10bb22e463ed45ce59fe18b5ab620e749b to udc-d1-release Change-Id: I22c50bc90da19ef9a83c13e81fba94cbd86d89c3
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.