pub enum AnyHoverMediaFeature {
WithValue(LeftParen, Ident, Colon, AnyHoverMediaFeatureKeyword, RightParen),
Bare(LeftParen, Ident, RightParen),
}Variants§
WithValue(LeftParen, Ident, Colon, AnyHoverMediaFeatureKeyword, RightParen)
Bare(LeftParen, Ident, RightParen)
Trait Implementations§
Source§impl Clone for AnyHoverMediaFeature
impl Clone for AnyHoverMediaFeature
Source§fn clone(&self) -> AnyHoverMediaFeature
fn clone(&self) -> AnyHoverMediaFeature
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 AnyHoverMediaFeature
impl Debug for AnyHoverMediaFeature
Source§impl<'a> DiscreteFeature<'a> for AnyHoverMediaFeature
impl<'a> DiscreteFeature<'a> for AnyHoverMediaFeature
type Value = AnyHoverMediaFeatureKeyword
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 AnyHoverMediaFeature
impl Hash for AnyHoverMediaFeature
Source§impl Ord for AnyHoverMediaFeature
impl Ord for AnyHoverMediaFeature
Source§fn cmp(&self, other: &AnyHoverMediaFeature) -> Ordering
fn cmp(&self, other: &AnyHoverMediaFeature) -> 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 AnyHoverMediaFeature
impl<'a> Parse<'a> for AnyHoverMediaFeature
Source§impl PartialEq for AnyHoverMediaFeature
impl PartialEq for AnyHoverMediaFeature
Source§impl PartialOrd for AnyHoverMediaFeature
impl PartialOrd for AnyHoverMediaFeature
Source§impl ToCursors for AnyHoverMediaFeature
impl ToCursors for AnyHoverMediaFeature
fn to_cursors(&self, s: &mut impl CursorSink)
impl Copy for AnyHoverMediaFeature
impl Eq for AnyHoverMediaFeature
impl StructuralPartialEq for AnyHoverMediaFeature
Auto Trait Implementations§
impl Freeze for AnyHoverMediaFeature
impl RefUnwindSafe for AnyHoverMediaFeature
impl Send for AnyHoverMediaFeature
impl Sync for AnyHoverMediaFeature
impl Unpin for AnyHoverMediaFeature
impl UnwindSafe for AnyHoverMediaFeature
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