commit | 7b78233cff688f60122122039848469fe1cb3f3c | [log] [tgz] |
---|---|---|
author | Xin Li <[email protected]> | Mon Apr 18 20:43:33 2022 +0000 |
committer | Xin Li <[email protected]> | Mon Apr 18 20:43:33 2022 +0000 |
tree | 6a5f14cb86a76dc538b346fa6295a8cf4cd6c3e5 | |
parent | 91ed01964fad6a9503bfd40e157dae800ce27719 [diff] | |
parent | 1a237f64e8fe0d5361376dd67734442a80b2c395 [diff] |
Empty merge of sc-v2-dev-plus-aosp-without-vendor@8433047 Bug: 226662282 Merged-In: I4402ef9c5b6089fd495e8343460d9fd459560202 Change-Id: Ib9226657c0b7cfb32173e09f435db2f0695abf0d
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.