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