Struct windows::Win32::Graphics::DirectWrite::DWRITE_LINE_METRICS
#[repr(C)]pub struct DWRITE_LINE_METRICS {
pub length: u32,
pub trailingWhitespaceLength: u32,
pub newlineLength: u32,
pub height: f32,
pub baseline: f32,
pub isTrimmed: BOOL,
}
Fields§
§length: u32
§trailingWhitespaceLength: u32
§newlineLength: u32
§height: f32
§baseline: f32
§isTrimmed: BOOL
Trait Implementations§
§impl Clone for DWRITE_LINE_METRICS
impl Clone for DWRITE_LINE_METRICS
§fn clone(&self) -> DWRITE_LINE_METRICS
fn clone(&self) -> DWRITE_LINE_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_LINE_METRICS
impl Debug for DWRITE_LINE_METRICS
§impl Default for DWRITE_LINE_METRICS
impl Default for DWRITE_LINE_METRICS
§impl PartialEq for DWRITE_LINE_METRICS
impl PartialEq for DWRITE_LINE_METRICS
§fn eq(&self, other: &DWRITE_LINE_METRICS) -> bool
fn eq(&self, other: &DWRITE_LINE_METRICS) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DWRITE_LINE_METRICS
impl StructuralPartialEq for DWRITE_LINE_METRICS
Auto Trait Implementations§
impl Freeze for DWRITE_LINE_METRICS
impl RefUnwindSafe for DWRITE_LINE_METRICS
impl Send for DWRITE_LINE_METRICS
impl Sync for DWRITE_LINE_METRICS
impl Unpin for DWRITE_LINE_METRICS
impl UnwindSafe for DWRITE_LINE_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
)