pub struct RodioBackend { /* private fields */ }Expand description
High-level audio backend using rodio.
Rodio handles device selection and stream management automatically, making it the easiest backend to use.
Implementations§
Source§impl RodioBackend
impl RodioBackend
Sourcepub fn try_default() -> Result<Self>
pub fn try_default() -> Result<Self>
Create a new rodio backend using the default output device.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RodioBackend
impl RefUnwindSafe for RodioBackend
impl Send for RodioBackend
impl Sync for RodioBackend
impl Unpin for RodioBackend
impl UnwindSafe for RodioBackend
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