pub struct CSSStyleSheetHeaderBuilder<'a> { /* private fields */ }Implementations§
Source§impl<'a> CSSStyleSheetHeaderBuilder<'a>
impl<'a> CSSStyleSheetHeaderBuilder<'a>
Sourcepub fn sourceMapURL(self, sourceMapURL: impl Into<Cow<'a, str>>) -> Self
pub fn sourceMapURL(self, sourceMapURL: impl Into<Cow<'a, str>>) -> Self
URL of source map associated with the stylesheet (if any).
Sourcepub fn ownerNode(self, ownerNode: BackendNodeId) -> Self
pub fn ownerNode(self, ownerNode: BackendNodeId) -> Self
The backend id for the owner node of the stylesheet.
Sourcepub fn hasSourceURL(self, hasSourceURL: bool) -> Self
pub fn hasSourceURL(self, hasSourceURL: bool) -> Self
Whether the sourceURL field value comes from the sourceURL comment.
Sourcepub fn loadingFailed(self, loadingFailed: bool) -> Self
pub fn loadingFailed(self, loadingFailed: 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