#[non_exhaustive]pub enum ElementaryStream {
VideoStream(Box<VideoStream>),
AudioStream(Box<AudioStream>),
TextStream(Box<TextStream>),
}
Expand description
Encoding of an audio, video, or text track.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
VideoStream(Box<VideoStream>)
Encoding of a video stream.
AudioStream(Box<AudioStream>)
Encoding of an audio stream.
TextStream(Box<TextStream>)
Encoding of a text stream. For example, closed captions or subtitles.
Trait Implementations§
Source§impl Clone for ElementaryStream
impl Clone for ElementaryStream
Source§fn clone(&self) -> ElementaryStream
fn clone(&self) -> ElementaryStream
Returns a duplicate of the value. Read more
1.0.0 · 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 ElementaryStream
impl Debug for ElementaryStream
Source§impl PartialEq for ElementaryStream
impl PartialEq for ElementaryStream
impl StructuralPartialEq for ElementaryStream
Auto Trait Implementations§
impl Freeze for ElementaryStream
impl RefUnwindSafe for ElementaryStream
impl Send for ElementaryStream
impl Sync for ElementaryStream
impl Unpin for ElementaryStream
impl UnwindSafe for ElementaryStream
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