pub struct V1LayoutRowMajor { /* private fields */ }
Expand description
Row major layout.
Trait Implementations§
Source§impl Clone for V1LayoutRowMajor
impl Clone for V1LayoutRowMajor
Source§fn clone(&self) -> V1LayoutRowMajor
fn clone(&self) -> V1LayoutRowMajor
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl V1MatrixLayout for V1LayoutRowMajor
impl V1MatrixLayout for V1LayoutRowMajor
Source§fn num_children(&self) -> usize
fn num_children(&self) -> usize
Number of primary children: Read more
Source§fn num_children_secondary(&self) -> usize
fn num_children_secondary(&self) -> usize
Number of children of the transpose of the matrix: Read more
Source§fn v1_idx(&self, i: usize, j: usize) -> usize
fn v1_idx(&self, i: usize, j: usize) -> usize
Transformation of the row and column indices (
i
, j
) into a one dimensional
index for the underlying data.Auto Trait Implementations§
impl Freeze for V1LayoutRowMajor
impl RefUnwindSafe for V1LayoutRowMajor
impl Send for V1LayoutRowMajor
impl Sync for V1LayoutRowMajor
impl Unpin for V1LayoutRowMajor
impl UnwindSafe for V1LayoutRowMajor
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