commit | 515f0df5b977d7c46ca1c18b0f5fd52910864b1d | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Wed Jun 01 03:14:00 2022 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Wed Jun 01 03:14:00 2022 +0000 |
tree | d6793ca39a10247aa5e51b97dcb146a57c1046d3 | |
parent | a66c978d7d2de67b4858b157ffae35097ef1c5bb [diff] | |
parent | 8dae48defd795936c7535ef45af2841e7c9a8970 [diff] |
Snap for 8666878 from 8dae48defd795936c7535ef45af2841e7c9a8970 to udc-release Change-Id: I5238d429342fb73a547a42ca3c13bc2ac3927615
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.