[][src]Struct amethyst_audio::AudioListener

pub struct AudioListener {
    pub left_ear: Point3<f32>,
    pub right_ear: Point3<f32>,
}

An audio listener, add this component to the local player character.

Fields

left_ear: Point3<f32>

Position of the left ear relative to the global transform on this entity.

right_ear: Point3<f32>

Position of the right ear relative to the global transform on this entity.

Trait Implementations

impl Default for AudioListener[src]

impl Debug for AudioListener[src]

impl Component for AudioListener[src]

type Storage = HashMapStorage<Self>

Associated storage type for this component.

Auto Trait Implementations

impl Unpin for AudioListener

impl Sync for AudioListener

impl Send for AudioListener

impl UnwindSafe for AudioListener

impl RefUnwindSafe for AudioListener

Blanket Implementations

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.

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

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

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

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

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[src]

impl<T> Resource for T where
    T: Any + Send + Sync
[src]

impl<T> Any for T where
    T: Any
[src]

impl<T> TryDefault for T where
    T: Default
[src]

fn unwrap_default() -> Self[src]

Calls try_default and panics on an error case.

impl<T> Event for T where
    T: Send + Sync + 'static, 
[src]

impl<T> Erased for T[src]