[][src]Trait building_blocks::prelude::GetMut

pub trait GetMut<L> {
    type Data;
    fn get_mut(&mut self, location: L) -> &mut Self::Data;
}

Associated Types

type Data

Loading content...

Required methods

fn get_mut(&mut self, location: L) -> &mut Self::Data

Get a mutable reference to the value at location.

Loading content...

Implementations on Foreign Types

impl<'_, N, T, M> GetMut<&'_ PointN<N>> for ChunkMap<N, T, M> where
    M: Clone,
    T: Copy,
    PointN<N>: IntegerPoint,
    PointN<N>: ChunkShape<N>,
    PointN<N>: Eq,
    PointN<N>: Hash,
    ExtentN<N>: IntegerExtent<N>,
    ArrayN<N, T>: Array<N>, 
[src]

type Data = T

Loading content...

Implementors

impl<'_, N, T> GetMut<&'_ Local<N>> for ArrayN<N, T> where
    ArrayN<N, T>: Array<N>,
    ArrayN<N, T>: GetMut<Stride>,
    <ArrayN<N, T> as GetMut<Stride>>::Data == T, 
[src]

type Data = T

impl<'_, N, T> GetMut<&'_ PointN<N>> for ArrayN<N, T> where
    ArrayN<N, T>: Array<N>,
    ArrayN<N, T>: for<'r> GetMut<&'r Local<N>>,
    PointN<N>: Point,
    <ArrayN<N, T> as GetMut<&'r Local<N>>>::Data == T, 
[src]

type Data = T

impl<N, T> GetMut<Stride> for ArrayN<N, T>[src]

type Data = T

Loading content...