commit | 8bf466dd070115b85962aec2917e48df052c4c05 | [log] [tgz] |
---|---|---|
author | Scott Lobdell <slobdell@google.com> | Tue Nov 23 14:01:29 2021 +0000 |
committer | Scott Lobdell <slobdell@google.com> | Tue Nov 23 14:16:41 2021 +0000 |
tree | b2594e1fc7ab61aee60e80ead080e1eef8e6e147 | |
parent | fde1c6b37c946df0072afc97bc4370973de94deb [diff] | |
parent | ad81a05f98197315e36f81ca7e32161ed75dfdee [diff] |
Merge TP1A.211013.002 Change-Id: I0ac8d0e6ff737b4ad54732edffee57b6ebc03b9e
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.