Trait lnkit::prelude::base::storage::ContiguousStorageMut [−][src]
pub unsafe trait ContiguousStorageMut<T, R, C = Const<1_usize>>: ContiguousStorage<T, R, C> + StorageMut<T, R, C> where
C: Dim,
T: 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, T, R, C> ContiguousStorageMut<T, R, C> for SliceStorageMut<'a, T, R, C, Const<1_usize>, R> where
C: Dim + IsNotStaticOne,
T: Scalar,
R: DimName,
[src]
impl<'a, T, R, C> ContiguousStorageMut<T, R, C> for SliceStorageMut<'a, T, R, C, Const<1_usize>, R> where
C: Dim + IsNotStaticOne,
T: Scalar,
R: DimName,
[src]impl<'a, T, R, CStride> ContiguousStorageMut<T, R, Const<1_usize>> for SliceStorageMut<'a, T, R, Const<1_usize>, Const<1_usize>, CStride> where
T: Scalar,
R: Dim,
CStride: Dim,
[src]
impl<'a, T, R, CStride> ContiguousStorageMut<T, R, Const<1_usize>> for SliceStorageMut<'a, T, R, Const<1_usize>, Const<1_usize>, CStride> where
T: Scalar,
R: Dim,
CStride: Dim,
[src]impl<T, C> ContiguousStorageMut<T, Dynamic, C> for VecStorage<T, Dynamic, C> where
C: Dim,
T: Scalar,
DefaultAllocator: Allocator<T, Dynamic, C>,
<DefaultAllocator as Allocator<T, Dynamic, C>>::Buffer == VecStorage<T, Dynamic, C>,
[src]
impl<T, C> ContiguousStorageMut<T, Dynamic, C> for VecStorage<T, Dynamic, C> where
C: Dim,
T: Scalar,
DefaultAllocator: Allocator<T, Dynamic, C>,
<DefaultAllocator as Allocator<T, Dynamic, C>>::Buffer == VecStorage<T, Dynamic, C>,
[src]impl<T, R> ContiguousStorageMut<T, R, Dynamic> for VecStorage<T, R, Dynamic> where
T: Scalar,
R: DimName,
DefaultAllocator: Allocator<T, R, Dynamic>,
<DefaultAllocator as Allocator<T, R, Dynamic>>::Buffer == VecStorage<T, R, Dynamic>,
[src]
impl<T, R> ContiguousStorageMut<T, R, Dynamic> for VecStorage<T, R, Dynamic> where
T: Scalar,
R: DimName,
DefaultAllocator: Allocator<T, R, Dynamic>,
<DefaultAllocator as Allocator<T, R, Dynamic>>::Buffer == VecStorage<T, R, Dynamic>,
[src]impl<T, const R: usize, const C: usize> ContiguousStorageMut<T, Const<R>, Const<C>> for ArrayStorage<T, R, C> where
T: Scalar,
DefaultAllocator: Allocator<T, Const<R>, Const<C>>,
<DefaultAllocator as Allocator<T, Const<R>, Const<C>>>::Buffer == ArrayStorage<T, R, C>,
[src]
impl<T, const R: usize, const C: usize> ContiguousStorageMut<T, Const<R>, Const<C>> for ArrayStorage<T, R, C> where
T: Scalar,
DefaultAllocator: Allocator<T, Const<R>, Const<C>>,
<DefaultAllocator as Allocator<T, Const<R>, Const<C>>>::Buffer == ArrayStorage<T, R, C>,
[src]