pub struct Query {
pub inverse: bool,
pub media_type: String,
pub expressions: Vec<Expression>,
}Expand description
One comma-separated media query: an optional not, a media type, and a list of
feature expressions.
Fields§
§inverse: booltrue when the query was prefixed with not.
media_type: StringThe media type (screen, print, …), lowercased; all when unspecified.
expressions: Vec<Expression>The (feature: value) expressions, in order.
Implementations§
Trait Implementations§
impl Eq for Query
impl StructuralPartialEq for Query
Auto Trait Implementations§
impl Forget for Query
impl Freeze for Query
impl RefUnwindSafe for Query
impl Send for Query
impl Sync for Query
impl Unpin for Query
impl UnsafeUnpin for Query
impl UnwindSafe for Query
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