pub enum RenditionMode {
Auto,
Pinned(String),
Off,
}Expand description
How the rendition is chosen.
Variants§
Auto
Follows the link.
Without network signals, holds the best rendition that fits.
Pinned(String)
Holds the named rendition.
If it cannot be played, plays as Auto would, reports
why, and returns to it when it becomes available.
Off
Plays no video, and leaves audio unaffected (a tile scrolled off screen).
Implementations§
Trait Implementations§
Source§impl Clone for RenditionMode
impl Clone for RenditionMode
Source§impl Debug for RenditionMode
impl Debug for RenditionMode
Source§impl Default for RenditionMode
impl Default for RenditionMode
impl Eq for RenditionMode
Source§impl PartialEq for RenditionMode
impl PartialEq for RenditionMode
impl StructuralPartialEq for RenditionMode
Auto Trait Implementations§
impl Freeze for RenditionMode
impl RefUnwindSafe for RenditionMode
impl Send for RenditionMode
impl Sync for RenditionMode
impl Unpin for RenditionMode
impl UnsafeUnpin for RenditionMode
impl UnwindSafe for RenditionMode
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