Enum i_slint_core::items::TextWrap
source · [−]#[repr(C)]
pub enum TextWrap {
NoWrap,
WordWrap,
}Expand description
This enum describes the how the text wrap if it is too wide to fit in the Text width.
Variants
NoWrap
The text will not wrap, but instead will overflow.
WordWrap
The text will be wrapped at word boundaries.
Trait Implementations
sourceimpl PartialEq<TextWrap> for TextWrap
impl PartialEq<TextWrap> for TextWrap
impl Copy for TextWrap
impl Eq for TextWrap
impl StructuralEq for TextWrap
impl StructuralPartialEq for TextWrap
Auto Trait Implementations
impl RefUnwindSafe for TextWrap
impl Send for TextWrap
impl Sync for TextWrap
impl Unpin for TextWrap
impl UnwindSafe for TextWrap
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> IsDefault for Twhere
T: Default + PartialEq<T> + Copy,
impl<T> IsDefault for Twhere
T: Default + PartialEq<T> + Copy,
sourcefn is_default(&self) -> bool
fn is_default(&self) -> bool
Checks that type has a default value.