#[repr(u8)]pub enum TextElementConfigWrapMode {
Words = 0,
Newline = 1,
None = 2,
}Variants§
Words = 0
Wraps on whitespaces not breaking words
Newline = 1
Only wraps on new line characters
None = 2
Never wraps, can overflow of 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 · 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 TextElementConfigWrapMode
impl Debug for TextElementConfigWrapMode
impl 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 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