pub struct StyleSheetAddedEventParamsBuilder { /* private fields */ }Expand description
Builder for StyleSheetAddedEventParams.
Implementations§
Source§impl StyleSheetAddedEventParamsBuilder
impl StyleSheetAddedEventParamsBuilder
Sourcepub fn header(&mut self, value: CssStyleSheetHeader) -> &mut Self
pub fn header(&mut self, value: CssStyleSheetHeader) -> &mut Self
Added stylesheet metainfo.
Sourcepub fn build(
&self,
) -> Result<StyleSheetAddedEventParams, StyleSheetAddedEventParamsBuilderError>
pub fn build( &self, ) -> Result<StyleSheetAddedEventParams, StyleSheetAddedEventParamsBuilderError>
Trait Implementations§
Source§impl Clone for StyleSheetAddedEventParamsBuilder
impl Clone for StyleSheetAddedEventParamsBuilder
Source§fn clone(&self) -> StyleSheetAddedEventParamsBuilder
fn clone(&self) -> StyleSheetAddedEventParamsBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for StyleSheetAddedEventParamsBuilder
impl RefUnwindSafe for StyleSheetAddedEventParamsBuilder
impl Send for StyleSheetAddedEventParamsBuilder
impl Sync for StyleSheetAddedEventParamsBuilder
impl Unpin for StyleSheetAddedEventParamsBuilder
impl UnsafeUnpin for StyleSheetAddedEventParamsBuilder
impl UnwindSafe for StyleSheetAddedEventParamsBuilder
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