#[repr(C)]pub struct DWRITE_CLUSTER_METRICS {
pub width: FLOAT,
pub length: UINT16,
pub bit_fields: UINT16,
}
Fields§
§width: FLOAT
§length: UINT16
§bit_fields: UINT16
Implementations§
Source§impl DWRITE_CLUSTER_METRICS
impl DWRITE_CLUSTER_METRICS
pub fn canWrapLineAfter(&self) -> UINT16
pub fn set_canWrapLineAfter(&mut self, val: UINT16)
pub fn isWhitespace(&self) -> UINT16
pub fn set_isWhitespace(&mut self, val: UINT16)
pub fn isNewline(&self) -> UINT16
pub fn set_isNewline(&mut self, val: UINT16)
pub fn isSoftHyphen(&self) -> UINT16
pub fn set_isSoftHyphen(&mut self, val: UINT16)
pub fn isRightToLeft(&self) -> UINT16
pub fn set_isRightToLeft(&mut self, val: UINT16)
pub fn padding(&self) -> UINT16
pub fn set_padding(&mut self, val: UINT16)
Trait Implementations§
Source§impl Clone for DWRITE_CLUSTER_METRICS
impl Clone for DWRITE_CLUSTER_METRICS
Source§fn clone(&self) -> DWRITE_CLUSTER_METRICS
fn clone(&self) -> DWRITE_CLUSTER_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_CLUSTER_METRICS
impl Default for DWRITE_CLUSTER_METRICS
Source§fn default() -> DWRITE_CLUSTER_METRICS
fn default() -> DWRITE_CLUSTER_METRICS
Returns the “default value” for a type. Read more
impl Copy for DWRITE_CLUSTER_METRICS
Auto Trait Implementations§
impl Freeze for DWRITE_CLUSTER_METRICS
impl RefUnwindSafe for DWRITE_CLUSTER_METRICS
impl Send for DWRITE_CLUSTER_METRICS
impl Sync for DWRITE_CLUSTER_METRICS
impl Unpin for DWRITE_CLUSTER_METRICS
impl UnwindSafe for DWRITE_CLUSTER_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