Enum swc_css_ast::MediaQuery [−][src]
pub enum MediaQuery {
Ident(Ident),
And(AndMediaQuery),
Or(OrMediaQuery),
Not(NotMediaQuery),
Only(OnlyMediaQuery),
Declaration(Declaration),
Comma(CommaMediaQuery),
}
Variants
Ident(Ident)
Tuple Fields
0: Ident
And(AndMediaQuery)
Tuple Fields
Or(OrMediaQuery)
Tuple Fields
0: OrMediaQuery
Not(NotMediaQuery)
Tuple Fields
Only(OnlyMediaQuery)
Tuple Fields
Declaration(Declaration)
Tuple Fields
0: Declaration
Comma(CommaMediaQuery)
Tuple Fields
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for MediaQuery
impl Send for MediaQuery
impl Sync for MediaQuery
impl Unpin for MediaQuery
impl UnwindSafe for MediaQuery
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more