Struct chrome_remote_interface_model::css::CssMedia [−][src]
pub struct CssMedia { /* fields omitted */ }
This is supported on crate features
experimental
and CSS
and DOM
and Page
only.Expand description
CSS media rule descriptor.
Implementations
Source of the media query: “mediaRule” if specified by a @media rule, “importRule” if specified by an @import rule, “linkedSheet” if specified by a “media” attribute in a linked stylesheet’s LINK tag, “inlineSheet” if specified by a “media” attribute in an inline stylesheet’s STYLE tag.
URL of the document containing the media query description.
The associated rule (@media or @import) header range in the enclosing stylesheet (if available).
Identifier of the stylesheet containing this object (if exists).
Array of media queries.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for CssMedia
impl UnwindSafe for CssMedia
Blanket Implementations
Mutably borrows from an owned value. Read more