#[repr(C)]pub struct DWRITE_JUSTIFICATION_OPPORTUNITY {
pub expansionMinimum: FLOAT,
pub expansionMaximum: FLOAT,
pub compressionMaximum: FLOAT,
pub bitfield0: UINT32,
}
Fields§
§expansionMinimum: FLOAT
§expansionMaximum: FLOAT
§compressionMaximum: FLOAT
§bitfield0: UINT32
Implementations§
Source§impl DWRITE_JUSTIFICATION_OPPORTUNITY
impl DWRITE_JUSTIFICATION_OPPORTUNITY
pub fn expansionPriority(&self) -> UINT32
pub fn set_expansionPriority(&mut self, val: UINT32)
pub fn compressionPriority(&self) -> UINT32
pub fn set_compressionPriority(&mut self, val: UINT32)
pub fn allowResidualExpansion(&self) -> UINT32
pub fn set_allowResidualExpansion(&mut self, val: UINT32)
pub fn allowResidualCompression(&self) -> UINT32
pub fn set_allowResidualCompression(&mut self, val: UINT32)
pub fn applyToLeadingEdge(&self) -> UINT32
pub fn set_applyToLeadingEdge(&mut self, val: UINT32)
pub fn applyToTrailingEdge(&self) -> UINT32
pub fn set_applyToTrailingEdge(&mut self, val: UINT32)
pub fn reserved(&self) -> UINT32
pub fn set_reserved(&mut self, val: UINT32)
Trait Implementations§
Source§impl Clone for DWRITE_JUSTIFICATION_OPPORTUNITY
impl Clone for DWRITE_JUSTIFICATION_OPPORTUNITY
Source§fn clone(&self) -> DWRITE_JUSTIFICATION_OPPORTUNITY
fn clone(&self) -> DWRITE_JUSTIFICATION_OPPORTUNITY
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_JUSTIFICATION_OPPORTUNITY
impl Default for DWRITE_JUSTIFICATION_OPPORTUNITY
Source§fn default() -> DWRITE_JUSTIFICATION_OPPORTUNITY
fn default() -> DWRITE_JUSTIFICATION_OPPORTUNITY
Returns the “default value” for a type. Read more
impl Copy for DWRITE_JUSTIFICATION_OPPORTUNITY
Auto Trait Implementations§
impl Freeze for DWRITE_JUSTIFICATION_OPPORTUNITY
impl RefUnwindSafe for DWRITE_JUSTIFICATION_OPPORTUNITY
impl Send for DWRITE_JUSTIFICATION_OPPORTUNITY
impl Sync for DWRITE_JUSTIFICATION_OPPORTUNITY
impl Unpin for DWRITE_JUSTIFICATION_OPPORTUNITY
impl UnwindSafe for DWRITE_JUSTIFICATION_OPPORTUNITY
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