pub enum AudioSink {
None,
}Variants
None
Implementations
sourceimpl AudioSink
impl AudioSink
pub fn pause(&mut self) -> Result<()>
pub fn set_volume(&mut self, volume: f32) -> Result<()>
pub fn queue(&mut self, buffer: AudioBuffer) -> Result<()>
pub fn repeat(&mut self, buffer: AudioBuffer) -> Result<()>
pub fn play(&mut self) -> Result<()>
pub fn stop(&mut self) -> Result<()>
pub fn empty(&self) -> Result<bool>
pub fn detach(self) -> Result<()>
Auto Trait Implementations
impl RefUnwindSafe for AudioSink
impl Send for AudioSink
impl Sync for AudioSink
impl Unpin for AudioSink
impl UnwindSafe for AudioSink
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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