#[repr(transparent)]pub struct NALUnitType(pub u8);Expand description
NAL (Network Abstraction Layer) unit types as defined by ISO/IEC 23008-2 Table 7-1.
Tuple Fields§
§0: u8Implementations§
Source§impl NALUnitType
 
impl NALUnitType
Sourcepub const TrailN: Self
 
pub const TrailN: Self
Coded slice segment of a non-TSA, non-STSA trailing picture
NAL unit type class: VCL
Sourcepub const TrailR: Self
 
pub const TrailR: Self
Coded slice segment of a non-TSA, non-STSA trailing picture
NAL unit type class: VCL
Sourcepub const RsvVclR11: Self
 
pub const RsvVclR11: Self
Reserved non-IRAP sub-layer reference VCL NAL unit types
NAL unit type class: VCL
Sourcepub const RsvVclR13: Self
 
pub const RsvVclR13: Self
Reserved non-IRAP sub-layer reference VCL NAL unit types
NAL unit type class: VCL
Sourcepub const RsvVclR15: Self
 
pub const RsvVclR15: Self
Reserved non-IRAP sub-layer reference VCL NAL unit types
NAL unit type class: VCL
Sourcepub const RsvIrapVcl22: Self
 
pub const RsvIrapVcl22: Self
Reserved IRAP VCL NAL unit types
NAL unit type class: VCL
Sourcepub const RsvIrapVcl23: Self
 
pub const RsvIrapVcl23: Self
Reserved IRAP VCL NAL unit types
NAL unit type class: VCL
Sourcepub const PrefixSeiNut: Self
 
pub const PrefixSeiNut: Self
Supplemental enhancement information
NAL unit type class: non-VCL
Sourcepub const SuffixSeiNut: Self
 
pub const SuffixSeiNut: Self
Supplemental enhancement information
NAL unit type class: non-VCL
Trait Implementations§
Source§impl Clone for NALUnitType
 
impl Clone for NALUnitType
Source§fn clone(&self) -> NALUnitType
 
fn clone(&self) -> NALUnitType
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 NALUnitType
 
impl Debug for NALUnitType
Source§impl From<NALUnitType> for u8
 
impl From<NALUnitType> for u8
Source§fn from(value: NALUnitType) -> Self
 
fn from(value: NALUnitType) -> Self
Converts to this type from the input type.
Source§impl From<u8> for NALUnitType
 
impl From<u8> for NALUnitType
Source§impl Hash for NALUnitType
 
impl Hash for NALUnitType
Source§impl Ord for NALUnitType
 
impl Ord for NALUnitType
Source§fn cmp(&self, other: &NALUnitType) -> Ordering
 
fn cmp(&self, other: &NALUnitType) -> 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 NALUnitType
 
impl PartialEq for NALUnitType
Source§impl PartialOrd for NALUnitType
 
impl PartialOrd for NALUnitType
impl Copy for NALUnitType
impl Eq for NALUnitType
impl StructuralPartialEq for NALUnitType
Auto Trait Implementations§
impl Freeze for NALUnitType
impl RefUnwindSafe for NALUnitType
impl Send for NALUnitType
impl Sync for NALUnitType
impl Unpin for NALUnitType
impl UnwindSafe for NALUnitType
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