pub enum MediaQuery<'s> {
ConditionOnly(MediaCondition<'s>),
WithType(MediaQueryWithType<'s>),
Function(Function<'s>),
LessVariable(LessVariable<'s>),
LessNamespaceValue(Box<LessNamespaceValue<'s>>),
}Variants§
ConditionOnly(MediaCondition<'s>)
WithType(MediaQueryWithType<'s>)
Function(Function<'s>)
LessVariable(LessVariable<'s>)
LessNamespaceValue(Box<LessNamespaceValue<'s>>)
Trait Implementations§
Source§impl<'s> Clone for MediaQuery<'s>
impl<'s> Clone for MediaQuery<'s>
Source§fn clone(&self) -> MediaQuery<'s>
fn clone(&self) -> MediaQuery<'s>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'s> Debug for MediaQuery<'s>
impl<'s> Debug for MediaQuery<'s>
Source§impl<'cmt, 's: 'cmt> Parse<'cmt, 's> for MediaQuery<'s>
impl<'cmt, 's: 'cmt> Parse<'cmt, 's> for MediaQuery<'s>
Source§impl<'s> PartialEq for MediaQuery<'s>
impl<'s> PartialEq for MediaQuery<'s>
Source§fn eq(&self, other: &MediaQuery<'s>) -> bool
fn eq(&self, other: &MediaQuery<'s>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'s> StructuralPartialEq for MediaQuery<'s>
Auto Trait Implementations§
impl<'s> Freeze for MediaQuery<'s>
impl<'s> RefUnwindSafe for MediaQuery<'s>
impl<'s> Send for MediaQuery<'s>
impl<'s> Sync for MediaQuery<'s>
impl<'s> Unpin for MediaQuery<'s>
impl<'s> UnsafeUnpin for MediaQuery<'s>
impl<'s> UnwindSafe for MediaQuery<'s>
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