#[non_exhaustive]pub enum TemporalLayers {
L1T1,
L1T2,
L1T3,
}Expand description
Temporal layering.
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.
L1T1
One layer: every frame predicts from the previous one.
L1T2
Two layers: 0, 1, 0, 1… Layer 1 frames are never referenced, so a receiver can drop them for half the frame rate.
L1T3
Three layers: 0, 2, 1, 2… Drop layer 2 for half the frame rate, and layers 1 and 2 for a quarter.
Implementations§
Trait Implementations§
Source§impl Clone for TemporalLayers
impl Clone for TemporalLayers
impl Copy for TemporalLayers
Source§impl Debug for TemporalLayers
impl Debug for TemporalLayers
Source§impl Default for TemporalLayers
impl Default for TemporalLayers
impl Eq for TemporalLayers
Source§impl PartialEq for TemporalLayers
impl PartialEq for TemporalLayers
impl StructuralPartialEq for TemporalLayers
Auto Trait Implementations§
impl Forget for TemporalLayers
impl Freeze for TemporalLayers
impl Move for TemporalLayers
impl RefUnwindSafe for TemporalLayers
impl Send for TemporalLayers
impl Sync for TemporalLayers
impl Unpin for TemporalLayers
impl UnsafeUnpin for TemporalLayers
impl UnwindSafe for TemporalLayers
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