#[non_exhaustive]pub enum TextWrapping {
NoWrap,
Wrap,
WrapWholeWords,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for TextWrapping
impl Clone for TextWrapping
Source§fn clone(&self) -> TextWrapping
fn clone(&self) -> TextWrapping
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TextWrapping
Source§impl Debug for TextWrapping
impl Debug for TextWrapping
impl Eq for TextWrapping
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> 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