#[repr(C)]pub struct DWRITE_TEXT_METRICS {
pub left: FLOAT,
pub top: FLOAT,
pub width: FLOAT,
pub widthIncludingTrailingWhitespace: FLOAT,
pub height: FLOAT,
pub layoutWidth: FLOAT,
pub layoutHeight: FLOAT,
pub maxBidiReorderingDepth: UINT32,
pub lineCount: UINT32,
}Fields§
§left: FLOAT§top: FLOAT§width: FLOAT§widthIncludingTrailingWhitespace: FLOAT§height: FLOAT§layoutWidth: FLOAT§layoutHeight: FLOAT§maxBidiReorderingDepth: UINT32§lineCount: UINT32Trait Implementations§
Source§impl Clone for DWRITE_TEXT_METRICS
impl Clone for DWRITE_TEXT_METRICS
Source§fn clone(&self) -> DWRITE_TEXT_METRICS
fn clone(&self) -> DWRITE_TEXT_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_TEXT_METRICS
impl Default for DWRITE_TEXT_METRICS
Source§fn default() -> DWRITE_TEXT_METRICS
fn default() -> DWRITE_TEXT_METRICS
Returns the “default value” for a type. Read more
impl Copy for DWRITE_TEXT_METRICS
Auto Trait Implementations§
impl Freeze for DWRITE_TEXT_METRICS
impl RefUnwindSafe for DWRITE_TEXT_METRICS
impl Send for DWRITE_TEXT_METRICS
impl Sync for DWRITE_TEXT_METRICS
impl Unpin for DWRITE_TEXT_METRICS
impl UnwindSafe for DWRITE_TEXT_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