pub enum HyphenateLimitLinesStyleValue {
NoLimit(Ident),
Integer(Integer),
}Expand description
Represents the style value for hyphenate-limit-lines as defined in css-text-4.
The grammar is defined as:
no-limit | <integer>Variants§
Trait Implementations§
Source§impl Clone for HyphenateLimitLinesStyleValue
impl Clone for HyphenateLimitLinesStyleValue
Source§fn clone(&self) -> HyphenateLimitLinesStyleValue
fn clone(&self) -> HyphenateLimitLinesStyleValue
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 Hash for HyphenateLimitLinesStyleValue
impl Hash for HyphenateLimitLinesStyleValue
Source§impl Ord for HyphenateLimitLinesStyleValue
impl Ord for HyphenateLimitLinesStyleValue
Source§fn cmp(&self, other: &HyphenateLimitLinesStyleValue) -> Ordering
fn cmp(&self, other: &HyphenateLimitLinesStyleValue) -> 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 HyphenateLimitLinesStyleValue
impl<'a> Parse<'a> for HyphenateLimitLinesStyleValue
Source§impl PartialEq for HyphenateLimitLinesStyleValue
impl PartialEq for HyphenateLimitLinesStyleValue
Source§fn eq(&self, other: &HyphenateLimitLinesStyleValue) -> bool
fn eq(&self, other: &HyphenateLimitLinesStyleValue) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for HyphenateLimitLinesStyleValue
impl PartialOrd for HyphenateLimitLinesStyleValue
Source§impl<'a> Peek<'a> for HyphenateLimitLinesStyleValue
impl<'a> Peek<'a> for HyphenateLimitLinesStyleValue
Source§impl ToCursors for HyphenateLimitLinesStyleValue
impl ToCursors for HyphenateLimitLinesStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for HyphenateLimitLinesStyleValue
impl StructuralPartialEq for HyphenateLimitLinesStyleValue
Auto Trait Implementations§
impl Freeze for HyphenateLimitLinesStyleValue
impl RefUnwindSafe for HyphenateLimitLinesStyleValue
impl Send for HyphenateLimitLinesStyleValue
impl Sync for HyphenateLimitLinesStyleValue
impl Unpin for HyphenateLimitLinesStyleValue
impl UnwindSafe for HyphenateLimitLinesStyleValue
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