pub fn face_style_name(&self) -> Option<String> {
        unsafe {
            let cname = ttf::TTF_FontFaceStyleName(self.raw);
            if cname.is_null() {
                None
            } else {
                Some(String::from_utf8_lossy(CStr::from_ptr(cname).to_bytes()).to_string())
            }
        }
    }
/// Returns the name of the current font face.
Returns the name of the current font face.
Returns the name of the current font face .
pub fn face_style_name(&self) -> Option<String> {
        unsafe {
            let cname = ttf::TTF_FontFaceStyleName(self.raw);
            if cname.is_null() {
                None
            } else {
                Some(String::from_utf8_lossy(CStr::from_ptr(cname).to_bytes()).to_string())
            }
        }
    }
pub fn face_style_name ( & self ) -> Option < String > { unsafe { let cname = ttf :: TTF_FontFaceStyleName ( self . raw ) ; if cname . is_null ( ) { None } else { Some ( String :: from_utf8_lossy ( CStr :: from_ptr ( cname ) . to_bytes ( ) ) . to_string ( ) ) } } }
Returns the name of the current font face.
Returns the name of the current font face .
&self
&self