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
sourceimpl Clone for PangoFontClass
impl Clone for PangoFontClass
sourcefn clone(&self) -> PangoFontClass
fn clone(&self) -> PangoFontClass
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 more
sourceimpl Debug for PangoFontClass
impl Debug for PangoFontClass
impl Copy for PangoFontClass
Auto Trait Implementations
impl RefUnwindSafe for PangoFontClass
impl !Send for PangoFontClass
impl !Sync for PangoFontClass
impl Unpin for PangoFontClass
impl UnwindSafe for PangoFontClass
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more