pub(crate) struct StyleSheetData {
resource_id: String,
href: Option<String>,
node_href: String,
disabled: bool,
title: String,
system: bool,
is_new: bool,
source_map_url: Option<String>,
style_sheet_index: i32,
}Expand description
Fields§
§resource_id: StringUnique identifier for this stylesheet.
href: Option<String>The URL of the stylesheet. Optional for inline stylesheets.
node_href: StringThe URL of the document that owns this stylesheet.
disabled: boolWhether the stylesheet is disabled.
title: StringThe title of the stylesheet.
system: boolWhether this is a browser stylesheet.
is_new: boolWhether this stylesheet was created by DevTools.
source_map_url: Option<String>Optional source map URL.
style_sheet_index: i32The index of this stylesheet in the document’s stylesheet list.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StyleSheetData
impl RefUnwindSafe for StyleSheetData
impl Send for StyleSheetData
impl Sync for StyleSheetData
impl Unpin for StyleSheetData
impl UnwindSafe for StyleSheetData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> MaybeBoxed<Box<T>> for T
impl<T> MaybeBoxed<Box<T>> for T
Source§fn maybe_boxed(self) -> Box<T>
fn maybe_boxed(self) -> Box<T>
Convert
Source§impl<T> MaybeBoxed<T> for T
impl<T> MaybeBoxed<T> for T
Source§fn maybe_boxed(self) -> T
fn maybe_boxed(self) -> T
Convert