Struct chrome_remote_interface_model::css::CssStyleSheetHeader [−][src]
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]
fn clone(&self) -> CssStyleSheetHeader
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for CssStyleSheetHeader
[src]
impl<'de> Deserialize<'de> for CssStyleSheetHeader
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for CssStyleSheetHeader
[src]
Auto Trait Implementations
impl RefUnwindSafe for CssStyleSheetHeader
[src]
impl Send for CssStyleSheetHeader
[src]
impl Sync for CssStyleSheetHeader
[src]
impl Unpin for CssStyleSheetHeader
[src]
impl UnwindSafe for CssStyleSheetHeader
[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> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
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>,