Struct freenukum::sound::SoundPlayer
source · [−]pub struct SoundPlayer<'a> { /* private fields */ }
Implementations
sourceimpl<'a> SoundPlayer<'a>
impl<'a> SoundPlayer<'a>
pub fn create(
audio_subsystem: &AudioSubsystem,
soundcache: &'a SoundCache
) -> Self
pub fn play_sound(&mut self, index: SoundIndex)
Auto Trait Implementations
impl<'a> RefUnwindSafe for SoundPlayer<'a>
impl<'a> !Send for SoundPlayer<'a>
impl<'a> !Sync for SoundPlayer<'a>
impl<'a> Unpin for SoundPlayer<'a>
impl<'a> UnwindSafe for SoundPlayer<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more