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