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