Struct freenukum::sound::SoundCache
source · [−]pub struct SoundCache { /* private fields */ }
Implementations
sourceimpl SoundCache
impl SoundCache
pub fn load_from_path(path: &Path) -> Result<Self>
pub fn get_sound(&self, index: SoundIndex) -> Option<&Vec<i16>>
Auto Trait Implementations
impl RefUnwindSafe for SoundCache
impl Send for SoundCache
impl Sync for SoundCache
impl Unpin for SoundCache
impl UnwindSafe for SoundCache
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