pub struct MediaQueryWithType<'s> {
pub modifier: Option<Ident<'s>>,
pub media_type: InterpolableIdent<'s>,
pub condition: Option<MediaConditionAfterMediaType<'s>>,
pub span: Span,
}Fields§
§modifier: Option<Ident<'s>>§media_type: InterpolableIdent<'s>§condition: Option<MediaConditionAfterMediaType<'s>>§span: SpanTrait Implementations§
Source§impl<'s> Clone for MediaQueryWithType<'s>
impl<'s> Clone for MediaQueryWithType<'s>
Source§fn clone(&self) -> MediaQueryWithType<'s>
fn clone(&self) -> MediaQueryWithType<'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 MediaQueryWithType<'s>
impl<'s> Debug for MediaQueryWithType<'s>
Source§impl<'cmt, 's: 'cmt> Parse<'cmt, 's> for MediaQueryWithType<'s>
impl<'cmt, 's: 'cmt> Parse<'cmt, 's> for MediaQueryWithType<'s>
Source§impl<'s> PartialEq for MediaQueryWithType<'s>
impl<'s> PartialEq for MediaQueryWithType<'s>
Source§fn eq(&self, other: &MediaQueryWithType<'s>) -> bool
fn eq(&self, other: &MediaQueryWithType<'s>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'s> StructuralPartialEq for MediaQueryWithType<'s>
Auto Trait Implementations§
impl<'s> Freeze for MediaQueryWithType<'s>
impl<'s> RefUnwindSafe for MediaQueryWithType<'s>
impl<'s> Send for MediaQueryWithType<'s>
impl<'s> Sync for MediaQueryWithType<'s>
impl<'s> Unpin for MediaQueryWithType<'s>
impl<'s> UnsafeUnpin for MediaQueryWithType<'s>
impl<'s> UnwindSafe for MediaQueryWithType<'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