#bit #bool #boolean #up #byte #libray

bit_bool

This is a libray that makes a boolean that "takes" up 1 bit instead of 1 byte

1 unstable release

0.1.0 Jan 25, 2022

#6 in #libray

GPL-3.0 license

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);

No runtime deps