Struct web_audio_api::spatial::AudioListener[][src]

pub struct AudioListener<'a> { /* fields omitted */ }

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

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

Implementations

impl<'a> AudioListener<'a>[src]

pub fn position_x(&self) -> &AudioParam<'_>[src]

pub fn position_y(&self) -> &AudioParam<'_>[src]

pub fn position_z(&self) -> &AudioParam<'_>[src]

pub fn forward_x(&self) -> &AudioParam<'_>[src]

pub fn forward_y(&self) -> &AudioParam<'_>[src]

pub fn forward_z(&self) -> &AudioParam<'_>[src]

pub fn up_x(&self) -> &AudioParam<'_>[src]

pub fn up_y(&self) -> &AudioParam<'_>[src]

pub fn up_z(&self) -> &AudioParam<'_>[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for AudioListener<'a>

impl<'a> !Send for AudioListener<'a>

impl<'a> !Sync for AudioListener<'a>

impl<'a> Unpin for AudioListener<'a>

impl<'a> !UnwindSafe for AudioListener<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.