pub struct ContextChangedEventParamsBuilder { /* private fields */ }Expand description
Builder for ContextChangedEventParams.
Implementations§
Source§impl ContextChangedEventParamsBuilder
impl ContextChangedEventParamsBuilder
pub fn context(&mut self, value: BaseAudioContext) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<ContextChangedEventParams, ContextChangedEventParamsBuilderError>
pub fn build( &self, ) -> Result<ContextChangedEventParams, ContextChangedEventParamsBuilderError>
Trait Implementations§
Source§impl Clone for ContextChangedEventParamsBuilder
impl Clone for ContextChangedEventParamsBuilder
Source§fn clone(&self) -> ContextChangedEventParamsBuilder
fn clone(&self) -> ContextChangedEventParamsBuilder
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 ContextChangedEventParamsBuilder
impl RefUnwindSafe for ContextChangedEventParamsBuilder
impl Send for ContextChangedEventParamsBuilder
impl Sync for ContextChangedEventParamsBuilder
impl Unpin for ContextChangedEventParamsBuilder
impl UnsafeUnpin for ContextChangedEventParamsBuilder
impl UnwindSafe for ContextChangedEventParamsBuilder
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