pub struct StreamInfo {
pub min_block_size: u32,
pub max_block_size: u32,
pub min_frame_size: u32,
pub max_frame_size: u32,
pub sample_rate: u32,
pub channels: u32,
pub bits_per_sample: u32,
pub total_samples: u64,
pub md5: [u8; 16],
}Expand description
Parsed STREAMINFO.
Fields§
§min_block_size: u32§max_block_size: u32§min_frame_size: u32§max_frame_size: u32§sample_rate: u32§channels: u32§bits_per_sample: u32§total_samples: u64§md5: [u8; 16]Trait Implementations§
Source§impl Clone for StreamInfo
impl Clone for StreamInfo
Source§fn clone(&self) -> StreamInfo
fn clone(&self) -> StreamInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StreamInfo
impl Debug for StreamInfo
Source§impl Default for StreamInfo
impl Default for StreamInfo
Source§fn default() -> StreamInfo
fn default() -> StreamInfo
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StreamInfo
impl RefUnwindSafe for StreamInfo
impl Send for StreamInfo
impl Sync for StreamInfo
impl Unpin for StreamInfo
impl UnsafeUnpin for StreamInfo
impl UnwindSafe for StreamInfo
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