commit | 9f287f44475560013a591e2937124afd657a426d | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Wed Nov 02 03:13:54 2022 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Wed Nov 02 03:13:54 2022 +0000 |
tree | eb4e3cae81a9d4880a9a69333d51b7c21236fe32 | |
parent | a8de23315cdbd8b641d5bf1e73c563dfcd95b425 [diff] | |
parent | d7e7df7ddd316124b3bf8f5bc67f27528a134475 [diff] |
Snap for 9245572 from d7e7df7ddd316124b3bf8f5bc67f27528a134475 to udc-d1-release Change-Id: Iaff667252becc7c76d9797ac6c52ad8b69cb1296
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.