#[non_exhaustive]pub enum MatVersion {
V4,
V5,
V73,
}Expand description
The version of a MAT-file, as told by its first bytes.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
V4
Level 4: no file header.
V5
Level 5 (also the 7.x files that are not HDF5).
V73
Version 7.3: an HDF5 file, not supported.
Trait Implementations§
Source§impl Clone for MatVersion
impl Clone for MatVersion
impl Copy for MatVersion
Source§impl Debug for MatVersion
impl Debug for MatVersion
impl Eq for MatVersion
Source§impl PartialEq for MatVersion
impl PartialEq for MatVersion
impl StructuralPartialEq for MatVersion
Auto Trait Implementations§
impl Freeze for MatVersion
impl RefUnwindSafe for MatVersion
impl Send for MatVersion
impl Sync for MatVersion
impl Unpin for MatVersion
impl UnsafeUnpin for MatVersion
impl UnwindSafe for MatVersion
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