pub struct DSFReader { /* private fields */ }Implementations§
Trait Implementations§
Source§impl DSDReader for DSFReader
impl DSDReader for DSFReader
fn open(&mut self, format: &mut DSDFormat) -> Result<()>
fn read( &mut self, data: &mut [&mut [u8]], bytes_per_channel: usize, ) -> Result<usize>
fn seek_percent(&mut self, percent: f64) -> Result<()>
fn seek_samples(&mut self, sample_index: u64) -> Result<()>
fn get_position_frames(&self) -> u64
fn get_position_percent(&self) -> f64
Auto Trait Implementations§
impl Freeze for DSFReader
impl RefUnwindSafe for DSFReader
impl Send for DSFReader
impl Sync for DSFReader
impl Unpin for DSFReader
impl UnwindSafe for DSFReader
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