pub enum PrimaryPicType {
I = 0,
IP = 1,
IPB = 2,
SI = 3,
SISP = 4,
ISI = 5,
ISIPSP = 6,
ISIPSPB = 7,
}Expand description
Indicates which slice types may be present in the primary coded picture of the access unit (Table 7-5).
Variants§
I = 0
I slices only
IP = 1
I, P slices
IPB = 2
I, P, B slices
SI = 3
SI slices only
SISP = 4
SI, SP slices
ISI = 5
I, SI slices
ISIPSP = 6
I, SI, P, SP slices
ISIPSPB = 7
I, SI, P, SP, B slices
Implementations§
Source§impl PrimaryPicType
impl PrimaryPicType
pub fn from_id(id: u8) -> Result<PrimaryPicType, PrimaryPicTypeError>
pub fn id(self) -> u8
Trait Implementations§
Source§impl Clone for PrimaryPicType
impl Clone for PrimaryPicType
Source§fn clone(&self) -> PrimaryPicType
fn clone(&self) -> PrimaryPicType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PrimaryPicType
Source§impl Debug for PrimaryPicType
impl Debug for PrimaryPicType
impl Eq for PrimaryPicType
Source§impl PartialEq for PrimaryPicType
impl PartialEq for PrimaryPicType
impl StructuralPartialEq for PrimaryPicType
Auto Trait Implementations§
impl Freeze for PrimaryPicType
impl RefUnwindSafe for PrimaryPicType
impl Send for PrimaryPicType
impl Sync for PrimaryPicType
impl Unpin for PrimaryPicType
impl UnsafeUnpin for PrimaryPicType
impl UnwindSafe for PrimaryPicType
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