pub enum StreamSelector {
All,
Kind(MediaKind),
Index(usize),
}Expand description
Which tracks of an input to package.
Variants§
All
Every audio, video, and text track (sheathe default).
Kind(MediaKind)
First track of this kind.
Index(usize)
Zero-based stream index in demuxer order.
Trait Implementations§
Source§impl Clone for StreamSelector
impl Clone for StreamSelector
Source§fn clone(&self) -> StreamSelector
fn clone(&self) -> StreamSelector
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 StreamSelector
impl Debug for StreamSelector
Source§impl Default for StreamSelector
impl Default for StreamSelector
Source§fn default() -> StreamSelector
fn default() -> StreamSelector
Returns the “default value” for a type. Read more
impl Eq for StreamSelector
Source§impl PartialEq for StreamSelector
impl PartialEq for StreamSelector
impl StructuralPartialEq for StreamSelector
Auto Trait Implementations§
impl Freeze for StreamSelector
impl RefUnwindSafe for StreamSelector
impl Send for StreamSelector
impl Sync for StreamSelector
impl Unpin for StreamSelector
impl UnsafeUnpin for StreamSelector
impl UnwindSafe for StreamSelector
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