Enum libdav1d_sys::Dav1dFrameType
source · #[repr(u32)]pub enum Dav1dFrameType {
DAV1D_FRAME_TYPE_KEY = 0,
DAV1D_FRAME_TYPE_INTER = 1,
DAV1D_FRAME_TYPE_INTRA = 2,
DAV1D_FRAME_TYPE_SWITCH = 3,
}
Variants§
DAV1D_FRAME_TYPE_KEY = 0
< Key Intra frame
DAV1D_FRAME_TYPE_INTER = 1
< Inter frame
DAV1D_FRAME_TYPE_INTRA = 2
< Non key Intra frame
DAV1D_FRAME_TYPE_SWITCH = 3
< Switch Inter frame
Trait Implementations§
source§impl Clone for Dav1dFrameType
impl Clone for Dav1dFrameType
source§fn clone(&self) -> Dav1dFrameType
fn clone(&self) -> Dav1dFrameType
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 Dav1dFrameType
impl Debug for Dav1dFrameType
source§impl Hash for Dav1dFrameType
impl Hash for Dav1dFrameType
source§impl PartialEq for Dav1dFrameType
impl PartialEq for Dav1dFrameType
source§fn eq(&self, other: &Dav1dFrameType) -> bool
fn eq(&self, other: &Dav1dFrameType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Dav1dFrameType
impl Eq for Dav1dFrameType
impl StructuralEq for Dav1dFrameType
impl StructuralPartialEq for Dav1dFrameType
Auto Trait Implementations§
impl RefUnwindSafe for Dav1dFrameType
impl Send for Dav1dFrameType
impl Sync for Dav1dFrameType
impl Unpin for Dav1dFrameType
impl UnwindSafe for Dav1dFrameType
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