pub enum TextElementConfigWrapMode {
Words,
Newline,
None,
}Variants§
Words
Wraps on whitespaces without breaking words.
Newline
Only wraps on newline characters.
None
Never wraps and can overflow from parent layout.
Trait Implementations§
Source§impl Clone for TextElementConfigWrapMode
impl Clone for TextElementConfigWrapMode
Source§fn clone(&self) -> TextElementConfigWrapMode
fn clone(&self) -> TextElementConfigWrapMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TextElementConfigWrapMode
Auto Trait Implementations§
impl Freeze for TextElementConfigWrapMode
impl RefUnwindSafe for TextElementConfigWrapMode
impl Send for TextElementConfigWrapMode
impl Sync for TextElementConfigWrapMode
impl Unpin for TextElementConfigWrapMode
impl UnsafeUnpin for TextElementConfigWrapMode
impl UnwindSafe for TextElementConfigWrapMode
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,
Source§impl<H, TailTarget, Source, Idx> Embed<RenderTList<H, TailTarget>, There<Idx>> for Sourcewhere
TailTarget: IsRenderList,
Source: Embed<TailTarget, Idx>,
impl<H, TailTarget, Source, Idx> Embed<RenderTList<H, TailTarget>, There<Idx>> for Sourcewhere
TailTarget: IsRenderList,
Source: Embed<TailTarget, Idx>,
Source§fn embed(self) -> RenderTList<H, TailTarget>
fn embed(self) -> RenderTList<H, TailTarget>
Converts
self into Target.