[−][src]Trait bit_vec::BitBlock
Abstracts over a pile of bits (basically unsigned primitives)
Required methods
pub fn bits() -> usize
[src]
How many bits it has
pub fn from_byte(byte: u8) -> Self
[src]
Convert a byte into this type (lowest-order bits set)
pub fn count_ones(self) -> usize
[src]
Count the number of 1's in the bitwise repr
pub fn zero() -> Self
[src]
Get 0
pub fn one() -> Self
[src]
Get 1