Trait bitmac::container::ContainerRead
source · [−]pub trait ContainerRead<B> where
B: BitAccess, {
type Slot: Number;
fn get_slot(&self, idx: usize) -> Self::Slot;
fn slots_count(&self) -> usize;
fn bits_count(&self) -> usize { ... }
}
Required Associated Types
Required Methods
sourcefn slots_count(&self) -> usize
fn slots_count(&self) -> usize
Gets number of stored slots.
Provided Methods
sourcefn bits_count(&self) -> usize
fn bits_count(&self) -> usize
Gets max number of bits.