Struct pango_sys::PangoFontClass
source · #[repr(C)]pub struct PangoFontClass {
pub parent_class: GObjectClass,
pub describe: Option<unsafe extern "C" fn(_: *mut PangoFont) -> *mut PangoFontDescription>,
pub get_coverage: Option<unsafe extern "C" fn(_: *mut PangoFont, _: *mut PangoLanguage) -> *mut PangoCoverage>,
pub get_glyph_extents: Option<unsafe extern "C" fn(_: *mut PangoFont, _: PangoGlyph, _: *mut PangoRectangle, _: *mut PangoRectangle)>,
pub get_metrics: Option<unsafe extern "C" fn(_: *mut PangoFont, _: *mut PangoLanguage) -> *mut PangoFontMetrics>,
pub get_font_map: Option<unsafe extern "C" fn(_: *mut PangoFont) -> *mut PangoFontMap>,
pub describe_absolute: Option<unsafe extern "C" fn(_: *mut PangoFont) -> *mut PangoFontDescription>,
pub get_features: Option<unsafe extern "C" fn(_: *mut PangoFont, _: gconstpointer, _: c_uint, _: *mut c_uint)>,
pub create_hb_font: Option<unsafe extern "C" fn(_: *mut PangoFont) -> gconstpointer>,
}
Fields§
§parent_class: GObjectClass
§describe: Option<unsafe extern "C" fn(_: *mut PangoFont) -> *mut PangoFontDescription>
§get_coverage: Option<unsafe extern "C" fn(_: *mut PangoFont, _: *mut PangoLanguage) -> *mut PangoCoverage>
§get_glyph_extents: Option<unsafe extern "C" fn(_: *mut PangoFont, _: PangoGlyph, _: *mut PangoRectangle, _: *mut PangoRectangle)>
§get_metrics: Option<unsafe extern "C" fn(_: *mut PangoFont, _: *mut PangoLanguage) -> *mut PangoFontMetrics>
§get_font_map: Option<unsafe extern "C" fn(_: *mut PangoFont) -> *mut PangoFontMap>
§describe_absolute: Option<unsafe extern "C" fn(_: *mut PangoFont) -> *mut PangoFontDescription>
§get_features: Option<unsafe extern "C" fn(_: *mut PangoFont, _: gconstpointer, _: c_uint, _: *mut c_uint)>
§create_hb_font: Option<unsafe extern "C" fn(_: *mut PangoFont) -> gconstpointer>
Trait Implementations§
source§impl Clone for PangoFontClass
impl Clone for PangoFontClass
source§fn clone(&self) -> PangoFontClass
fn clone(&self) -> PangoFontClass
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 PangoFontClass
impl Debug for PangoFontClass
impl Copy for PangoFontClass
Auto Trait Implementations§
impl Freeze for PangoFontClass
impl RefUnwindSafe for PangoFontClass
impl !Send for PangoFontClass
impl !Sync for PangoFontClass
impl Unpin for PangoFontClass
impl UnwindSafe for PangoFontClass
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
)