Struct cros_codecs::decoders::h264::parser::NaluHeader
source · [−]Fields
ref_idc: u8
type_: NaluType
idr_pic_flag: bool
header_bytes: usize
Implementations
sourceimpl NaluHeader
impl NaluHeader
sourcepub fn idr_pic_flag(&self) -> bool
pub fn idr_pic_flag(&self) -> bool
Get a reference to the nalu header’s idr pic flag.
sourcepub fn header_bytes(&self) -> usize
pub fn header_bytes(&self) -> usize
Get a reference to the nalu header’s header bytes.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for NaluHeader
impl Send for NaluHeader
impl Sync for NaluHeader
impl Unpin for NaluHeader
impl UnwindSafe for NaluHeader
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more