Module bitflags
Types in which the bits are individually addressable.
- Crate
::bitflags. - docs.rs
- crates.io
- GitHub
Rust does not natively support bitwise field access as some languages do.
This crate provides the bitflags! macro which defines typesafe bitmasks,
types with named values that are efficiently packed together as bits
to express sets of options.
use bitflags;
bitflags!
Modules
Macros
- bitflags Generate a flags type.
-
bitflags_match
A macro that matches flags values, similar to Rust's
matchstatement.