[−][src]Trait general_audio_static::AudioPlayer
Associated Types
type Sound
type Handle: AudioHandle
Required methods
#[must_use]fn play(&self, sound: &Self::Sound) -> Self::Handle
#[must_use]fn play_loop(&self, sound: &Self::Sound) -> Self::Handle
fn load_sound(&self, bytes: &'static [u8]) -> Self::Sound
Implementations on Foreign Types
impl<A> AudioPlayer for Option<A> where
A: AudioPlayer,
[src]
A: AudioPlayer,
type Sound = Option<<A as AudioPlayer>::Sound>
type Handle = Option<<A as AudioPlayer>::Handle>
fn play(
&self,
sound: &<Option<A> as AudioPlayer>::Sound
) -> <Option<A> as AudioPlayer>::Handle
[src]
&self,
sound: &<Option<A> as AudioPlayer>::Sound
) -> <Option<A> as AudioPlayer>::Handle
fn play_loop(
&self,
sound: &<Option<A> as AudioPlayer>::Sound
) -> <Option<A> as AudioPlayer>::Handle
[src]
&self,
sound: &<Option<A> as AudioPlayer>::Sound
) -> <Option<A> as AudioPlayer>::Handle