Struct lnkit::prelude::ArrayStorage[][src]

#[repr(C)]
pub struct ArrayStorage<T, const R: usize, const C: usize>(pub [[T; R]; C]);

A array-based statically sized matrix data storage.

Trait Implementations

impl<T, const R: usize, const C: usize> Clone for ArrayStorage<T, R, C> where
    T: Clone
[src]

impl<T, const R: usize, const C: usize> ContiguousStorage<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]

impl<T, const R: usize, const C: usize> Copy for ArrayStorage<T, R, C> where
    T: Copy
[src]

impl<T, const R: usize, const C: usize> Debug for ArrayStorage<T, R, C> where
    T: Debug
[src]

impl<T, const R: usize, const C: usize> Default for ArrayStorage<T, R, C> where
    T: Default,
    [[T; R]; C]: Default
[src]

impl<'a, T, const R: usize, const C: usize> Deserialize<'a> for ArrayStorage<T, R, C> where
    T: Scalar + Deserialize<'a>, 
[src]

impl<T, const R: usize, const C: usize> Eq for ArrayStorage<T, R, C> where
    T: Eq
[src]

impl<T, const R: usize, const C: usize> Hash for ArrayStorage<T, R, C> where
    T: Hash
[src]

impl<T, const R: usize, const C: usize> PartialEq<ArrayStorage<T, R, C>> for ArrayStorage<T, R, C> where
    T: PartialEq<T>, 
[src]

impl<T, const R1: usize, const C1: usize, const R2: usize, const C2: usize> ReshapableStorage<T, Const<R1>, Const<C1>, Const<R2>, Const<C2>> for ArrayStorage<T, R1, C1> where
    T: Scalar,
    Const<R1>: ToTypenum,
    Const<C1>: ToTypenum,
    Const<R2>: ToTypenum,
    Const<C2>: ToTypenum,
    <Const<R1> as ToTypenum>::Typenum: Mul<<Const<C1> as ToTypenum>::Typenum>,
    <Const<R2> as ToTypenum>::Typenum: Mul<<Const<C2> as ToTypenum>::Typenum>,
    <<Const<R2> as ToTypenum>::Typenum as Mul<<Const<C2> as ToTypenum>::Typenum>>::Output == <<Const<R1> as ToTypenum>::Typenum as Mul<<Const<C1> as ToTypenum>::Typenum>>::Output
[src]

type Output = ArrayStorage<T, R2, C2>

The reshaped storage type.

impl<T, const R: usize, const C: usize> Serialize for ArrayStorage<T, R, C> where
    T: Scalar + Serialize
[src]

impl<T, const R: usize, const C: usize> Storage<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]

type RStride = Const<1_usize>

The static stride of this storage’s rows.

type CStride = Const<R>

The static stride of this storage’s columns.

impl<T, const R: usize, const C: usize> StorageMut<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> StructuralEq for ArrayStorage<T, R, C>[src]

impl<T, const R: usize, const C: usize> StructuralPartialEq for ArrayStorage<T, R, C>[src]

Auto Trait Implementations

impl<T, const R: usize, const C: usize> RefUnwindSafe for ArrayStorage<T, R, C> where
    T: RefUnwindSafe

impl<T, const R: usize, const C: usize> Send for ArrayStorage<T, R, C> where
    T: Send

impl<T, const R: usize, const C: usize> Sync for ArrayStorage<T, R, C> where
    T: Sync

impl<T, const R: usize, const C: usize> Unpin for ArrayStorage<T, R, C> where
    T: Unpin

impl<T, const R: usize, const C: usize> UnwindSafe for ArrayStorage<T, R, C> where
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> Cast<U> for T where
    U: FromCast<T>, 

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Any + Send + Sync

impl<T> From<T> for T[src]

impl<T> FromBits<T> for T

impl<T> FromCast<T> for T

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> IntoBits<U> for T where
    U: FromBits<T>, 

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Scalar for T where
    T: Copy + PartialEq<T> + Debug + Any
[src]

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,