pub enum TextWrapping {
NoWrap,
Wrap,
WrapWithOverflow,
}Expand description
Controls the wrapping mode of text.
Variants§
NoWrap
Text should not wrap.
Wrap
Text can wrap.
WrapWithOverflow
Line-breaking occurs if the line overflows the available block width. However, a line may overflow the block width if the line breaking algorithm cannot determine a break opportunity, as in the case of a very long word.
Trait Implementations§
Source§impl Clone for TextWrapping
impl Clone for TextWrapping
impl Copy for TextWrapping
Source§impl Debug for TextWrapping
impl Debug for TextWrapping
Source§impl Default for TextWrapping
impl Default for TextWrapping
impl Eq for TextWrapping
Source§impl Hash for TextWrapping
impl Hash for TextWrapping
Source§impl MarkupTyped for TextWrapping
impl MarkupTyped for TextWrapping
Source§const MARKUP: &'static MarkupType
const MARKUP: &'static MarkupType
The markup metadata of the type.
Source§impl PartialEq for TextWrapping
impl PartialEq for TextWrapping
impl StructuralPartialEq for TextWrapping
Auto Trait Implementations§
impl Freeze for TextWrapping
impl RefUnwindSafe for TextWrapping
impl Send for TextWrapping
impl Sync for TextWrapping
impl Unpin for TextWrapping
impl UnsafeUnpin for TextWrapping
impl UnwindSafe for TextWrapping
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more