Struct DWRITE_TEXT_METRICS
#[repr(C)]pub struct DWRITE_TEXT_METRICS {
pub left: f32,
pub top: f32,
pub width: f32,
pub widthIncludingTrailingWhitespace: f32,
pub height: f32,
pub layoutWidth: f32,
pub layoutHeight: f32,
pub maxBidiReorderingDepth: u32,
pub lineCount: u32,
}Fields§
§left: f32§top: f32§width: f32§widthIncludingTrailingWhitespace: f32§height: f32§layoutWidth: f32§layoutHeight: f32§maxBidiReorderingDepth: u32§lineCount: u32Trait Implementations§
§impl Clone for DWRITE_TEXT_METRICS
impl Clone for DWRITE_TEXT_METRICS
§fn clone(&self) -> DWRITE_TEXT_METRICS
fn clone(&self) -> DWRITE_TEXT_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_TEXT_METRICS
impl Debug for DWRITE_TEXT_METRICS
§impl Default for DWRITE_TEXT_METRICS
impl Default for DWRITE_TEXT_METRICS
§impl PartialEq for DWRITE_TEXT_METRICS
impl PartialEq for DWRITE_TEXT_METRICS
impl Copy for DWRITE_TEXT_METRICS
impl StructuralPartialEq 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