pub struct CSSStyleSheetHeaderBuilder<'a> { /* private fields */ }Implementations§
Source§impl<'a> CSSStyleSheetHeaderBuilder<'a>
impl<'a> CSSStyleSheetHeaderBuilder<'a>
Sourcepub fn source_map_url(self, source_map_url: impl Into<Cow<'a, str>>) -> Self
pub fn source_map_url(self, source_map_url: impl Into<Cow<'a, str>>) -> Self
URL of source map associated with the stylesheet (if any).
Sourcepub fn owner_node(self, owner_node: BackendNodeId) -> Self
pub fn owner_node(self, owner_node: BackendNodeId) -> Self
The backend id for the owner node of the stylesheet.
Sourcepub fn has_source_url(self, has_source_url: bool) -> Self
pub fn has_source_url(self, has_source_url: bool) -> Self
Whether the sourceURL field value comes from the sourceURL comment.
Sourcepub fn loading_failed(self, loading_failed: bool) -> Self
pub fn loading_failed(self, loading_failed: bool) -> Self
If the style sheet was loaded from a network resource, this indicates when the resource failed to load
pub fn build(self) -> CSSStyleSheetHeader<'a>
Auto Trait Implementations§
impl<'a> Freeze for CSSStyleSheetHeaderBuilder<'a>
impl<'a> RefUnwindSafe for CSSStyleSheetHeaderBuilder<'a>
impl<'a> Send for CSSStyleSheetHeaderBuilder<'a>
impl<'a> Sync for CSSStyleSheetHeaderBuilder<'a>
impl<'a> Unpin for CSSStyleSheetHeaderBuilder<'a>
impl<'a> UnsafeUnpin for CSSStyleSheetHeaderBuilder<'a>
impl<'a> UnwindSafe for CSSStyleSheetHeaderBuilder<'a>
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