#[repr(transparent)]pub struct FrameType(pub u8);Expand description
FLV Frame Type This enum represents the different types of frames in a FLV file. Defined by:
- video_file_format_spec_v10.pdf (Chapter 1 - The FLV File Format - Video tags)
- video_file_format_spec_v10_1.pdf (Annex E.4.3.1 - VIDEODATA)
Tuple Fields§
§0: u8Implementations§
Source§impl FrameType
impl FrameType
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)
Sourcepub const VideoInfoOrCommandFrame: Self
pub const VideoInfoOrCommandFrame: Self
A video info or command frame is a frame that contains video information or commands. If the frame is this type, the body will be a CommandPacket
Trait Implementations§
Source§impl Ord for FrameType
impl Ord for FrameType
Source§impl PartialOrd for FrameType
impl PartialOrd for FrameType
impl Copy for FrameType
impl Eq for FrameType
impl StructuralPartialEq for FrameType
Auto Trait Implementations§
impl Freeze for FrameType
impl RefUnwindSafe for FrameType
impl Send for FrameType
impl Sync for FrameType
impl Unpin for FrameType
impl UnwindSafe for FrameType
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