pub enum MatrixLayout {
RowMajor,
ColumnMajor,
}Expand description
Memory interpretation for a matrix or matrix view.
Variants§
RowMajor
Contiguous rows, where adjacent values advance across columns.
ColumnMajor
Contiguous columns, used by transpose views without copying.
Trait Implementations§
Source§impl Clone for MatrixLayout
impl Clone for MatrixLayout
Source§fn clone(&self) -> MatrixLayout
fn clone(&self) -> MatrixLayout
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MatrixLayout
impl Debug for MatrixLayout
Source§impl PartialEq for MatrixLayout
impl PartialEq for MatrixLayout
Source§fn eq(&self, other: &MatrixLayout) -> bool
fn eq(&self, other: &MatrixLayout) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for MatrixLayout
impl Eq for MatrixLayout
impl StructuralPartialEq for MatrixLayout
Auto Trait Implementations§
impl Freeze for MatrixLayout
impl RefUnwindSafe for MatrixLayout
impl Send for MatrixLayout
impl Sync for MatrixLayout
impl Unpin for MatrixLayout
impl UnsafeUnpin for MatrixLayout
impl UnwindSafe for MatrixLayout
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more