#[non_exhaustive]pub enum TextWrapStyle {
Auto,
Balance,
Pretty,
Stable,
}Expand description
A value of text-wrap-style.
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 TextWrapStyle
impl Clone for TextWrapStyle
Source§fn clone(&self) -> TextWrapStyle
fn clone(&self) -> TextWrapStyle
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 moreSource§impl Debug for TextWrapStyle
impl Debug for TextWrapStyle
Source§impl Display for TextWrapStyle
impl Display for TextWrapStyle
Source§impl PartialEq for TextWrapStyle
impl PartialEq for TextWrapStyle
impl StructuralPartialEq for TextWrapStyle
Auto Trait Implementations§
impl Freeze for TextWrapStyle
impl RefUnwindSafe for TextWrapStyle
impl Send for TextWrapStyle
impl Sync for TextWrapStyle
impl Unpin for TextWrapStyle
impl UnsafeUnpin for TextWrapStyle
impl UnwindSafe for TextWrapStyle
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