Enum rav1e::prelude::FrameType[][src]

#[repr(C)]pub enum FrameType {
    KEY,
    INTER,
    INTRA_ONLY,
    SWITCH,
}

Possible types of a frame.

Variants

KEY

Key frame.

INTER

Inter-frame.

INTRA_ONLY

Intra-only frame.

SWITCH

Switching frame.

Implementations

impl FrameType[src]

pub fn has_inter(self) -> bool[src]

Returns whether frame can have inter blocks

pub fn all_intra(self) -> bool[src]

Returns whether frame is only intra blocks

Trait Implementations

impl Clone for FrameType[src]

impl Copy for FrameType[src]

impl Debug for FrameType[src]

impl Display for FrameType[src]

impl Eq for FrameType[src]

impl PartialEq<FrameType> for FrameType[src]

impl StructuralEq for FrameType[src]

impl StructuralPartialEq for FrameType[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.