#[repr(transparent)]pub struct AvcPacketType(pub u8);
Expand description
FLV AVC Packet Type
The AVC packet type is used to determine if the video data is a sequence header or a NALU.
Defined by:
- Legacy FLV spec, Annex E.4.3.1
Tuple Fields§
§0: u8
Implementations§
Source§impl AvcPacketType
impl AvcPacketType
Trait Implementations§
Source§impl Clone for AvcPacketType
impl Clone for AvcPacketType
Source§fn clone(&self) -> AvcPacketType
fn clone(&self) -> AvcPacketType
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 AvcPacketType
impl Debug for AvcPacketType
Source§impl From<AvcPacketType> for u8
impl From<AvcPacketType> for u8
Source§fn from(value: AvcPacketType) -> Self
fn from(value: AvcPacketType) -> Self
Converts to this type from the input type.
Source§impl From<u8> for AvcPacketType
impl From<u8> for AvcPacketType
Source§impl Hash for AvcPacketType
impl Hash for AvcPacketType
Source§impl Ord for AvcPacketType
impl Ord for AvcPacketType
Source§fn cmp(&self, other: &AvcPacketType) -> Ordering
fn cmp(&self, other: &AvcPacketType) -> 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 AvcPacketType
impl PartialEq for AvcPacketType
Source§impl PartialOrd for AvcPacketType
impl PartialOrd for AvcPacketType
impl Copy for AvcPacketType
impl Eq for AvcPacketType
impl StructuralPartialEq for AvcPacketType
Auto Trait Implementations§
impl Freeze for AvcPacketType
impl RefUnwindSafe for AvcPacketType
impl Send for AvcPacketType
impl Sync for AvcPacketType
impl Unpin for AvcPacketType
impl UnwindSafe for AvcPacketType
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