commit | bc1eadf084ddd929a0507c853bfd629a7fff2349 | [log] [tgz] |
---|---|---|
author | Linux Build Service Account <lnxbuild@localhost> | Sun Jan 15 12:05:33 2023 -0800 |
committer | Linux Build Service Account <lnxbuild@localhost> | Sun Jan 15 12:05:33 2023 -0800 |
tree | 6a5f14cb86a76dc538b346fa6295a8cf4cd6c3e5 | |
parent | ceaa0f06bf146161dda126ef234ccfa8c5bce323 [diff] | |
parent | 0166cdddc678ee157650e20f44859745966f80c8 [diff] |
Merge 0166cdddc678ee157650e20f44859745966f80c8 on remote branch Change-Id: I3ec497d089800dbc16fc00caa9d4035bf9c0accd
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.