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

Represents the position and orientation of the person listening to the audio scene

All PannerNode objects spatialize in relation to the BaseAudioContext’s listener.

Usage

For example usage, check the PannerNode docs.

Implementations

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.