Skip to main content

StoreConstEmpty

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".

Implementations on Foreign Types§

Source§

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

Source§

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

Implementors§