Struct 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
impl Copy 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