pub struct AudioContextRegistration { /* private fields */ }
Expand description

Handle of the node::AudioNode to its associated BaseAudioContext.

This allows for communication with the render thread and lifetime management.

The only way to construct this object is by calling ConcreteBaseAudioContext::register

Implementations

get the audio node id of the registration

get the context of the registration

Trait Implementations

Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.