pub struct StreamInfo {
pub index: usize,
pub kind: StreamKind,
pub time_base: TimeBase,
pub duration: Option<i64>,
pub decoder: String,
}Expand description
Selected stream metadata, without assuming a constant frame rate.
Fields§
§index: usizeZero-based container stream index.
kind: StreamKindSelected media kind.
time_base: TimeBaseStream tick unit.
duration: Option<i64>Duration in ticks when available.
decoder: StringNative decoder name.
Trait Implementations§
Source§impl Clone for StreamInfo
impl Clone for StreamInfo
Auto Trait Implementations§
impl Forget for StreamInfo
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