Enum ffmpeg_next::codec::encoder::prediction::Prediction
source · pub enum Prediction {
Left,
Plane,
Median,
}
Variants§
Trait Implementations§
source§impl Clone for Prediction
impl Clone for Prediction
source§fn clone(&self) -> Prediction
fn clone(&self) -> Prediction
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 Prediction
impl Debug for Prediction
source§impl From<Prediction> for c_int
impl From<Prediction> for c_int
source§fn from(value: Prediction) -> c_int
fn from(value: Prediction) -> c_int
Converts to this type from the input type.
source§impl From<i32> for Prediction
impl From<i32> for Prediction
source§fn from(value: c_int) -> Prediction
fn from(value: c_int) -> Prediction
Converts to this type from the input type.
source§impl PartialEq<Prediction> for Prediction
impl PartialEq<Prediction> for Prediction
source§fn eq(&self, other: &Prediction) -> bool
fn eq(&self, other: &Prediction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.