commit | ad81a05f98197315e36f81ca7e32161ed75dfdee | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Sat Oct 09 05:04:58 2021 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Sat Oct 09 05:04:58 2021 +0000 |
tree | b2594e1fc7ab61aee60e80ead080e1eef8e6e147 | |
parent | 7078a0c3b022b52e2a86194df5da2e00441c1384 [diff] | |
parent | 291cbd6ee2ae92c43f0c2e2dc85b2b57a99d6a12 [diff] |
Snap for 7809064 from 291cbd6ee2ae92c43f0c2e2dc85b2b57a99d6a12 to tm-release Change-Id: I68ee39dbbdf69e90dcdac0cf14506c8ab5ec911c
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.