commit | e2270ecd3979ac83ac8d98ad048a25fb9d49aef1 | [log] [tgz] |
---|---|---|
author | Niklas Fiekas <[email protected]> | Wed Jan 22 12:51:49 2020 +0100 |
committer | Niklas Fiekas <[email protected]> | Wed Jan 22 16:15:53 2020 +0100 |
tree | e7ab1cda787116be024bc6a87ca769069004ab2c | |
parent | a755719edc3636b167598f06d4715f9bb582b0f2 [diff] |
Document from_bits_unchecked unsafety (#200)
A Rust macro to generate structures which behave like a set of bitflags
Add this to your Cargo.toml
:
[dependencies] bitflags = "1.2"
and this to your crate root:
#[macro_use] extern crate bitflags;
The minimum supported Rust version is 1.20 due to use of associated constants.