pub enum WrapAfterStyleValue {
Auto(Ident),
Avoid(Ident),
AvoidLine(Ident),
AvoidFlex(Ident),
Line(Ident),
Flex(Ident),
}Expand description
Represents the style value for wrap-after as defined in css-text-4.
The grammar is defined as:
auto | avoid | avoid-line | avoid-flex | line | flexVariants§
Trait Implementations§
Source§impl Clone for WrapAfterStyleValue
impl Clone for WrapAfterStyleValue
Source§fn clone(&self) -> WrapAfterStyleValue
fn clone(&self) -> WrapAfterStyleValue
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 WrapAfterStyleValue
impl Debug for WrapAfterStyleValue
Source§impl Hash for WrapAfterStyleValue
impl Hash for WrapAfterStyleValue
Source§impl Ord for WrapAfterStyleValue
impl Ord for WrapAfterStyleValue
Source§fn cmp(&self, other: &WrapAfterStyleValue) -> Ordering
fn cmp(&self, other: &WrapAfterStyleValue) -> 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 WrapAfterStyleValue
impl<'a> Parse<'a> for WrapAfterStyleValue
Source§impl PartialEq for WrapAfterStyleValue
impl PartialEq for WrapAfterStyleValue
Source§impl PartialOrd for WrapAfterStyleValue
impl PartialOrd for WrapAfterStyleValue
Source§impl<'a> Peek<'a> for WrapAfterStyleValue
impl<'a> Peek<'a> for WrapAfterStyleValue
Source§impl ToCursors for WrapAfterStyleValue
impl ToCursors for WrapAfterStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for WrapAfterStyleValue
impl StructuralPartialEq for WrapAfterStyleValue
Auto Trait Implementations§
impl Freeze for WrapAfterStyleValue
impl RefUnwindSafe for WrapAfterStyleValue
impl Send for WrapAfterStyleValue
impl Sync for WrapAfterStyleValue
impl Unpin for WrapAfterStyleValue
impl UnwindSafe for WrapAfterStyleValue
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