2 releases
Uses old Rust 2015
0.3.4 | Dec 30, 2015 |
---|---|
0.3.3 | Dec 30, 2015 |
#6 in #libcore
14KB
159 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.