pub struct TypographyConfig {
pub hyphenation: HyphenationConfig,
pub widow_orphan_control: WidowOrphanControl,
pub justification: JustificationConfig,
pub hanging_punctuation: HangingPunctuationConfig,
}Expand description
Typography policy knobs for layout behavior.
Fields§
§hyphenation: HyphenationConfigHyphenation policy.
widow_orphan_control: WidowOrphanControlWidow/orphan control policy.
justification: JustificationConfigJustification policy.
hanging_punctuation: HangingPunctuationConfigHanging punctuation policy.
Trait Implementations§
Source§impl Clone for TypographyConfig
impl Clone for TypographyConfig
Source§fn clone(&self) -> TypographyConfig
fn clone(&self) -> TypographyConfig
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 Debug for TypographyConfig
impl Debug for TypographyConfig
Source§impl Default for TypographyConfig
impl Default for TypographyConfig
Source§fn default() -> TypographyConfig
fn default() -> TypographyConfig
Returns the “default value” for a type. Read more
Source§impl PartialEq for TypographyConfig
impl PartialEq for TypographyConfig
impl Copy for TypographyConfig
impl StructuralPartialEq for TypographyConfig
Auto Trait Implementations§
impl Freeze for TypographyConfig
impl RefUnwindSafe for TypographyConfig
impl Send for TypographyConfig
impl Sync for TypographyConfig
impl Unpin for TypographyConfig
impl UnsafeUnpin for TypographyConfig
impl UnwindSafe for TypographyConfig
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