Trait rin::math::base::storage::ContiguousStorage [−][src]
pub unsafe trait ContiguousStorage<N, R, C = U1>: Storage<N, R, C> where
C: Dim,
N: Scalar,
R: Dim, { }
A matrix storage that is stored contiguously in memory.
The storage requirement means that for any value of i
in [0, nrows * ncols - 1]
, the value
.get_unchecked_linear
returns one of the matrix component. This trait is unsafe because
failing to comply to this may cause Undefined Behaviors.
Implementors
impl<'a, N, R, C> ContiguousStorage<N, R, C> for SliceStorage<'a, N, R, C, U1, R> where
C: Dim + IsNotStaticOne,
N: Scalar,
R: DimName,
[src]
C: Dim + IsNotStaticOne,
N: Scalar,
R: DimName,
impl<'a, N, R, C> ContiguousStorage<N, R, C> for SliceStorageMut<'a, N, R, C, U1, R> where
C: Dim + IsNotStaticOne,
N: Scalar,
R: DimName,
[src]
C: Dim + IsNotStaticOne,
N: Scalar,
R: DimName,
impl<'a, N, R, CStride> ContiguousStorage<N, R, U1> for SliceStorage<'a, N, R, U1, U1, CStride> where
N: Scalar,
R: Dim,
CStride: Dim,
[src]
N: Scalar,
R: Dim,
CStride: Dim,
impl<'a, N, R, CStride> ContiguousStorage<N, R, U1> for SliceStorageMut<'a, N, R, U1, U1, CStride> where
N: Scalar,
R: Dim,
CStride: Dim,
[src]
N: Scalar,
R: Dim,
CStride: Dim,
impl<N, C> ContiguousStorage<N, Dynamic, C> for VecStorage<N, Dynamic, C> where
C: Dim,
N: Scalar,
DefaultAllocator: Allocator<N, Dynamic, C>,
<DefaultAllocator as Allocator<N, Dynamic, C>>::Buffer == VecStorage<N, Dynamic, C>,
[src]
C: Dim,
N: Scalar,
DefaultAllocator: Allocator<N, Dynamic, C>,
<DefaultAllocator as Allocator<N, Dynamic, C>>::Buffer == VecStorage<N, Dynamic, C>,
impl<N, R> ContiguousStorage<N, R, Dynamic> for VecStorage<N, R, Dynamic> where
N: Scalar,
R: DimName,
DefaultAllocator: Allocator<N, R, Dynamic>,
<DefaultAllocator as Allocator<N, R, Dynamic>>::Buffer == VecStorage<N, R, Dynamic>,
[src]
N: Scalar,
R: DimName,
DefaultAllocator: Allocator<N, R, Dynamic>,
<DefaultAllocator as Allocator<N, R, Dynamic>>::Buffer == VecStorage<N, R, Dynamic>,
impl<N, R, C> ContiguousStorage<N, R, C> for ArrayStorage<N, R, C> where
C: DimName,
N: Scalar,
R: DimName,
<R as DimName>::Value: Mul<<C as DimName>::Value>,
<<R as DimName>::Value as Mul<<C as DimName>::Value>>::Output: ArrayLength<N>,
DefaultAllocator: Allocator<N, R, C>,
<DefaultAllocator as Allocator<N, R, C>>::Buffer == ArrayStorage<N, R, C>,
[src]
C: DimName,
N: Scalar,
R: DimName,
<R as DimName>::Value: Mul<<C as DimName>::Value>,
<<R as DimName>::Value as Mul<<C as DimName>::Value>>::Output: ArrayLength<N>,
DefaultAllocator: Allocator<N, R, C>,
<DefaultAllocator as Allocator<N, R, C>>::Buffer == ArrayStorage<N, R, C>,