Enum swc_css_ast::MediaQuery [−][src]
pub enum MediaQuery {
Text(Text),
And(AndMediaQuery),
Or(OrMediaQuery),
Not(NotMediaQuery),
Only(OnlyMediaQuery),
Property(Property),
Comma(CommaMediaQuery),
}
Variants
Text(Text)
Tuple Fields of Text
0: Text
And(AndMediaQuery)
Tuple Fields of And
Or(OrMediaQuery)
Tuple Fields of Or
0: OrMediaQuery
Not(NotMediaQuery)
Tuple Fields of Not
Only(OnlyMediaQuery)
Tuple Fields of Only
Property(Property)
Tuple Fields of Property
0: Property
Comma(CommaMediaQuery)
Tuple Fields of Comma
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.
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
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. 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