Struct windows::Win32::Graphics::DirectWrite::DWRITE_GLYPH_METRICS
#[repr(C)]pub struct DWRITE_GLYPH_METRICS {
pub leftSideBearing: i32,
pub advanceWidth: u32,
pub rightSideBearing: i32,
pub topSideBearing: i32,
pub advanceHeight: u32,
pub bottomSideBearing: i32,
pub verticalOriginY: i32,
}
Fields§
§leftSideBearing: i32
§advanceWidth: u32
§rightSideBearing: i32
§topSideBearing: i32
§advanceHeight: u32
§bottomSideBearing: i32
§verticalOriginY: i32
Trait Implementations§
§impl Clone for DWRITE_GLYPH_METRICS
impl Clone for DWRITE_GLYPH_METRICS
§fn clone(&self) -> DWRITE_GLYPH_METRICS
fn clone(&self) -> DWRITE_GLYPH_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_GLYPH_METRICS
impl Debug for DWRITE_GLYPH_METRICS
§impl Default for DWRITE_GLYPH_METRICS
impl Default for DWRITE_GLYPH_METRICS
§impl PartialEq for DWRITE_GLYPH_METRICS
impl PartialEq for DWRITE_GLYPH_METRICS
§fn eq(&self, other: &DWRITE_GLYPH_METRICS) -> bool
fn eq(&self, other: &DWRITE_GLYPH_METRICS) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DWRITE_GLYPH_METRICS
impl Eq for DWRITE_GLYPH_METRICS
impl StructuralPartialEq for DWRITE_GLYPH_METRICS
Auto Trait Implementations§
impl Freeze for DWRITE_GLYPH_METRICS
impl RefUnwindSafe for DWRITE_GLYPH_METRICS
impl Send for DWRITE_GLYPH_METRICS
impl Sync for DWRITE_GLYPH_METRICS
impl Unpin for DWRITE_GLYPH_METRICS
impl UnwindSafe for DWRITE_GLYPH_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
)