#[non_exhaustive]pub struct Selection {
pub variants: Vec<RepRef>,
pub chosen_variant: Option<usize>,
pub audio_sets: Vec<AudioSet>,
pub chosen_audio: Option<RepRef>,
pub dropped: Vec<Dropped>,
}Expand description
The result of select 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.variants: Vec<RepRef>Every selectable video Representation, MPD order.
chosen_variant: Option<usize>Index into variants of the chosen one.
audio_sets: Vec<AudioSet>Selectable audio sets.
chosen_audio: Option<RepRef>The chosen audio Representation.
dropped: Vec<Dropped>Everything dropped, with reasons.
Trait Implementations§
impl Eq for Selection
impl StructuralPartialEq for Selection
Auto Trait Implementations§
impl Forget for Selection
impl Freeze for Selection
impl Move for Selection
impl RefUnwindSafe for Selection
impl Send for Selection
impl Sync for Selection
impl Unpin for Selection
impl UnsafeUnpin for Selection
impl UnwindSafe for Selection
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