Struct windows::Win32::Graphics::DirectWrite::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: u16
Trait 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
§fn eq(&self, other: &DWRITE_FONT_METRICS) -> bool
fn eq(&self, other: &DWRITE_FONT_METRICS) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DWRITE_FONT_METRICS
impl Eq 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)