pub fn new<P: AsRef<Path>>(path: P) -> Self {
        Self {
            mat_name: path.as_ref().to_path_buf(),
            access_mode: AccessMode::ReadOnly,
        }
    }
/// Creates a new mat file loader object from the `path`
Creates a new mat file loader object from the `path`
Creates a new mat file loader object from the ` path `
pub fn new<P: AsRef<Path>>(path: P) -> Self {
        Self {
            mat_name: path.as_ref().to_path_buf(),
            access_mode: AccessMode::ReadOnly,
        }
    }
pub fn new < P : AsRef < Path > > ( path : P ) -> Self { Self { mat_name : path . as_ref ( ) . to_path_buf ( ) , access_mode : AccessMode :: ReadOnly , } }
Creates a new mat file loader object from the `path`
Creates a new mat file loader object from the ` path `
path
P
path
P