commit | d7e7df7ddd316124b3bf8f5bc67f27528a134475 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Thu Aug 25 01:14:25 2022 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Thu Aug 25 01:14:25 2022 +0000 |
tree | eb4e3cae81a9d4880a9a69333d51b7c21236fe32 | |
parent | 82f9c987edef752c6fa1447f0054ed4d5f1c785f [diff] | |
parent | 0568b4a61ffafb03f7019d0f7b91b5b553bd0690 [diff] |
Snap for 8989391 from 0568b4a61ffafb03f7019d0f7b91b5b553bd0690 to udc-release Change-Id: Iaec7e94ebb27f8ec39bba230395332154edb2e18
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.