pub enum RestAfterStyleValue {
Time(Time),
None(Ident),
XWeak(Ident),
Weak(Ident),
Medium(Ident),
Strong(Ident),
XStrong(Ident),
}Expand description
Represents the style value for rest-after as defined in css-speech-1.
The grammar is defined as:
<time [0s,∞]> | none | x-weak | weak | medium | strong | x-strongVariants§
Trait Implementations§
Source§impl Clone for RestAfterStyleValue
impl Clone for RestAfterStyleValue
Source§fn clone(&self) -> RestAfterStyleValue
fn clone(&self) -> RestAfterStyleValue
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 RestAfterStyleValue
impl Debug for RestAfterStyleValue
Source§impl Hash for RestAfterStyleValue
impl Hash for RestAfterStyleValue
Source§impl Ord for RestAfterStyleValue
impl Ord for RestAfterStyleValue
Source§fn cmp(&self, other: &RestAfterStyleValue) -> Ordering
fn cmp(&self, other: &RestAfterStyleValue) -> 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 RestAfterStyleValue
impl<'a> Parse<'a> for RestAfterStyleValue
Source§impl PartialEq for RestAfterStyleValue
impl PartialEq for RestAfterStyleValue
Source§impl PartialOrd for RestAfterStyleValue
impl PartialOrd for RestAfterStyleValue
Source§impl<'a> Peek<'a> for RestAfterStyleValue
impl<'a> Peek<'a> for RestAfterStyleValue
Source§impl ToCursors for RestAfterStyleValue
impl ToCursors for RestAfterStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for RestAfterStyleValue
impl StructuralPartialEq for RestAfterStyleValue
Auto Trait Implementations§
impl Freeze for RestAfterStyleValue
impl RefUnwindSafe for RestAfterStyleValue
impl Send for RestAfterStyleValue
impl Sync for RestAfterStyleValue
impl Unpin for RestAfterStyleValue
impl UnwindSafe for RestAfterStyleValue
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