pub enum Sound {
Memory(Arc<Audio>),
Stream(Box<dyn Stream>),
}Expand description
What a voice plays.
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Sound
impl !Sync for Sound
impl !UnwindSafe for Sound
impl Freeze for Sound
impl Send for Sound
impl Unpin for Sound
impl UnsafeUnpin for Sound
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