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