commit | c98b1a1f2308794005d2e62b46dc5d00a14562fc | [log] [tgz] |
---|---|---|
author | Linux Build Service Account <lnxbuild@localhost> | Wed Jan 26 00:30:55 2022 -0800 |
committer | Linux Build Service Account <lnxbuild@localhost> | Wed Jan 26 00:30:55 2022 -0800 |
tree | 8ff81e914e07610263b5dd03d297e04d977d6e86 | |
parent | 2bf65706b81dd725bee46ae9e6956d80bf73d7df [diff] | |
parent | f9f5e3e27ea00bc31d379b27b6f649d37c912c73 [diff] |
Merge f9f5e3e27ea00bc31d379b27b6f649d37c912c73 on remote branch Change-Id: I050681d6828a1f9688f535b14327bed1cce0a6d7
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.