Struct winapi::um::wingdi::NEWTEXTMETRICW
source · #[repr(C)]pub struct NEWTEXTMETRICW {Show 24 fields
pub tmHeight: LONG,
pub tmAscent: LONG,
pub tmDescent: LONG,
pub tmInternalLeading: LONG,
pub tmExternalLeading: LONG,
pub tmAveCharWidth: LONG,
pub tmMaxCharWidth: LONG,
pub tmWeight: LONG,
pub tmOverhang: LONG,
pub tmDigitizedAspectX: LONG,
pub tmDigitizedAspectY: LONG,
pub tmFirstChar: WCHAR,
pub tmLastChar: WCHAR,
pub tmDefaultChar: WCHAR,
pub tmBreakChar: WCHAR,
pub tmItalic: BYTE,
pub tmUnderlined: BYTE,
pub tmStruckOut: BYTE,
pub tmPitchAndFamily: BYTE,
pub tmCharSet: BYTE,
pub ntmFlags: DWORD,
pub ntmSizeEM: UINT,
pub ntmCellHeight: UINT,
pub ntmAvgWidth: UINT,
}Fields§
§tmHeight: LONG§tmAscent: LONG§tmDescent: LONG§tmInternalLeading: LONG§tmExternalLeading: LONG§tmAveCharWidth: LONG§tmMaxCharWidth: LONG§tmWeight: LONG§tmOverhang: LONG§tmDigitizedAspectX: LONG§tmDigitizedAspectY: LONG§tmFirstChar: WCHAR§tmLastChar: WCHAR§tmDefaultChar: WCHAR§tmBreakChar: WCHAR§tmItalic: BYTE§tmUnderlined: BYTE§tmStruckOut: BYTE§tmPitchAndFamily: BYTE§tmCharSet: BYTE§ntmFlags: DWORD§ntmSizeEM: UINT§ntmCellHeight: UINT§ntmAvgWidth: UINTTrait Implementations§
source§impl Clone for NEWTEXTMETRICW
impl Clone for NEWTEXTMETRICW
source§fn clone(&self) -> NEWTEXTMETRICW
fn clone(&self) -> NEWTEXTMETRICW
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 moresource§impl Default for NEWTEXTMETRICW
impl Default for NEWTEXTMETRICW
source§fn default() -> NEWTEXTMETRICW
fn default() -> NEWTEXTMETRICW
Returns the “default value” for a type. Read more