Struct cdp::css::MediaQueryExpression [] [src]

pub struct MediaQueryExpression<'a> {
    pub value: f64,
    pub unit: Cow<'a, str>,
    pub feature: Cow<'a, str>,
    pub value_range: Option<SourceRange>,
    pub computed_length: Option<f64>,
}

[Experimental] Media query expression descriptor.

Fields

Media query expression value.

Media query expression units.

Media query expression feature.

The associated range of the value text in the enclosing stylesheet (if available).

Computed length of media query expression (if applicable).

Trait Implementations

impl<'a> Clone for MediaQueryExpression<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Debug for MediaQueryExpression<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for MediaQueryExpression<'a>
[src]

[src]

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

[src]

This method tests for !=.