pub struct DecoderState {
pub total_samples: u64,
pub decoded_samples: u64,
pub current_bitrate: u32,
}
Expand description
Decoder runtime state
Fields§
§total_samples: u64
Total number of samples in the stream
decoded_samples: u64
Number of samples decoded so far
current_bitrate: u32
Current bitrate in bits per second
Trait Implementations§
Source§impl Clone for DecoderState
impl Clone for DecoderState
Source§fn clone(&self) -> DecoderState
fn clone(&self) -> DecoderState
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 DecoderState
impl Debug for DecoderState
impl Copy for DecoderState
Auto Trait Implementations§
impl Freeze for DecoderState
impl RefUnwindSafe for DecoderState
impl Send for DecoderState
impl Sync for DecoderState
impl Unpin for DecoderState
impl UnwindSafe for DecoderState
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