pub trait MapStore<'data> {
type Key: 'data;
type Value: 'data;
const LEN: usize;
// Required methods
fn get_key(&self, index: usize) -> Self::Key;
fn get_value(&self, index: usize) -> Self::Value;
}Required Associated Constants§
Required Associated Types§
Required Methods§
fn get_key(&self, index: usize) -> Self::Key
fn get_value(&self, index: usize) -> Self::Value
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.