[][src]Struct rin::math::core::MatrixArray

#[repr(C)]
pub struct MatrixArray<N, R, C> where
    C: DimName,
    R: DimName,
    <R as DimName>::Value: Mul<<C as DimName>::Value>,
    <<R as DimName>::Value as Mul<<C as DimName>::Value>>::Output: ArrayLength<N>, 
{ /* fields omitted */ }

A array-based statically sized matrix data storage.

Methods from Deref<Target = GenericArray<N, <<R as DimName>::Value as Mul<<C as DimName>::Value>>::Output>>

Important traits for &'a mut [u8]

Extracts a slice containing the entire array.

Important traits for &'a mut [u8]

Extracts a mutable slice containing the entire array.

Trait Implementations

impl<N, R, C> PartialEq<MatrixArray<N, R, C>> for MatrixArray<N, R, C> where
    C: DimName,
    N: PartialEq<N>,
    R: DimName,
    <R as DimName>::Value: Mul<<C as DimName>::Value>,
    <<R as DimName>::Value as Mul<<C as DimName>::Value>>::Output: ArrayLength<N>, 
[src]

This method tests for !=.

impl<N, R, C> Hash for MatrixArray<N, R, C> where
    C: DimName,
    N: Hash,
    R: DimName,
    <R as DimName>::Value: Mul<<C as DimName>::Value>,
    <<R as DimName>::Value as Mul<<C as DimName>::Value>>::Output: ArrayLength<N>, 
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl<N, R, C> Eq for MatrixArray<N, R, C> where
    C: DimName,
    N: Eq,
    R: DimName,
    <R as DimName>::Value: Mul<<C as DimName>::Value>,
    <<R as DimName>::Value as Mul<<C as DimName>::Value>>::Output: ArrayLength<N>, 
[src]

impl<N, R, C> ContiguousStorage<N, R, C> for MatrixArray<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 == MatrixArray<N, R, C>, 
[src]

impl<N, R, C> StorageMut<N, R, C> for MatrixArray<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 == MatrixArray<N, R, C>, 
[src]

Gets the mutable address of the i-th matrix component without performing bound-checking.

Gets the mutable address of the i-th matrix component without performing bound-checking.

Retrieves a mutable reference to the i-th element without bound-checking.

Retrieves a mutable reference to the element at (irow, icol) without bound-checking.

Swaps two elements using their linear index without bound-checking.

Swaps two elements without bound-checking.

impl<N, R, C> Storage<N, R, C> for MatrixArray<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 == MatrixArray<N, R, C>, 
[src]

The static stride of this storage's rows.

The static stride of this storage's columns.

Compute the index corresponding to the irow-th row and icol-th column of this matrix. The index must be such that the following holds: Read more

Gets the address of the i-th matrix component without performing bound-checking.

Gets the address of the i-th matrix component without performing bound-checking.

Retrieves a reference to the i-th element without bound-checking.

Retrieves a reference to the i-th element without bound-checking.

impl<N, R, C> Copy for MatrixArray<N, R, C> where
    C: DimName,
    N: Copy,
    R: DimName,
    <R as DimName>::Value: Mul<<C as DimName>::Value>,
    <<R as DimName>::Value as Mul<<C as DimName>::Value>>::Output: ArrayLength<N>,
    GenericArray<N, <<R as DimName>::Value as Mul<<C as DimName>::Value>>::Output>: Copy
[src]

impl<N, R, C> Deref for MatrixArray<N, R, C> where
    C: DimName,
    R: DimName,
    <R as DimName>::Value: Mul<<C as DimName>::Value>,
    <<R as DimName>::Value as Mul<<C as DimName>::Value>>::Output: ArrayLength<N>, 
[src]

The resulting type after dereferencing.

impl<N, R, C> Clone for MatrixArray<N, R, C> where
    C: DimName,
    N: Clone,
    R: DimName,
    <R as DimName>::Value: Mul<<C as DimName>::Value>,
    <<R as DimName>::Value as Mul<<C as DimName>::Value>>::Output: ArrayLength<N>, 
[src]

Performs copy-assignment from source. Read more

impl<N, R, C> ContiguousStorageMut<N, R, C> for MatrixArray<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 == MatrixArray<N, R, C>, 
[src]

impl<N, R, C> DerefMut for MatrixArray<N, R, C> where
    C: DimName,
    R: DimName,
    <R as DimName>::Value: Mul<<C as DimName>::Value>,
    <<R as DimName>::Value as Mul<<C as DimName>::Value>>::Output: ArrayLength<N>, 
[src]

impl<N, R, C> Debug for MatrixArray<N, R, C> where
    C: DimName,
    N: Debug,
    R: DimName,
    <R as DimName>::Value: Mul<<C as DimName>::Value>,
    <<R as DimName>::Value as Mul<<C as DimName>::Value>>::Output: ArrayLength<N>, 
[src]

impl<N, R, C> Serialize for MatrixArray<N, R, C> where
    C: DimName,
    N: Scalar + Serialize,
    R: DimName,
    <R as DimName>::Value: Mul<<C as DimName>::Value>,
    <<R as DimName>::Value as Mul<<C as DimName>::Value>>::Output: ArrayLength<N>, 
[src]

impl<'a, N, R, C> Deserialize<'a> for MatrixArray<N, R, C> where
    C: DimName,
    N: Scalar + Deserialize<'a>,
    R: DimName,
    <R as DimName>::Value: Mul<<C as DimName>::Value>,
    <<R as DimName>::Value as Mul<<C as DimName>::Value>>::Output: ArrayLength<N>, 
[src]

Auto Trait Implementations

impl<N, R, C> Send for MatrixArray<N, R, C> where
    N: Send

impl<N, R, C> Sync for MatrixArray<N, R, C> where
    N: Sync

Blanket Implementations

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

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

impl<T> From for T
[src]

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

impl<T> Any for T where
    T: Any
[src]

impl<T> SetParameter for T
[src]

Sets value as a parameter of self.

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

impl<V> IntoVec for V
[src]

impl<T> IntoPnt for T where
    T: Scalar
[src]

impl<T> IntoPnt for T where
    T: Scalar
[src]

impl<T> IntoPnt for T where
    T: Scalar
[src]

impl<V> IntoPnt for V
[src]

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

Tests if Self the same as the type T Read more

impl<SS, SP> SupersetOf for SP where
    SS: SubsetOf<SP>, 
[src]

impl<T> Same for T
[src]

Should always be Self