pub struct MatFile { /* private fields */ }
Implementations§
Source§impl MatFile
impl MatFile
pub fn add_array(&mut self, array: Array) -> &mut MatFile
pub fn find_by_name<'a>(&'a self, name: &str) -> Option<&'a Array>
pub fn new_mat_file() -> MatFile
pub fn new_matrix( name: &str, rows: usize, cols: usize, complex: bool, mat_type: MatlabType, ) -> Result<Array, MatError>
pub fn parse<R: Read>(read: R) -> Result<Self, MatError>
pub fn save_matfile<T: AsRef<str>>(&self, path: T) -> Result<(), MatError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MatFile
impl RefUnwindSafe for MatFile
impl Send for MatFile
impl Sync for MatFile
impl Unpin for MatFile
impl UnwindSafe for MatFile
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