#[repr(transparent)]pub struct NumTemporalLayers(pub u8);
Expand description
The number of temporal layers in the stream.
0
and 1
are special values.
Any other value represents the actual number of temporal layers.
Tuple Fields§
§0: u8
Implementations§
Source§impl NumTemporalLayers
impl NumTemporalLayers
Sourcepub const NotScalable: Self
pub const NotScalable: Self
The stream is not temporally scalable.
Trait Implementations§
Source§impl Clone for NumTemporalLayers
impl Clone for NumTemporalLayers
Source§fn clone(&self) -> NumTemporalLayers
fn clone(&self) -> NumTemporalLayers
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NumTemporalLayers
impl Debug for NumTemporalLayers
Source§impl From<NumTemporalLayers> for u8
impl From<NumTemporalLayers> for u8
Source§fn from(value: NumTemporalLayers) -> Self
fn from(value: NumTemporalLayers) -> Self
Converts to this type from the input type.
Source§impl From<u8> for NumTemporalLayers
impl From<u8> for NumTemporalLayers
Source§impl Hash for NumTemporalLayers
impl Hash for NumTemporalLayers
Source§impl Ord for NumTemporalLayers
impl Ord for NumTemporalLayers
Source§fn cmp(&self, other: &NumTemporalLayers) -> Ordering
fn cmp(&self, other: &NumTemporalLayers) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for NumTemporalLayers
impl PartialEq for NumTemporalLayers
Source§impl PartialOrd for NumTemporalLayers
impl PartialOrd for NumTemporalLayers
impl Copy for NumTemporalLayers
impl Eq for NumTemporalLayers
impl StructuralPartialEq for NumTemporalLayers
Auto Trait Implementations§
impl Freeze for NumTemporalLayers
impl RefUnwindSafe for NumTemporalLayers
impl Send for NumTemporalLayers
impl Sync for NumTemporalLayers
impl Unpin for NumTemporalLayers
impl UnwindSafe for NumTemporalLayers
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