pub enum SpeakStyleValue {
Auto(Ident),
Never(Ident),
Always(Ident),
}Expand description
Represents the style value for speak as defined in css-speech-1.
The speak CSS property sets whether or not text should be spoken.
The grammar is defined as:
auto | never | alwaysVariants§
Trait Implementations§
Source§impl Clone for SpeakStyleValue
impl Clone for SpeakStyleValue
Source§fn clone(&self) -> SpeakStyleValue
fn clone(&self) -> SpeakStyleValue
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 SpeakStyleValue
impl Debug for SpeakStyleValue
Source§impl Hash for SpeakStyleValue
impl Hash for SpeakStyleValue
Source§impl Ord for SpeakStyleValue
impl Ord for SpeakStyleValue
Source§fn cmp(&self, other: &SpeakStyleValue) -> Ordering
fn cmp(&self, other: &SpeakStyleValue) -> 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 SpeakStyleValue
impl<'a> Parse<'a> for SpeakStyleValue
Source§impl PartialEq for SpeakStyleValue
impl PartialEq for SpeakStyleValue
Source§impl PartialOrd for SpeakStyleValue
impl PartialOrd for SpeakStyleValue
Source§impl<'a> Peek<'a> for SpeakStyleValue
impl<'a> Peek<'a> for SpeakStyleValue
Source§impl ToCursors for SpeakStyleValue
impl ToCursors for SpeakStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for SpeakStyleValue
impl StructuralPartialEq for SpeakStyleValue
Auto Trait Implementations§
impl Freeze for SpeakStyleValue
impl RefUnwindSafe for SpeakStyleValue
impl Send for SpeakStyleValue
impl Sync for SpeakStyleValue
impl Unpin for SpeakStyleValue
impl UnwindSafe for SpeakStyleValue
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