Trait litemap::store::StoreSlice

source ·
pub trait StoreSlice<K: ?Sized, V: ?Sized>: Store<K, V> {
    type Slice: ?Sized;

    // Required method
    fn lm_get_range(&self, range: Range<usize>) -> Option<&Self::Slice>;
}

Required Associated Types§

Required Methods§

source

fn lm_get_range(&self, range: Range<usize>) -> Option<&Self::Slice>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<'a, K, V> StoreSlice<K, V> for &'a [(K, V)]

source§

type Slice = [(K, V)]

source§

fn lm_get_range(&self, range: Range<usize>) -> Option<&Self::Slice>

source§

impl<K, V> StoreSlice<K, V> for Vec<(K, V)>

source§

type Slice = [(K, V)]

source§

fn lm_get_range(&self, range: Range<usize>) -> Option<&Self::Slice>

Implementors§