#[repr(C)]pub struct DWRITE_FONT_METRICS {
pub designUnitsPerEm: UINT16,
pub ascent: UINT16,
pub descent: UINT16,
pub lineGap: INT16,
pub capHeight: UINT16,
pub xHeight: UINT16,
pub underlinePosition: INT16,
pub underlineThickness: UINT16,
pub strikethroughPosition: INT16,
pub strikethroughThickness: UINT16,
}
Fields§
§designUnitsPerEm: UINT16
§ascent: UINT16
§descent: UINT16
§lineGap: INT16
§capHeight: UINT16
§xHeight: UINT16
§underlinePosition: INT16
§underlineThickness: UINT16
§strikethroughPosition: INT16
§strikethroughThickness: UINT16
Trait Implementations§
Source§impl Clone for DWRITE_FONT_METRICS
impl Clone for DWRITE_FONT_METRICS
Source§fn clone(&self) -> DWRITE_FONT_METRICS
fn clone(&self) -> DWRITE_FONT_METRICS
Returns a duplicate 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 Default for DWRITE_FONT_METRICS
impl Default for DWRITE_FONT_METRICS
Source§fn default() -> DWRITE_FONT_METRICS
fn default() -> DWRITE_FONT_METRICS
Returns the “default value” for a type. Read more
impl Copy 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