pub enum PrefersContrastMediaFeatureKeyword {
NoPreference(Ident),
Less(Ident),
More(Ident),
Custom(Ident),
}Variants§
Trait Implementations§
Source§impl Clone for PrefersContrastMediaFeatureKeyword
impl Clone for PrefersContrastMediaFeatureKeyword
Source§fn clone(&self) -> PrefersContrastMediaFeatureKeyword
fn clone(&self) -> PrefersContrastMediaFeatureKeyword
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 Ord for PrefersContrastMediaFeatureKeyword
impl Ord for PrefersContrastMediaFeatureKeyword
Source§fn cmp(&self, other: &PrefersContrastMediaFeatureKeyword) -> Ordering
fn cmp(&self, other: &PrefersContrastMediaFeatureKeyword) -> 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 PrefersContrastMediaFeatureKeyword
impl<'a> Parse<'a> for PrefersContrastMediaFeatureKeyword
Source§impl PartialEq for PrefersContrastMediaFeatureKeyword
impl PartialEq for PrefersContrastMediaFeatureKeyword
Source§fn eq(&self, other: &PrefersContrastMediaFeatureKeyword) -> bool
fn eq(&self, other: &PrefersContrastMediaFeatureKeyword) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PrefersContrastMediaFeatureKeyword
impl PartialOrd for PrefersContrastMediaFeatureKeyword
Source§impl<'a> Peek<'a> for PrefersContrastMediaFeatureKeyword
impl<'a> Peek<'a> for PrefersContrastMediaFeatureKeyword
Source§impl ToCursors for PrefersContrastMediaFeatureKeyword
impl ToCursors for PrefersContrastMediaFeatureKeyword
fn to_cursors(&self, s: &mut impl CursorSink)
impl Copy for PrefersContrastMediaFeatureKeyword
impl Eq for PrefersContrastMediaFeatureKeyword
impl StructuralPartialEq for PrefersContrastMediaFeatureKeyword
Auto Trait Implementations§
impl Freeze for PrefersContrastMediaFeatureKeyword
impl RefUnwindSafe for PrefersContrastMediaFeatureKeyword
impl Send for PrefersContrastMediaFeatureKeyword
impl Sync for PrefersContrastMediaFeatureKeyword
impl Unpin for PrefersContrastMediaFeatureKeyword
impl UnwindSafe for PrefersContrastMediaFeatureKeyword
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