pub fn name(&self) -> std::result::Result<String, std::str::Utf8Error> {
        let c_str = unsafe {
            let ptr = (*self.matvar_t).name;
            CStr::from_ptr(ptr as *const i8)
        };
        c_str.to_str().map(|s| s.into())
    }
/// Get the name of the structure
Get the name of the structure
Get the name of the structure
pub fn name(&self) -> std::result::Result<String, std::str::Utf8Error> {
        let c_str = unsafe {
            let ptr = (*self.matvar_t).name;
            CStr::from_ptr(ptr as *const i8)
        };
        c_str.to_str().map(|s| s.into())
    }
pub fn name ( & self ) -> std :: result :: Result < String , std :: str :: Utf8Error > { let c_str = unsafe { let ptr = ( * self . matvar_t ) . name ; CStr :: from_ptr ( ptr as * const i8 ) } ; c_str . to_str ( ) . map ( | s | s . into ( ) ) }
Get the name of the structure
Get the name of the structure
&self
&self