pub struct AudioStreamInfo {
pub stream_index: usize,
pub sample_rate: u32,
pub channels: u16,
pub time_base: Rational,
pub frame_count: Option<u64>,
pub duration_ts: Option<i64>,
}Fields§
§stream_index: usize§sample_rate: u32§channels: u16§time_base: Rational§frame_count: Option<u64>§duration_ts: Option<i64>Trait 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 moreSource§impl Debug for AudioStreamInfo
impl Debug 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