pub struct AudioStreamInfo {
pub pid: u16,
pub stream_type: u8,
pub kind: AudioCodecKind,
}Expand description
Per-audio-stream info gathered from one PMT entry. kind is the
codec family — extraction reads the first frame to derive
codec_private / sample_rate / channels.
Fields§
§pid: u16§stream_type: u8§kind: AudioCodecKindTrait Implementations§
Source§impl Clone for AudioStreamInfo
impl Clone for AudioStreamInfo
Source§fn clone(&self) -> AudioStreamInfo
fn clone(&self) -> AudioStreamInfo
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 moreimpl Copy for AudioStreamInfo
Source§impl Debug for AudioStreamInfo
impl Debug for AudioStreamInfo
impl Eq for AudioStreamInfo
Source§impl PartialEq for AudioStreamInfo
impl PartialEq for AudioStreamInfo
Source§fn eq(&self, other: &AudioStreamInfo) -> bool
fn eq(&self, other: &AudioStreamInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AudioStreamInfo
Auto Trait Implementations§
impl Freeze for AudioStreamInfo
impl RefUnwindSafe for AudioStreamInfo
impl Send for AudioStreamInfo
impl Sync for AudioStreamInfo
impl Unpin for AudioStreamInfo
impl UnsafeUnpin for AudioStreamInfo
impl UnwindSafe for AudioStreamInfo
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