Struct windows::Win32::Graphics::DirectWrite::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: u32
Trait 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
§fn eq(&self, other: &DWRITE_TEXT_METRICS) -> bool
fn eq(&self, other: &DWRITE_TEXT_METRICS) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)