[][src]Trait building_blocks_storage::access::Get

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

Associated Types

type Data

Loading content...

Required methods

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

Get an owned value at location.

Loading content...

Implementors

impl<'a, M, F, T, S, Coord> Get<Coord> for TransformMap<'a, M, F> where
    F: Fn(T) -> S,
    M: Get<Coord, Data = T>, 
[src]

type Data = S

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

type Data = T

impl<F, T, Coord> Get<Coord> for F where
    F: Fn(Coord) -> T, 
[src]

type Data = T

impl<N, T> Get<Stride> for ArrayN<N, T> where
    T: Clone
[src]

type Data = T

impl<N, T, '_> Get<&'_ Local<N>> for ArrayN<N, T> where
    T: Clone,
    Self: Array<N> + Get<Stride, Data = T>, 
[src]

type Data = T

impl<N, T, '_> Get<&'_ PointN<N>> for ArrayN<N, T> where
    T: Clone,
    Self: Array<N> + for<'r> Get<&'r Local<N>, Data = T>,
    PointN<N>: Point
[src]

type Data = T

Loading content...