pub enum VideoPacketType {
CodecId(VideoCodecId),
Enhanced(EnhancedPacketType),
}Expand description
A wrapper enum for the different types of video packets that can be used in a FLV file.
Used to construct a VideoTagBody.
See:
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for VideoPacketType
impl Clone for VideoPacketType
Source§fn clone(&self) -> VideoPacketType
fn clone(&self) -> VideoPacketType
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 VideoPacketType
impl Debug for VideoPacketType
Source§impl Hash for VideoPacketType
impl Hash for VideoPacketType
Source§impl Ord for VideoPacketType
impl Ord for VideoPacketType
Source§fn cmp(&self, other: &VideoPacketType) -> Ordering
fn cmp(&self, other: &VideoPacketType) -> 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 VideoPacketType
impl PartialEq for VideoPacketType
Source§impl PartialOrd for VideoPacketType
impl PartialOrd for VideoPacketType
impl Copy for VideoPacketType
impl Eq for VideoPacketType
impl StructuralPartialEq for VideoPacketType
Auto Trait Implementations§
impl Freeze for VideoPacketType
impl RefUnwindSafe for VideoPacketType
impl Send for VideoPacketType
impl Sync for VideoPacketType
impl Unpin for VideoPacketType
impl UnwindSafe for VideoPacketType
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