Trait rin::math::base::storage::ContiguousStorageMut[][src]

pub unsafe trait ContiguousStorageMut<N, R, C = U1>: ContiguousStorage<N, R, C> + StorageMut<N, R, C> where
    C: Dim,
    N: Scalar,
    R: Dim
{ }

A mutable 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> ContiguousStorageMut<N, R, C> for SliceStorageMut<'a, N, R, C, U1, R> where
    C: Dim + IsNotStaticOne,
    N: Scalar,
    R: DimName
[src]

impl<'a, N, R, CStride> ContiguousStorageMut<N, R, U1> for SliceStorageMut<'a, N, R, U1, U1, CStride> where
    N: Scalar,
    R: Dim,
    CStride: Dim
[src]

impl<N, C> ContiguousStorageMut<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]

impl<N, R> ContiguousStorageMut<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]

impl<N, R, C> ContiguousStorageMut<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]

Loading content...