pub struct InputStats {
pub duration: Option<f64>,
pub codec_params: Option<String>,
pub position: Option<f64>,
pub av_sync_drift: Option<f64>,
}Expand description
Input statistics
Fields§
§duration: Option<f64>Stream duration
codec_params: Option<String>Codec parameters
position: Option<f64>Current position
av_sync_drift: Option<f64>Audio/video sync drift
Trait Implementations§
Source§impl Clone for InputStats
impl Clone for InputStats
Source§fn clone(&self) -> InputStats
fn clone(&self) -> InputStats
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 InputStats
impl Debug for InputStats
Source§impl Default for InputStats
impl Default for InputStats
Source§fn default() -> InputStats
fn default() -> InputStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for InputStats
impl RefUnwindSafe for InputStats
impl Send for InputStats
impl Sync for InputStats
impl Unpin for InputStats
impl UnsafeUnpin for InputStats
impl UnwindSafe for InputStats
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