commit | aea0fcffd5c6685d34a754723578fa32637bfcd6 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Apr 15 03:05:10 2022 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Apr 15 03:05:10 2022 +0000 |
tree | 6a5f14cb86a76dc538b346fa6295a8cf4cd6c3e5 | |
parent | cdc217ec03d0b6a152ba19559ebf85f03ae2ef14 [diff] | |
parent | 53169df9773e02f4f12deed01c6f520abf938999 [diff] |
Snap for 8458224 from 53169df9773e02f4f12deed01c6f520abf938999 to tm-qpr1-release Change-Id: Ia619bcd3cda7d6149950208d3d1aa596e599360c
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.