pub enum PrefersContrastMediaFeature {
WithValue(LeftParen, Ident, Colon, PrefersContrastMediaFeatureKeyword, RightParen),
Bare(LeftParen, Ident, RightParen),
}Variants§
WithValue(LeftParen, Ident, Colon, PrefersContrastMediaFeatureKeyword, RightParen)
Bare(LeftParen, Ident, RightParen)
Trait Implementations§
Source§impl Clone for PrefersContrastMediaFeature
impl Clone for PrefersContrastMediaFeature
Source§fn clone(&self) -> PrefersContrastMediaFeature
fn clone(&self) -> PrefersContrastMediaFeature
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 PrefersContrastMediaFeature
impl Debug for PrefersContrastMediaFeature
Source§impl<'a> DiscreteFeature<'a> for PrefersContrastMediaFeature
impl<'a> DiscreteFeature<'a> for PrefersContrastMediaFeature
type Value = PrefersContrastMediaFeatureKeyword
fn parse_discrete_feature<I>( p: &mut Parser<'a, I>, atom: &'static dyn DynAtomSet, ) -> Result<(LeftParen, Ident, Option<(Colon, Self::Value)>, RightParen), Diagnostic>
Source§impl Hash for PrefersContrastMediaFeature
impl Hash for PrefersContrastMediaFeature
Source§impl Ord for PrefersContrastMediaFeature
impl Ord for PrefersContrastMediaFeature
Source§fn cmp(&self, other: &PrefersContrastMediaFeature) -> Ordering
fn cmp(&self, other: &PrefersContrastMediaFeature) -> 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 PrefersContrastMediaFeature
impl<'a> Parse<'a> for PrefersContrastMediaFeature
Source§impl PartialOrd for PrefersContrastMediaFeature
impl PartialOrd for PrefersContrastMediaFeature
Source§impl ToCursors for PrefersContrastMediaFeature
impl ToCursors for PrefersContrastMediaFeature
fn to_cursors(&self, s: &mut impl CursorSink)
impl Copy for PrefersContrastMediaFeature
impl Eq for PrefersContrastMediaFeature
impl StructuralPartialEq for PrefersContrastMediaFeature
Auto Trait Implementations§
impl Freeze for PrefersContrastMediaFeature
impl RefUnwindSafe for PrefersContrastMediaFeature
impl Send for PrefersContrastMediaFeature
impl Sync for PrefersContrastMediaFeature
impl Unpin for PrefersContrastMediaFeature
impl UnwindSafe for PrefersContrastMediaFeature
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