pub struct Format311Decoder { /* private fields */ }Expand description
Decoder for WFDB Format 311 (packed 10-bit samples, alternative layout).
Three 10-bit samples are packed into a 32-bit word in little-endian order.
Implementations§
Trait Implementations§
Source§impl Clone for Format311Decoder
impl Clone for Format311Decoder
Source§fn clone(&self) -> Format311Decoder
fn clone(&self) -> Format311Decoder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Format311Decoder
impl Debug for Format311Decoder
Source§impl Default for Format311Decoder
impl Default for Format311Decoder
Source§impl FormatDecoder for Format311Decoder
impl FormatDecoder for Format311Decoder
Source§fn decode_buf(
&mut self,
reader: &mut dyn BufRead,
output: &mut [Sample],
) -> Result<usize>
fn decode_buf( &mut self, reader: &mut dyn BufRead, output: &mut [Sample], ) -> Result<usize>
Decode samples into a caller-provided buffer (low-level, zero-copy). Read more
Source§fn bytes_per_sample(&self) -> Option<usize>
fn bytes_per_sample(&self) -> Option<usize>
Get the number of bytes required to decode one sample. Read more
Source§fn bytes_per_frame(&self, num_signals: usize) -> Option<usize>
fn bytes_per_frame(&self, num_signals: usize) -> Option<usize>
Get the number of bytes required for one frame of interleaved signals. Read more
Auto Trait Implementations§
impl Freeze for Format311Decoder
impl RefUnwindSafe for Format311Decoder
impl Send for Format311Decoder
impl Sync for Format311Decoder
impl Unpin for Format311Decoder
impl UnwindSafe for Format311Decoder
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