pub enum WrapBeforeStyleValue {
Auto(Ident),
Avoid(Ident),
AvoidLine(Ident),
AvoidFlex(Ident),
Line(Ident),
Flex(Ident),
}Expand description
Represents the style value for wrap-before 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 WrapBeforeStyleValue
impl Clone for WrapBeforeStyleValue
Source§fn clone(&self) -> WrapBeforeStyleValue
fn clone(&self) -> WrapBeforeStyleValue
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 WrapBeforeStyleValue
impl Debug for WrapBeforeStyleValue
Source§impl Hash for WrapBeforeStyleValue
impl Hash for WrapBeforeStyleValue
Source§impl Ord for WrapBeforeStyleValue
impl Ord for WrapBeforeStyleValue
Source§fn cmp(&self, other: &WrapBeforeStyleValue) -> Ordering
fn cmp(&self, other: &WrapBeforeStyleValue) -> 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 WrapBeforeStyleValue
impl<'a> Parse<'a> for WrapBeforeStyleValue
Source§impl PartialEq for WrapBeforeStyleValue
impl PartialEq for WrapBeforeStyleValue
Source§impl PartialOrd for WrapBeforeStyleValue
impl PartialOrd for WrapBeforeStyleValue
Source§impl<'a> Peek<'a> for WrapBeforeStyleValue
impl<'a> Peek<'a> for WrapBeforeStyleValue
Source§impl ToCursors for WrapBeforeStyleValue
impl ToCursors for WrapBeforeStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for WrapBeforeStyleValue
impl StructuralPartialEq for WrapBeforeStyleValue
Auto Trait Implementations§
impl Freeze for WrapBeforeStyleValue
impl RefUnwindSafe for WrapBeforeStyleValue
impl Send for WrapBeforeStyleValue
impl Sync for WrapBeforeStyleValue
impl Unpin for WrapBeforeStyleValue
impl UnwindSafe for WrapBeforeStyleValue
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