Struct pango_sys::PangoFontMapClass
source · #[repr(C)]pub struct PangoFontMapClass {
pub parent_class: GObjectClass,
pub load_font: Option<unsafe extern "C" fn(_: *mut PangoFontMap, _: *mut PangoContext, _: *const PangoFontDescription) -> *mut PangoFont>,
pub list_families: Option<unsafe extern "C" fn(_: *mut PangoFontMap, _: *mut *mut *mut PangoFontFamily, _: *mut c_int)>,
pub load_fontset: Option<unsafe extern "C" fn(_: *mut PangoFontMap, _: *mut PangoContext, _: *const PangoFontDescription, _: *mut PangoLanguage) -> *mut PangoFontset>,
pub shape_engine_type: *const c_char,
pub get_serial: Option<unsafe extern "C" fn(_: *mut PangoFontMap) -> c_uint>,
pub changed: Option<unsafe extern "C" fn(_: *mut PangoFontMap)>,
pub get_family: Option<unsafe extern "C" fn(_: *mut PangoFontMap, _: *const c_char) -> *mut PangoFontFamily>,
pub get_face: Option<unsafe extern "C" fn(_: *mut PangoFontMap, _: *mut PangoFont) -> *mut PangoFontFace>,
}
Fields
parent_class: GObjectClass
load_font: Option<unsafe extern "C" fn(_: *mut PangoFontMap, _: *mut PangoContext, _: *const PangoFontDescription) -> *mut PangoFont>
list_families: Option<unsafe extern "C" fn(_: *mut PangoFontMap, _: *mut *mut *mut PangoFontFamily, _: *mut c_int)>
load_fontset: Option<unsafe extern "C" fn(_: *mut PangoFontMap, _: *mut PangoContext, _: *const PangoFontDescription, _: *mut PangoLanguage) -> *mut PangoFontset>
shape_engine_type: *const c_char
get_serial: Option<unsafe extern "C" fn(_: *mut PangoFontMap) -> c_uint>
changed: Option<unsafe extern "C" fn(_: *mut PangoFontMap)>
get_family: Option<unsafe extern "C" fn(_: *mut PangoFontMap, _: *const c_char) -> *mut PangoFontFamily>
get_face: Option<unsafe extern "C" fn(_: *mut PangoFontMap, _: *mut PangoFont) -> *mut PangoFontFace>
Trait Implementations
sourceimpl Clone for PangoFontMapClass
impl Clone for PangoFontMapClass
sourcefn clone(&self) -> PangoFontMapClass
fn clone(&self) -> PangoFontMapClass
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PangoFontMapClass
impl Debug for PangoFontMapClass
impl Copy for PangoFontMapClass
Auto Trait Implementations
impl RefUnwindSafe for PangoFontMapClass
impl !Send for PangoFontMapClass
impl !Sync for PangoFontMapClass
impl Unpin for PangoFontMapClass
impl UnwindSafe for PangoFontMapClass
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more