pub struct SoundPool { /* private fields */ }Implementations§
Source§impl SoundPoolStub
impl SoundPoolStub
pub fn new() -> Self
pub fn load( &mut self, fileloader: &mut impl FileLoader, name: &str, number: u16, ) -> bool
pub fn play(&mut self)
pub fn update(&mut self, _time_step: f64)
pub fn next_sample(&mut self) -> f32
pub fn enable_debug(&mut self)
pub fn disable_debug(&mut self)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SoundPoolStub
impl RefUnwindSafe for SoundPoolStub
impl Send for SoundPoolStub
impl Sync for SoundPoolStub
impl Unpin for SoundPoolStub
impl UnwindSafe for SoundPoolStub
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more