Struct pango_sys::PangoFontMetrics
source · #[repr(C)]pub struct PangoFontMetrics {
pub ref_count: c_uint,
pub ascent: c_int,
pub descent: c_int,
pub height: c_int,
pub approximate_char_width: c_int,
pub approximate_digit_width: c_int,
pub underline_position: c_int,
pub underline_thickness: c_int,
pub strikethrough_position: c_int,
pub strikethrough_thickness: c_int,
}
Fields§
§ref_count: c_uint
§ascent: c_int
§descent: c_int
§height: c_int
§approximate_char_width: c_int
§approximate_digit_width: c_int
§underline_position: c_int
§underline_thickness: c_int
§strikethrough_position: c_int
§strikethrough_thickness: c_int
Trait Implementations§
source§impl Clone for PangoFontMetrics
impl Clone for PangoFontMetrics
source§fn clone(&self) -> PangoFontMetrics
fn clone(&self) -> PangoFontMetrics
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 PangoFontMetrics
impl Debug for PangoFontMetrics
impl Copy for PangoFontMetrics
Auto Trait Implementations§
impl RefUnwindSafe for PangoFontMetrics
impl Send for PangoFontMetrics
impl Sync for PangoFontMetrics
impl Unpin for PangoFontMetrics
impl UnwindSafe for PangoFontMetrics
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