#[repr(C)]pub struct DWRITE_HIT_TEST_METRICS {
pub textPosition: UINT32,
pub length: UINT32,
pub left: FLOAT,
pub top: FLOAT,
pub width: FLOAT,
pub height: FLOAT,
pub bidiLevel: UINT32,
pub isText: BOOL,
pub isTrimmed: BOOL,
}
Fields§
§textPosition: UINT32
§length: UINT32
§left: FLOAT
§top: FLOAT
§width: FLOAT
§height: FLOAT
§bidiLevel: UINT32
§isText: BOOL
§isTrimmed: BOOL
Trait Implementations§
Source§impl Clone for DWRITE_HIT_TEST_METRICS
impl Clone for DWRITE_HIT_TEST_METRICS
Source§fn clone(&self) -> DWRITE_HIT_TEST_METRICS
fn clone(&self) -> DWRITE_HIT_TEST_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 moreSource§impl Default for DWRITE_HIT_TEST_METRICS
impl Default for DWRITE_HIT_TEST_METRICS
Source§fn default() -> DWRITE_HIT_TEST_METRICS
fn default() -> DWRITE_HIT_TEST_METRICS
Returns the “default value” for a type. Read more
impl Copy for DWRITE_HIT_TEST_METRICS
Auto Trait Implementations§
impl Freeze for DWRITE_HIT_TEST_METRICS
impl RefUnwindSafe for DWRITE_HIT_TEST_METRICS
impl Send for DWRITE_HIT_TEST_METRICS
impl Sync for DWRITE_HIT_TEST_METRICS
impl Unpin for DWRITE_HIT_TEST_METRICS
impl UnwindSafe for DWRITE_HIT_TEST_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