pub struct AudioStream {
pub sample_rate: u32,
pub channels: String,
}
Expand description
Represents metadata that is specific to audio streams.
Fields§
§sample_rate: u32
The sample rate of the audio stream, e.g. 48000 (Hz)
channels: String
The number of channels of the audio stream, e.g. stereo
, 5.1
or 7.1
Trait Implementations§
Source§impl Clone for AudioStream
impl Clone for AudioStream
Source§fn clone(&self) -> AudioStream
fn clone(&self) -> AudioStream
Returns a copy 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 AudioStream
impl Debug for AudioStream
Source§impl PartialEq for AudioStream
impl PartialEq for AudioStream
impl StructuralPartialEq for AudioStream
Auto Trait Implementations§
impl Freeze for AudioStream
impl RefUnwindSafe for AudioStream
impl Send for AudioStream
impl Sync for AudioStream
impl Unpin for AudioStream
impl UnwindSafe for AudioStream
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