Struct chrome_remote_interface_model::css::CssStyleSheetHeader[][src]

pub struct CssStyleSheetHeader { /* fields omitted */ }
This is supported on crate features experimental and CSS and DOM and Page only.

CSS stylesheet metainformation.

Implementations

impl CssStyleSheetHeader[src]

pub fn builder() -> CssStyleSheetHeaderBuilder[src]

pub fn style_sheet_id(&self) -> &StyleSheetId[src]

The stylesheet identifier.

pub fn frame_id(&self) -> &FrameId[src]

Owner frame identifier.

pub fn source_url(&self) -> &str[src]

Stylesheet resource URL.

pub fn source_map_url(&self) -> Option<&String>[src]

URL of source map associated with the stylesheet (if any).

pub fn origin(&self) -> &StyleSheetOrigin[src]

Stylesheet origin.

pub fn title(&self) -> &str[src]

Stylesheet title.

pub fn owner_node(&self) -> Option<&BackendNodeId>[src]

The backend id for the owner node of the stylesheet.

pub fn disabled(&self) -> bool[src]

Denotes whether the stylesheet is disabled.

pub fn has_source_url(&self) -> Option<&bool>[src]

Whether the sourceURL field value comes from the sourceURL comment.

pub fn is_inline(&self) -> bool[src]

Whether this stylesheet is created for STYLE tag by parser. This flag is not set for document.written STYLE tags.

pub fn is_mutable(&self) -> bool[src]

Whether this stylesheet is mutable. Inline stylesheets become mutable after they have been modified via CSSOM API.

element's stylesheets become mutable only if DevTools modifies them. Constructed stylesheets (new CSSStyleSheet()) are mutable immediately after creation.

pub fn is_constructed(&self) -> bool[src]

Whether this stylesheet is a constructed stylesheet (created using new CSSStyleSheet()).

pub fn start_line(&self) -> f64[src]

Line offset of the stylesheet within the resource (zero based).

pub fn start_column(&self) -> f64[src]

Column offset of the stylesheet within the resource (zero based).

pub fn length(&self) -> f64[src]

Size of the content (in characters).

pub fn end_line(&self) -> f64[src]

Line offset of the end of the stylesheet within the resource (zero based).

pub fn end_column(&self) -> f64[src]

Column offset of the end of the stylesheet within the resource (zero based).

Trait Implementations

impl Clone for CssStyleSheetHeader[src]

impl Debug for CssStyleSheetHeader[src]

impl<'de> Deserialize<'de> for CssStyleSheetHeader[src]

impl Serialize for CssStyleSheetHeader[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.