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