pub enum DecodingPurpose {
Live,
Playback,
Background,
}Expand description
What the pictures are for, which decides how the system runs the decoder. These are settings the systems take, not promises.
Variants§
Live
Shown as they arrive, as in a call: each picture comes out as soon as the stream’s order allows.
Playback
Played at the video’s own rate.
Background
Not watched while decoding, as an export or thumbnails: the system may take its time to save power.
Trait Implementations§
Source§impl Clone for DecodingPurpose
impl Clone for DecodingPurpose
impl Copy for DecodingPurpose
Source§impl Debug for DecodingPurpose
impl Debug for DecodingPurpose
Source§impl Default for DecodingPurpose
impl Default for DecodingPurpose
impl Eq for DecodingPurpose
Source§impl Hash for DecodingPurpose
impl Hash for DecodingPurpose
Source§impl PartialEq for DecodingPurpose
impl PartialEq for DecodingPurpose
impl StructuralPartialEq for DecodingPurpose
Auto Trait Implementations§
impl Forget for DecodingPurpose
impl Freeze for DecodingPurpose
impl Move for DecodingPurpose
impl RefUnwindSafe for DecodingPurpose
impl Send for DecodingPurpose
impl Sync for DecodingPurpose
impl Unpin for DecodingPurpose
impl UnsafeUnpin for DecodingPurpose
impl UnwindSafe for DecodingPurpose
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.