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