pub enum RestBeforeStyleValue {
Time(Time),
None(Ident),
XWeak(Ident),
Weak(Ident),
Medium(Ident),
Strong(Ident),
XStrong(Ident),
}Expand description
Represents the style value for rest-before 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 RestBeforeStyleValue
impl Clone for RestBeforeStyleValue
Source§fn clone(&self) -> RestBeforeStyleValue
fn clone(&self) -> RestBeforeStyleValue
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 RestBeforeStyleValue
impl Debug for RestBeforeStyleValue
Source§impl Hash for RestBeforeStyleValue
impl Hash for RestBeforeStyleValue
Source§impl Ord for RestBeforeStyleValue
impl Ord for RestBeforeStyleValue
Source§fn cmp(&self, other: &RestBeforeStyleValue) -> Ordering
fn cmp(&self, other: &RestBeforeStyleValue) -> 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 RestBeforeStyleValue
impl<'a> Parse<'a> for RestBeforeStyleValue
Source§impl PartialEq for RestBeforeStyleValue
impl PartialEq for RestBeforeStyleValue
Source§impl PartialOrd for RestBeforeStyleValue
impl PartialOrd for RestBeforeStyleValue
Source§impl<'a> Peek<'a> for RestBeforeStyleValue
impl<'a> Peek<'a> for RestBeforeStyleValue
Source§impl ToCursors for RestBeforeStyleValue
impl ToCursors for RestBeforeStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for RestBeforeStyleValue
impl StructuralPartialEq for RestBeforeStyleValue
Auto Trait Implementations§
impl Freeze for RestBeforeStyleValue
impl RefUnwindSafe for RestBeforeStyleValue
impl Send for RestBeforeStyleValue
impl Sync for RestBeforeStyleValue
impl Unpin for RestBeforeStyleValue
impl UnwindSafe for RestBeforeStyleValue
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