Struct h264_reader::nal::NalHeader
source · pub struct NalHeader(/* private fields */);
Implementations§
source§impl NalHeader
impl NalHeader
pub fn new(header_value: u8) -> Result<NalHeader, NalHeaderError>
pub fn nal_ref_idc(self) -> u8
pub fn nal_unit_type(self) -> UnitType
Trait Implementations§
source§impl PartialEq for NalHeader
impl PartialEq for NalHeader
impl Copy for NalHeader
impl Eq for NalHeader
impl StructuralPartialEq for NalHeader
Auto Trait Implementations§
impl Freeze for NalHeader
impl RefUnwindSafe for NalHeader
impl Send for NalHeader
impl Sync for NalHeader
impl Unpin for NalHeader
impl UnwindSafe for NalHeader
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