pub trait ContainerRead<B>where
B: BitAccess,{
type Slot: Number;
// Required methods
fn get_slot(&self, idx: usize) -> Self::Slot;
fn slots_count(&self) -> usize;
// Provided method
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.