pub trait BitArray:
Default
+ Clone
+ Copy {
type Item: Default + PrimInt;
// Required methods
fn len() -> usize;
fn get(&self, index: usize) -> Self::Item;
fn get_mut(&mut self, index: usize) -> &mut Self::Item;
}Expand description
An internal trait used to bypass the fact that rust does not yet have const generics
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.