Struct fixed_map::storage::BooleanStorage
source · pub struct BooleanStorage<V: 'static> { /* private fields */ }Expand description
Storage for bools.
Trait Implementations
sourceimpl<V: 'static> Clone for BooleanStorage<V>where
V: Clone,
impl<V: 'static> Clone for BooleanStorage<V>where
V: Clone,
sourceimpl<V: 'static> Default for BooleanStorage<V>
impl<V: 'static> Default for BooleanStorage<V>
sourceimpl<V> Storage<bool, V> for BooleanStorage<V>
impl<V> Storage<bool, V> for BooleanStorage<V>
sourcefn insert(&mut self, key: bool, value: V) -> Option<V>
fn insert(&mut self, key: bool, value: V) -> Option<V>
This is the storage abstraction for
Map::insert.sourcefn get_mut(&mut self, key: bool) -> Option<&mut V>
fn get_mut(&mut self, key: bool) -> Option<&mut V>
This is the storage abstraction for
Map::get_mut.sourcefn remove(&mut self, key: bool) -> Option<V>
fn remove(&mut self, key: bool) -> Option<V>
This is the storage abstraction for
Map::remove.sourcefn clear(&mut self)
fn clear(&mut self)
This is the storage abstraction for
Map::clear.Auto Trait Implementations
impl<V> RefUnwindSafe for BooleanStorage<V>where
V: RefUnwindSafe,
impl<V> Send for BooleanStorage<V>where
V: Send,
impl<V> Sync for BooleanStorage<V>where
V: Sync,
impl<V> Unpin for BooleanStorage<V>where
V: Unpin,
impl<V> UnwindSafe for BooleanStorage<V>where
V: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more