pub struct RAMReader { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl MIDIReader for RAMReader
impl MIDIReader for RAMReader
type ByteReader = FullRamTrackReader
fn open_reader<'a>( &self, track_number: Option<u32>, start: u64, len: u64, ) -> FullRamTrackReader
fn read_bytes_to( &self, pos: u64, bytes: Vec<u8>, ) -> Result<Vec<u8>, MIDILoadError>
fn len(&self) -> u64
fn read_bytes(&self, pos: u64, count: usize) -> Result<Vec<u8>, MIDILoadError>
fn is_empty(&self) -> bool
Auto Trait Implementations§
impl Freeze for RAMReader
impl RefUnwindSafe for RAMReader
impl Send for RAMReader
impl Sync for RAMReader
impl Unpin for RAMReader
impl UnwindSafe for RAMReader
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