Trait StorageMut

Source
pub trait StorageMut: Storage {
    // Required method
    fn storage_mut(&mut self) -> &mut Self::Storage;
}
Expand description

Get a mutable reference to the underlying storage type.

Required Methods§

Source

fn storage_mut(&mut self) -> &mut Self::Storage

Implementations on Foreign Types§

Source§

impl<'a, T> StorageMut for [T]

Source§

fn storage_mut(&mut self) -> &mut Self::Storage

A slice is a type of storage, simply return a mutable reference to self.

Source§

impl<S: StorageMut + ?Sized> StorageMut for &mut S

Source§

fn storage_mut(&mut self) -> &mut Self::Storage

Source§

impl<S: StorageMut<Storage = S>, T: StorageMut<Storage = T>> StorageMut for (S, T)

Source§

fn storage_mut(&mut self) -> &mut Self::Storage

Source§

impl<T> StorageMut for Vec<T>

Source§

fn storage_mut(&mut self) -> &mut Self::Storage

Vec is a type of storage, simply return a mutable reference to self.

Source§

impl<T> StorageMut for Range<T>

Source§

fn storage_mut(&mut self) -> &mut Self::Storage

A range is a type of storage, simply return a mutable reference to self.

Implementors§

Source§

impl<S: StorageMut, I> StorageMut for Select<S, I>

Source§

impl<S: StorageMut, I> StorageMut for Subset<S, I>

Source§

impl<S: StorageMut, N> StorageMut for UniChunked<S, N>

Source§

impl<S: StorageMut, O> StorageMut for Chunked<S, O>

Source§

impl<S: StorageMut, T, I> StorageMut for Sparse<S, T, I>