Enum style::media_queries::Qualifier [] [src]

pub enum Qualifier {
    Only,
    Not,
}

https://drafts.csswg.org/mediaqueries/#mq-prefix

Variants

Hide a media query from legacy UAs: https://drafts.csswg.org/mediaqueries/#mq-only

Negate a media query: https://drafts.csswg.org/mediaqueries/#mq-not

Trait Implementations

impl MallocSizeOf for Qualifier
[src]

[src]

Measure the heap usage of all descendant heap-allocated structures, but not the space taken up by the value itself. Read more

impl Clone for Qualifier
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Qualifier
[src]

impl Debug for Qualifier
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for Qualifier
[src]

impl PartialEq for Qualifier
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl ToCss for Qualifier
[src]

[src]

Serialize self in CSS syntax, writing to dest.

[src]

Serialize self in CSS syntax and return a string. Read more