Crates.io | bit_bool |
lib.rs | bit_bool |
version | 0.1.0 |
source | src |
created_at | 2022-01-25 16:46:34.60921 |
updated_at | 2022-01-25 16:46:34.60921 |
description | This is a libray that makes a boolean that "takes" up 1 bit instead of 1 byte |
homepage | |
repository | |
max_upload_size | |
id | 520934 |
size | 3,580 |
This is a libray that makes a boolean that "takes" up 1 bit instead of 1 byte.
use bit_bool::OneBitBool;
let b = OneBitBool::from(true);
assert_eq!(b.get_index(0), true);