Struct nalgebra::base::SliceStorage[][src]

pub struct SliceStorage<'a, N: Scalar, R: Dim, C: Dim, RStride: Dim, CStride: 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: Scalar, R: Dim, C: Dim, RStride: Dim, CStride: Dim> SliceStorage<'a, N, R, C, RStride, CStride>
[src]

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

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

Create a new matrix slice without bound checking.

Create a new matrix slice without bound checking.

Trait Implementations

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

Formats the value using the given formatter. Read more

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

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

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

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

The static stride of this storage's rows.

The static stride of this storage's columns.

The matrix data pointer.

The dimension of the matrix at run-time. Arr length of zero indicates the additive identity element of any dimension. Must be equal to Self::dimension() if it is not None. Read more

The spacing between consecutive row elements and consecutive column elements. Read more

Indicates whether this data buffer stores its elements contiguously.

Builds a matrix data storage that does not contain any reference.

Clones this data storage to one that does not contain any reference.

Important traits for &'a [u8]

Retrieves the data buffer as a contiguous slice. Read more

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.

Important traits for &'a mut R

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

Important traits for &'a mut R

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