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§
source§impl Clone for PangoFontMapClass
impl Clone for PangoFontMapClass
source§fn clone(&self) -> PangoFontMapClass
fn clone(&self) -> PangoFontMapClass
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PangoFontMapClass
impl Debug for PangoFontMapClass
impl Copy for PangoFontMapClass
Auto Trait Implementations§
impl Freeze for PangoFontMapClass
impl RefUnwindSafe for PangoFontMapClass
impl !Send for PangoFontMapClass
impl !Sync for PangoFontMapClass
impl Unpin for PangoFontMapClass
impl UnwindSafe for PangoFontMapClass
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)