litemap::store

Trait StoreConstEmpty

Source
pub trait StoreConstEmpty<K: ?Sized, V: ?Sized> {
    const EMPTY: Self;
}
Expand description

Trait to enable const construction of empty store.

Required Associated Constants§

Source

const EMPTY: Self

An empty store

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.

Implementations on Foreign Types§

Source§

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

Source§

const EMPTY: &'a [(K, V)] = _

Source§

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

Implementors§