commit | 15e911c304d5bd8805af55d7e4f8c5324ed798ee | [log] [tgz] |
---|---|---|
author | Ashley Mannix <[email protected]> | Tue Jan 28 11:51:36 2020 +1000 |
committer | GitHub <[email protected]> | Tue Jan 28 11:51:36 2020 +1000 |
tree | e7ab1cda787116be024bc6a87ca769069004ab2c | |
parent | a755719edc3636b167598f06d4715f9bb582b0f2 [diff] | |
parent | e2270ecd3979ac83ac8d98ad048a25fb9d49aef1 [diff] |
Merge pull request #207 from niklasf/unsafe-from-bits-unchecked 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.