#[non_exhaustive]pub struct MmInfo {
pub nrows: usize,
pub ncols: usize,
pub entries: usize,
pub format: MmFormat,
pub field: MmField,
pub symmetry: MmSymmetry,
}Expand description
The header information of a Matrix Market file (SciPy’s mminfo).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.nrows: usize§ncols: usize§entries: usizeStored entries (for symmetric files, before expansion).
format: MmFormat§field: MmField§symmetry: MmSymmetryTrait Implementations§
impl Copy for MmInfo
impl Eq for MmInfo
impl StructuralPartialEq for MmInfo
Auto Trait Implementations§
impl Freeze for MmInfo
impl RefUnwindSafe for MmInfo
impl Send for MmInfo
impl Sync for MmInfo
impl Unpin for MmInfo
impl UnsafeUnpin for MmInfo
impl UnwindSafe for MmInfo
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