Struct fixed_map::storage::BooleanStorage [−][src]
pub struct BooleanStorage<V> { /* fields omitted */ }Expand description
Storage for bools.
Trait Implementations
impl<V> Clone for BooleanStorage<V> where
V: Clone, [src]
impl<V> Clone for BooleanStorage<V> where
V: Clone, [src]impl<V> Default for BooleanStorage<V>[src]
impl<V> Default for BooleanStorage<V>[src]impl<V> PartialEq<BooleanStorage<V>> for BooleanStorage<V> where
V: PartialEq, [src]
impl<V> PartialEq<BooleanStorage<V>> for BooleanStorage<V> where
V: PartialEq, [src]impl<V> Storage<bool, V> for BooleanStorage<V>[src]
impl<V> Storage<bool, V> for BooleanStorage<V>[src]type Iter = Iter<V>
type Iter = Iter<V>Immutable iterator over storage. Uses raw pointers (unsafe) since we don’t have GATs. Read more
type IterMut = IterMut<V>
type IterMut = IterMut<V>Mutable iterator over storage. Uses raw pointers (unsafe) since we don’t have GATs. Read more
fn insert(&mut self, key: bool, value: V) -> Option<V>[src]
fn insert(&mut self, key: bool, value: V) -> Option<V>[src]This is the storage abstraction for Map::insert.
fn get_mut(&mut self, key: bool) -> Option<&mut V>[src]
fn get_mut(&mut self, key: bool) -> Option<&mut V>[src]This is the storage abstraction for Map::get_mut.
fn remove(&mut self, key: bool) -> Option<V>[src]
fn remove(&mut self, key: bool) -> Option<V>[src]This is the storage abstraction for Map::remove.
fn clear(&mut self)[src]
fn clear(&mut self)[src]This is the storage abstraction for Map::clear.
fn iter_mut(&mut self) -> Self::IterMut[src]
fn iter_mut(&mut self) -> Self::IterMut[src]This is the storage abstraction for Map::iter_mut.
impl<V> Eq for BooleanStorage<V> where
V: Eq, [src]
V: Eq,
Auto Trait Implementations
impl<V> RefUnwindSafe for BooleanStorage<V> where
V: RefUnwindSafe,
V: RefUnwindSafe,
impl<V> Send for BooleanStorage<V> where
V: Send,
V: Send,
impl<V> Sync for BooleanStorage<V> where
V: Sync,
V: Sync,
impl<V> Unpin for BooleanStorage<V> where
V: Unpin,
V: Unpin,
impl<V> UnwindSafe for BooleanStorage<V> where
V: UnwindSafe,
V: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more