Struct chrome_remote_interface_model::css::CssStyleSheetHeaderBuilder [−][src]
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]
fn clone(&self) -> CssStyleSheetHeaderBuilder
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for CssStyleSheetHeaderBuilder
[src]
impl Default for CssStyleSheetHeaderBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for CssStyleSheetHeaderBuilder
[src]
impl Send for CssStyleSheetHeaderBuilder
[src]
impl Sync for CssStyleSheetHeaderBuilder
[src]
impl Unpin for CssStyleSheetHeaderBuilder
[src]
impl UnwindSafe for CssStyleSheetHeaderBuilder
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,