pub struct AdoptedStyleSheetsModifiedEventParamsBuilder { /* private fields */ }Expand description
Builder for AdoptedStyleSheetsModifiedEventParams.
Implementations§
Source§impl AdoptedStyleSheetsModifiedEventParamsBuilder
impl AdoptedStyleSheetsModifiedEventParamsBuilder
Sourcepub fn adopted_style_sheets(&mut self, value: Vec<StyleSheetId>) -> &mut Self
pub fn adopted_style_sheets(&mut self, value: Vec<StyleSheetId>) -> &mut Self
New adoptedStyleSheets array.
Sourcepub fn build(
&self,
) -> Result<AdoptedStyleSheetsModifiedEventParams, AdoptedStyleSheetsModifiedEventParamsBuilderError>
pub fn build( &self, ) -> Result<AdoptedStyleSheetsModifiedEventParams, AdoptedStyleSheetsModifiedEventParamsBuilderError>
Builds a new AdoptedStyleSheetsModifiedEventParams.
§Errors
If a required field has not been initialized.
Trait Implementations§
Source§impl Clone for AdoptedStyleSheetsModifiedEventParamsBuilder
impl Clone for AdoptedStyleSheetsModifiedEventParamsBuilder
Source§fn clone(&self) -> AdoptedStyleSheetsModifiedEventParamsBuilder
fn clone(&self) -> AdoptedStyleSheetsModifiedEventParamsBuilder
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 AdoptedStyleSheetsModifiedEventParamsBuilder
impl RefUnwindSafe for AdoptedStyleSheetsModifiedEventParamsBuilder
impl Send for AdoptedStyleSheetsModifiedEventParamsBuilder
impl Sync for AdoptedStyleSheetsModifiedEventParamsBuilder
impl Unpin for AdoptedStyleSheetsModifiedEventParamsBuilder
impl UnsafeUnpin for AdoptedStyleSheetsModifiedEventParamsBuilder
impl UnwindSafe for AdoptedStyleSheetsModifiedEventParamsBuilder
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