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