#[repr(transparent)]pub struct VideoFrameType(pub u8);
Expand description
FLV Frame Type
This enum represents the different types of frames in a FLV file.
Defined by:
- Legacy FLV spec, Annex E.4.3.1
Tuple Fields§
§0: u8
Implementations§
Source§impl VideoFrameType
impl VideoFrameType
Sourcepub const KeyFrame: Self
pub const KeyFrame: Self
A keyframe is a frame that is a complete representation of the video content.
Sourcepub const InterFrame: Self
pub const InterFrame: Self
An interframe is a frame that is a partial representation of the video content.
Sourcepub const DisposableInterFrame: Self
pub const DisposableInterFrame: Self
A disposable interframe is a frame that is a partial representation of the video content, but is not required to be displayed. (h263 only)
Sourcepub const GeneratedKeyFrame: Self
pub const GeneratedKeyFrame: Self
A generated keyframe is a frame that is a complete representation of the video content, but is not a keyframe. (reserved for server use only)
Trait Implementations§
Source§impl Clone for VideoFrameType
impl Clone for VideoFrameType
Source§fn clone(&self) -> VideoFrameType
fn clone(&self) -> VideoFrameType
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 VideoFrameType
impl Debug for VideoFrameType
Source§impl From<VideoFrameType> for u8
impl From<VideoFrameType> for u8
Source§fn from(value: VideoFrameType) -> Self
fn from(value: VideoFrameType) -> Self
Converts to this type from the input type.
Source§impl From<u8> for VideoFrameType
impl From<u8> for VideoFrameType
Source§impl Hash for VideoFrameType
impl Hash for VideoFrameType
Source§impl Ord for VideoFrameType
impl Ord for VideoFrameType
Source§fn cmp(&self, other: &VideoFrameType) -> Ordering
fn cmp(&self, other: &VideoFrameType) -> 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 VideoFrameType
impl PartialEq for VideoFrameType
Source§impl PartialOrd for VideoFrameType
impl PartialOrd for VideoFrameType
impl Copy for VideoFrameType
impl Eq for VideoFrameType
impl StructuralPartialEq for VideoFrameType
Auto Trait Implementations§
impl Freeze for VideoFrameType
impl RefUnwindSafe for VideoFrameType
impl Send for VideoFrameType
impl Sync for VideoFrameType
impl Unpin for VideoFrameType
impl UnwindSafe for VideoFrameType
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