pub struct CompressedFrameFlags {
pub is_key: bool,
pub is_droppable: bool,
pub is_invisible: bool,
pub is_fragment: bool,
}Expand description
Flags pertaining to an encoded frame.
Fields§
§is_key: boolFrame is the start of a Group Of Pictures (GOP), i.e. a keyframe.
is_droppable: boolFrame can be dropped without affecting the stream (no future frame depends on this one).
is_invisible: boolFrame should be decoded but will not be shown.
is_fragment: boolThis is a fragment of the encoded frame.
Trait Implementations§
Source§impl Clone for CompressedFrameFlags
impl Clone for CompressedFrameFlags
Source§fn clone(&self) -> CompressedFrameFlags
fn clone(&self) -> CompressedFrameFlags
Returns a duplicate 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 CompressedFrameFlags
impl Debug for CompressedFrameFlags
Source§impl From<u32> for CompressedFrameFlags
impl From<u32> for CompressedFrameFlags
Source§fn from(value: vpx_codec_frame_flags_t) -> Self
fn from(value: vpx_codec_frame_flags_t) -> Self
Converts to this type from the input type.
Source§impl Hash for CompressedFrameFlags
impl Hash for CompressedFrameFlags
Source§impl Ord for CompressedFrameFlags
impl Ord for CompressedFrameFlags
Source§fn cmp(&self, other: &CompressedFrameFlags) -> Ordering
fn cmp(&self, other: &CompressedFrameFlags) -> 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 CompressedFrameFlags
impl PartialEq for CompressedFrameFlags
Source§impl PartialOrd for CompressedFrameFlags
impl PartialOrd for CompressedFrameFlags
impl Copy for CompressedFrameFlags
impl Eq for CompressedFrameFlags
impl StructuralPartialEq for CompressedFrameFlags
Auto Trait Implementations§
impl Freeze for CompressedFrameFlags
impl RefUnwindSafe for CompressedFrameFlags
impl Send for CompressedFrameFlags
impl Sync for CompressedFrameFlags
impl Unpin for CompressedFrameFlags
impl UnwindSafe for CompressedFrameFlags
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