pub struct NaluHeader {
    ref_idc: u8,
    type_: NaluType,
    idr_pic_flag: bool,
    header_bytes: usize,
}

Fields

ref_idc: u8type_: NaluTypeidr_pic_flag: boolheader_bytes: usize

Implementations

Get a reference to the nalu header’s ref idc.

Get a reference to the nalu header’s type.

Get a reference to the nalu header’s idr pic flag.

Get a reference to the nalu header’s header bytes.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.