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
sourceimpl Clone for PangoFontMetrics
impl Clone for PangoFontMetrics
sourcefn clone(&self) -> PangoFontMetrics
fn clone(&self) -> PangoFontMetrics
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 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
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