pub enum MatrixStorage {
RowMajor,
ColumnMajor,
}Expand description
Storage order of matrices given as flat arrays (igraph_matrix_storage_t).
Variants§
Trait Implementations§
Source§impl Clone for MatrixStorage
impl Clone for MatrixStorage
Source§fn clone(&self) -> MatrixStorage
fn clone(&self) -> MatrixStorage
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 moreimpl Copy for MatrixStorage
Source§impl Debug for MatrixStorage
impl Debug for MatrixStorage
impl Eq for MatrixStorage
Source§impl From<MatrixStorage> for igraph_matrix_storage_t
impl From<MatrixStorage> for igraph_matrix_storage_t
Source§fn from(value: MatrixStorage) -> igraph_matrix_storage_t
fn from(value: MatrixStorage) -> igraph_matrix_storage_t
Converts to this type from the input type.
Source§impl Hash for MatrixStorage
impl Hash for MatrixStorage
Source§impl PartialEq for MatrixStorage
impl PartialEq for MatrixStorage
Source§fn eq(&self, other: &MatrixStorage) -> bool
fn eq(&self, other: &MatrixStorage) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MatrixStorage
Auto Trait Implementations§
impl Freeze for MatrixStorage
impl RefUnwindSafe for MatrixStorage
impl Send for MatrixStorage
impl Sync for MatrixStorage
impl Unpin for MatrixStorage
impl UnsafeUnpin for MatrixStorage
impl UnwindSafe for MatrixStorage
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