[][src]Trait building_blocks_storage::access::GetUnchecked

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

Associated Types

type Data

Loading content...

Required methods

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

Get the value at location without doing bounds checking.

Safety

Don't access out of bounds.

Loading content...

Implementors

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

type Data = S

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

type Data = T

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

type Data = T

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

type Data = T

Loading content...