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