1 unstable release
0.1.0 | Jan 25, 2022 |
---|
#6 in #libray
4KB
This is a libray that makes a boolean that "takes" up 1 bit instead of 1 byte.
Examples
use bit_bool::OneBitBool;
let b = OneBitBool::from(true);
assert_eq!(b.get_index(0), true);
lib.rs
:
This is a libray that makes a boolean that "takes" up 1 bit instead of 1 byte.
Examples
use bit_bool::OneBitBool;
let b = OneBitBool::from(true);
assert_eq!(b.get_index(0), true);