pub enum TextWrapStyleStyleValue {
Auto(Ident),
Balance(Ident),
Stable(Ident),
Pretty(Ident),
AvoidOrphans(Ident),
}Expand description
Represents the style value for text-wrap-style as defined in css-text-4.
The text-wrap-style CSS property sets how lines break in text that overflows the container. It can also be set with the text-wrap shorthand.
The grammar is defined as:
auto | balance | stable | pretty | avoid-orphansVariants§
Trait Implementations§
Source§impl Clone for TextWrapStyleStyleValue
impl Clone for TextWrapStyleStyleValue
Source§fn clone(&self) -> TextWrapStyleStyleValue
fn clone(&self) -> TextWrapStyleStyleValue
Returns a duplicate of the value. Read more
1.0.0 · 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 TextWrapStyleStyleValue
impl Debug for TextWrapStyleStyleValue
Source§impl Hash for TextWrapStyleStyleValue
impl Hash for TextWrapStyleStyleValue
Source§impl Ord for TextWrapStyleStyleValue
impl Ord for TextWrapStyleStyleValue
Source§fn cmp(&self, other: &TextWrapStyleStyleValue) -> Ordering
fn cmp(&self, other: &TextWrapStyleStyleValue) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'a> Parse<'a> for TextWrapStyleStyleValue
impl<'a> Parse<'a> for TextWrapStyleStyleValue
Source§impl PartialEq for TextWrapStyleStyleValue
impl PartialEq for TextWrapStyleStyleValue
Source§impl PartialOrd for TextWrapStyleStyleValue
impl PartialOrd for TextWrapStyleStyleValue
Source§impl<'a> Peek<'a> for TextWrapStyleStyleValue
impl<'a> Peek<'a> for TextWrapStyleStyleValue
Source§impl ToCursors for TextWrapStyleStyleValue
impl ToCursors for TextWrapStyleStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for TextWrapStyleStyleValue
impl StructuralPartialEq for TextWrapStyleStyleValue
Auto Trait Implementations§
impl Freeze for TextWrapStyleStyleValue
impl RefUnwindSafe for TextWrapStyleStyleValue
impl Send for TextWrapStyleStyleValue
impl Sync for TextWrapStyleStyleValue
impl Unpin for TextWrapStyleStyleValue
impl UnwindSafe for TextWrapStyleStyleValue
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