Struct chrome_remote_interface_model::css::CssStyleSheetHeaderBuilder[][src]

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

Implementations

impl CssStyleSheetHeaderBuilder[src]

pub fn style_sheet_id(&mut self, v: StyleSheetId) -> &mut Self[src]

The stylesheet identifier.

pub fn frame_id(&mut self, v: FrameId) -> &mut Self[src]

Owner frame identifier.

pub fn source_url(&mut self, v: String) -> &mut Self[src]

Stylesheet resource URL.

pub fn source_map_url(&mut self, v: String) -> &mut Self[src]

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

pub fn origin(&mut self, v: StyleSheetOrigin) -> &mut Self[src]

Stylesheet origin.

pub fn title(&mut self, v: String) -> &mut Self[src]

Stylesheet title.

pub fn owner_node(&mut self, v: BackendNodeId) -> &mut Self[src]

The backend id for the owner node of the stylesheet.

pub fn disabled(&mut self, v: bool) -> &mut Self[src]

Denotes whether the stylesheet is disabled.

pub fn has_source_url(&mut self, v: bool) -> &mut Self[src]

Whether the sourceURL field value comes from the sourceURL comment.

pub fn is_inline(&mut self, v: bool) -> &mut Self[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(&mut self, v: bool) -> &mut Self[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(&mut self, v: bool) -> &mut Self[src]

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

pub fn start_line(&mut self, v: f64) -> &mut Self[src]

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

pub fn start_column(&mut self, v: f64) -> &mut Self[src]

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

pub fn length(&mut self, v: f64) -> &mut Self[src]

Size of the content (in characters).

pub fn end_line(&mut self, v: f64) -> &mut Self[src]

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

pub fn end_column(&mut self, v: f64) -> &mut Self[src]

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

pub fn build(&mut self) -> Result<CssStyleSheetHeader, &'static str>[src]

Trait Implementations

impl Clone for CssStyleSheetHeaderBuilder[src]

impl Debug for CssStyleSheetHeaderBuilder[src]

impl Default for CssStyleSheetHeaderBuilder[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> 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.