1 unstable release
Uses old Rust 2015
0.3.3 | Dec 27, 2015 |
---|
#20 in #bitmask
93 downloads per month
Used in 5 crates
(via libmultilog)
21KB
380 lines
bitflags
A Rust macro to generate structures which behave like a set of bitflags
Usage
Add this to your Cargo.toml
:
[dependencies]
bitflags = "0.3"
and this to your crate root:
#[macro_use]
extern crate bitflags;
lib.rs
:
A typesafe bitmask flag generator.