#[non_exhaustive]pub struct ManifestSelection {
pub period: usize,
pub variants: Vec<VariantInfo>,
pub chosen: Option<usize>,
pub audio: Vec<AudioRendition>,
pub chosen_audio: Option<usize>,
}Expand description
The selection made for one Period.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.period: usizePeriod index in the MPD.
variants: Vec<VariantInfo>Every selectable video Representation, MPD order.
chosen: Option<usize>Index into variants of the one playing.
audio: Vec<AudioRendition>Selectable audio sets.
chosen_audio: Option<usize>Index into audio of the one playing.
Trait Implementations§
Source§impl Clone for ManifestSelection
impl Clone for ManifestSelection
Source§impl Debug for ManifestSelection
impl Debug for ManifestSelection
Source§impl PartialEq for ManifestSelection
impl PartialEq for ManifestSelection
impl StructuralPartialEq for ManifestSelection
Auto Trait Implementations§
impl Freeze for ManifestSelection
impl RefUnwindSafe for ManifestSelection
impl Send for ManifestSelection
impl Sync for ManifestSelection
impl Unpin for ManifestSelection
impl UnsafeUnpin for ManifestSelection
impl UnwindSafe for ManifestSelection
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