#[repr(C)]pub struct DWRITE_GLYPH_METRICS {
pub leftSideBearing: INT32,
pub advanceWidth: UINT32,
pub rightSideBearing: INT32,
pub topSideBearing: INT32,
pub advanceHeight: UINT32,
pub bottomSideBearing: INT32,
pub verticalOriginY: INT32,
}
Fields§
§leftSideBearing: INT32
§advanceWidth: UINT32
§rightSideBearing: INT32
§topSideBearing: INT32
§advanceHeight: UINT32
§bottomSideBearing: INT32
§verticalOriginY: INT32
Trait Implementations§
Source§impl Clone for DWRITE_GLYPH_METRICS
impl Clone for DWRITE_GLYPH_METRICS
Source§fn clone(&self) -> DWRITE_GLYPH_METRICS
fn clone(&self) -> DWRITE_GLYPH_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_GLYPH_METRICS
impl Default for DWRITE_GLYPH_METRICS
Source§fn default() -> DWRITE_GLYPH_METRICS
fn default() -> DWRITE_GLYPH_METRICS
Returns the “default value” for a type. Read more
impl Copy 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