pub fn name(&self) -> Option<String> {
        // First check if the name is null
        if unsafe { (*self.0).name }.is_null() {
            return None;
        }
        let name = unsafe { CStr::from_ptr((*self.0).name) }.to_string_lossy();
        Some(name.to_string().clone())
    }
/// Get the name of the attribute if available
Get the name of the attribute if available
Get the name of the attribute if available
pub fn name(&self) -> Option<String> {
        // First check if the name is null
        if unsafe { (*self.0).name }.is_null() {
            return None;
        }
        let name = unsafe { CStr::from_ptr((*self.0).name) }.to_string_lossy();
        Some(name.to_string().clone())
    }
pub fn name ( & self ) -> Option < String > { // First check if the name is null if unsafe { ( * self . 0 ) . name } . is_null ( ) { return None ; } let name = unsafe { CStr :: from_ptr ( ( * self . 0 ) . name ) } . to_string_lossy ( ) ; Some ( name . to_string ( ) . clone ( ) ) }
Get the name of the attribute if available
Get the name of the attribute if available
&self