#[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 Freeze for PangoFontMetrics
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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
)