pub enum CodingFrameType {
I,
P,
B,
Idr,
}Expand description
The coding type of a video frame.
Variants§
I
Intra-coded frame – no reference to other frames; also called a keyframe.
P
Predictively coded frame – references one past frame.
B
Bi-directionally coded frame – references past and future frames.
Idr
An IDR (Instantaneous Decoder Refresh) I-frame that clears the DPB.
Implementations§
Source§impl CodingFrameType
impl CodingFrameType
Trait Implementations§
Source§impl Clone for CodingFrameType
impl Clone for CodingFrameType
Source§fn clone(&self) -> CodingFrameType
fn clone(&self) -> CodingFrameType
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 CodingFrameType
impl Debug for CodingFrameType
Source§impl Hash for CodingFrameType
impl Hash for CodingFrameType
Source§impl PartialEq for CodingFrameType
impl PartialEq for CodingFrameType
impl Copy for CodingFrameType
impl Eq for CodingFrameType
impl StructuralPartialEq for CodingFrameType
Auto Trait Implementations§
impl Freeze for CodingFrameType
impl RefUnwindSafe for CodingFrameType
impl Send for CodingFrameType
impl Sync for CodingFrameType
impl Unpin for CodingFrameType
impl UnsafeUnpin for CodingFrameType
impl UnwindSafe for CodingFrameType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more