commit | 82f9c987edef752c6fa1447f0054ed4d5f1c785f | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Fri Jun 17 03:13:35 2022 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Fri Jun 17 03:13:35 2022 +0000 |
tree | 2ff591547099e920bef0ca40a55b8016254ff490 | |
parent | 515f0df5b977d7c46ca1c18b0f5fd52910864b1d [diff] | |
parent | b8075c57d174ce1a154f7821be9db3b16010f1ab [diff] |
Snap for 8736785 from b8075c57d174ce1a154f7821be9db3b16010f1ab to udc-release Change-Id: I23c4604c1a7517cdd8888e3f2502b0cd9b28c26d
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.