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§
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§
source§impl<T> IsDefault for Twhere
T: Default + PartialEq<T> + Copy,
impl<T> IsDefault for Twhere
T: Default + PartialEq<T> + Copy,
source§fn is_default(&self) -> bool
fn is_default(&self) -> bool
Checks that type has a default value.