pub struct PlaybackState { /* private fields */ }Implementations§
Source§impl PlaybackState
impl PlaybackState
pub const VOICES: usize = 64usize
pub fn iter<'playback, 'song, const INTERPOLATION: u8>( &'playback mut self, song: &'song Song, ) -> PlaybackIter<'song, 'playback, INTERPOLATION> ⓘ
pub fn get_status(&self) -> PlaybackStatus
pub fn set_samplerate(&mut self, samplerate: NonZero<u32>)
pub fn is_done(&self) -> bool
Source§impl PlaybackState
impl PlaybackState
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PlaybackState
impl RefUnwindSafe for PlaybackState
impl Send for PlaybackState
impl Sync for PlaybackState
impl Unpin for PlaybackState
impl UnwindSafe for PlaybackState
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