Enum FrameType
enum FrameType
Possible types of a frame.
Variants
-
KEY Key frame.
-
INTER Inter-frame.
-
INTRA_ONLY Intra-only frame.
-
SWITCH Switching frame.
Implementations
impl FrameType
fn has_inter(self: Self) -> boolReturns whether frame can have inter blocks
fn all_intra(self: Self) -> boolReturns whether frame is only intra blocks
impl Clone for FrameType
fn clone(self: &Self) -> FrameType
impl Copy for FrameType
impl Debug for FrameType
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl Display for FrameType
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl Eq for FrameType
impl Freeze for FrameType
impl PartialEq for FrameType
fn eq(self: &Self, other: &FrameType) -> bool
impl RefUnwindSafe for FrameType
impl Send for FrameType
impl StructuralPartialEq for FrameType
impl Sync for FrameType
impl Unpin for FrameType
impl UnsafeUnpin for FrameType
impl UnwindSafe for FrameType
impl<T> Any for FrameType
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for FrameType
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for FrameType
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for FrameType
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for FrameType
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for FrameType
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T> ToString for FrameType
fn to_string(self: &Self) -> String
impl<T, U> Into for FrameType
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for FrameType
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for FrameType
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>