pub struct AudioNodeWillBeDestroyedEventParamsBuilder { /* private fields */ }Expand description
Builder for AudioNodeWillBeDestroyedEventParams.
Implementations§
Source§impl AudioNodeWillBeDestroyedEventParamsBuilder
impl AudioNodeWillBeDestroyedEventParamsBuilder
pub fn context_id(&mut self, value: GraphObjectId) -> &mut Self
pub fn node_id(&mut self, value: GraphObjectId) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<AudioNodeWillBeDestroyedEventParams, AudioNodeWillBeDestroyedEventParamsBuilderError>
pub fn build( &self, ) -> Result<AudioNodeWillBeDestroyedEventParams, AudioNodeWillBeDestroyedEventParamsBuilderError>
Builds a new AudioNodeWillBeDestroyedEventParams.
§Errors
If a required field has not been initialized.
Trait Implementations§
Source§impl Clone for AudioNodeWillBeDestroyedEventParamsBuilder
impl Clone for AudioNodeWillBeDestroyedEventParamsBuilder
Source§fn clone(&self) -> AudioNodeWillBeDestroyedEventParamsBuilder
fn clone(&self) -> AudioNodeWillBeDestroyedEventParamsBuilder
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 AudioNodeWillBeDestroyedEventParamsBuilder
impl RefUnwindSafe for AudioNodeWillBeDestroyedEventParamsBuilder
impl Send for AudioNodeWillBeDestroyedEventParamsBuilder
impl Sync for AudioNodeWillBeDestroyedEventParamsBuilder
impl Unpin for AudioNodeWillBeDestroyedEventParamsBuilder
impl UnsafeUnpin for AudioNodeWillBeDestroyedEventParamsBuilder
impl UnwindSafe for AudioNodeWillBeDestroyedEventParamsBuilder
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