[−][src]Trait cbitset::BitArray
An internal trait used to bypass the fact that rust does not yet have const
generics. Don't implement this yourself, it could lead to undefined
behavior when using BitSet::from_ref
Associated Types
type Item: Default + PrimInt + FromPrimitive + ToPrimitive
The item type this array holds
Required methods
fn len() -> usize
Returns how many elements this array can hold
fn get(&self, index: usize) -> Self::Item
fn get_mut(&mut self, index: usize) -> &mut Self::Item
Access a mutable reference to the element at a specified index
Panics
Panics if the index is bigger than the length