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

pub struct SliceStorage<'a, N, R, C, RStride, CStride> where
    C: Dim,
    CStride: Dim,
    N: Scalar + 'a,
    R: Dim,
    RStride: Dim
{ /* fields omitted */ }

A matrix data storage for a matrix slice. Only contains an internal reference to another matrix data storage.

Methods

impl<'a, N, R, C, RStride, CStride> SliceStorage<'a, N, R, C, RStride, CStride> where
    C: Dim,
    CStride: Dim,
    N: Scalar,
    R: Dim,
    RStride: Dim
[src]

Create a new matrix slice without bound checking and from a raw pointer.

impl<'a, N, R, C> SliceStorage<'a, N, R, C, Dynamic, Dynamic> where
    C: Dim,
    N: Scalar,
    R: Dim
[src]

Create a new matrix slice without bound checking.

Create a new matrix slice without bound checking.

Trait Implementations

impl<'a, N, R, C, RStride, CStride> Send for SliceStorage<'a, N, R, C, RStride, CStride> where
    C: Dim,
    CStride: Dim,
    N: Scalar + Send,
    R: Dim,
    RStride: Dim
[src]

impl<'a, N, R, C, RStride, CStride> Storage<N, R, C> for SliceStorage<'a, N, R, C, RStride, CStride> where
    C: Dim,
    CStride: Dim,
    N: Scalar,
    R: Dim,
    RStride: Dim
[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<'a, N, R, C, RStride, CStride> Copy for SliceStorage<'a, N, R, C, RStride, CStride> where
    C: Dim,
    CStride: Dim,
    N: Scalar,
    R: Dim,
    RStride: Dim
[src]

impl<'a, N, R, C, RStride, CStride> Sync for SliceStorage<'a, N, R, C, RStride, CStride> where
    C: Dim,
    CStride: Dim,
    N: Scalar + Sync,
    R: Dim,
    RStride: Dim
[src]

impl<'a, N, R, C, RStride, CStride> Clone for SliceStorage<'a, N, R, C, RStride, CStride> where
    C: Dim,
    CStride: Dim,
    N: Scalar,
    R: Dim,
    RStride: Dim
[src]

Performs copy-assignment from source. Read more

impl<'a, N, R, C, RStride, CStride> Debug for SliceStorage<'a, N, R, C, RStride, CStride> where
    C: Dim + Debug,
    CStride: Dim + Debug,
    N: Scalar + Debug,
    R: Dim + Debug,
    RStride: Dim + Debug
[src]

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<V> IntoVec for V
[src]

impl<V> IntoPnt for V
[src]

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

impl<T> Same for T
[src]

Should always be Self