Trait BitSlice

Source
pub trait BitSlice {
    // Required methods
    fn get_bit(&self, idx: usize) -> bool;
    fn bit_len(&self) -> usize;
}

Required Methods§

Source

fn get_bit(&self, idx: usize) -> bool

Source

fn bit_len(&self) -> usize

Implementors§

Source§

impl<T: AsRef<[u8]>> BitSlice for T