pub enum Wrapping {
None,
Word,
Glyph,
WordOrGlyph,
}
Expand description
The wrapping strategy of some text.
Variants§
None
No wrapping.
Word
Wraps at the word level.
This is the default.
Glyph
Wraps at the glyph level.
WordOrGlyph
Wraps at the word level, or fallback to glyph level if a word can’t fit on a line by itself.
Trait Implementations§
impl Copy for Wrapping
impl Eq for Wrapping
impl StructuralPartialEq for Wrapping
Auto Trait Implementations§
impl Freeze for Wrapping
impl RefUnwindSafe for Wrapping
impl Send for Wrapping
impl Sync for Wrapping
impl Unpin for Wrapping
impl UnwindSafe for Wrapping
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.