Enum i_slint_core::items::TextWrap
source · [−]#[repr(C)]
pub enum TextWrap {
no_wrap,
word_wrap,
}
Expand description
This enum describes the how the text wrap if it is too wide to fit in the Text width.
Variants
no_wrap
The text will not wrap, but instead will overflow.
word_wrap
The text will be wrapped at word boundaries.
Trait Implementations
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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