pub trait MapIndex: Debug {
// Required methods
fn from_usize(value: usize) -> Self;
fn get(&self) -> usize;
}
Expand description
Required Methods§
Sourcefn from_usize(value: usize) -> Self
fn from_usize(value: usize) -> Self
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.