commit | b5c2786599c40990b4cebffa972ab031249e5cda | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Thu Feb 02 05:13:32 2023 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Thu Feb 02 05:13:32 2023 +0000 |
tree | 95c86520ab31281facd811b1e84f22659ca6339c | |
parent | 80bbe39ec7d57dabe26ed2b7d01a6cbeb44e8017 [diff] | |
parent | 8504889f1dabd7b0fea8d413d009cb79f86fb027 [diff] |
Snap for 9553927 from 8504889f1dabd7b0fea8d413d009cb79f86fb027 to udc-d1-release Change-Id: Ib43ffd1ab1511e1e0a69b8ac8821c0531aad80b4
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.