Struct DWRITE_FONT_METRICS
#[repr(C)]pub struct DWRITE_FONT_METRICS {
pub designUnitsPerEm: u16,
pub ascent: u16,
pub descent: u16,
pub lineGap: i16,
pub capHeight: u16,
pub xHeight: u16,
pub underlinePosition: i16,
pub underlineThickness: u16,
pub strikethroughPosition: i16,
pub strikethroughThickness: u16,
}Fields§
§designUnitsPerEm: u16§ascent: u16§descent: u16§lineGap: i16§capHeight: u16§xHeight: u16§underlinePosition: i16§underlineThickness: u16§strikethroughPosition: i16§strikethroughThickness: u16Trait Implementations§
§impl Clone for DWRITE_FONT_METRICS
impl Clone for DWRITE_FONT_METRICS
§fn clone(&self) -> DWRITE_FONT_METRICS
fn clone(&self) -> DWRITE_FONT_METRICS
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 more§impl Debug for DWRITE_FONT_METRICS
impl Debug for DWRITE_FONT_METRICS
§impl Default for DWRITE_FONT_METRICS
impl Default for DWRITE_FONT_METRICS
§impl PartialEq for DWRITE_FONT_METRICS
impl PartialEq for DWRITE_FONT_METRICS
impl Copy for DWRITE_FONT_METRICS
impl StructuralPartialEq for DWRITE_FONT_METRICS
Auto Trait Implementations§
impl Freeze for DWRITE_FONT_METRICS
impl RefUnwindSafe for DWRITE_FONT_METRICS
impl Send for DWRITE_FONT_METRICS
impl Sync for DWRITE_FONT_METRICS
impl Unpin for DWRITE_FONT_METRICS
impl UnwindSafe for DWRITE_FONT_METRICS
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