Trait mat::traits::UnsafeGet
[−]
[src]
pub trait UnsafeGet: Copy { type Elem: Copy; unsafe fn unsafe_get(self, r: usize, c: usize) -> Self::Elem; }
Unsafe indexing
Associated Types
Required Methods
unsafe fn unsafe_get(self, r: usize, c: usize) -> Self::Elem
Returns the element at row r
and column c
with performing bounds checks
Implementors
impl<'a, T, NROWS, NCOLS> UnsafeGet for &'a Mat<T, NROWS, NCOLS> where
NROWS: Mul<NCOLS> + Unsigned,
NCOLS: Unsigned,
Prod<NROWS, NCOLS>: ArrayLength<T>,
T: Copy, type Elem = T;impl<M> UnsafeGet for Transpose<M> where
M: Matrix, type Elem = M::Elem;impl<T, L, R> UnsafeGet for Product<L, R> where
L: Matrix<Elem = T>,
R: Matrix<Elem = T>,
T: Add<T, Output = T> + Mul<T, Output = T> + Copy + Zero, type Elem = T;impl<T, L, R> UnsafeGet for Sum<L, R> where
L: Matrix<Elem = T>,
R: Matrix<Elem = T>,
T: Add<T, Output = T> + Copy, type Elem = T;