Enum ffmpeg_next::codec::encoder::comparison::Comparison
source · pub enum Comparison {
Show 16 variants
SAD,
SSE,
SATD,
DCT,
PSNR,
BIT,
RD,
ZERO,
VSAD,
VSSE,
NSSE,
W53,
W97,
DCTMAX,
DCT264,
CHROMA,
}
Variants§
Trait Implementations§
source§impl Clone for Comparison
impl Clone for Comparison
source§fn clone(&self) -> Comparison
fn clone(&self) -> Comparison
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 Comparison
impl Debug for Comparison
source§impl From<Comparison> for c_int
impl From<Comparison> for c_int
source§fn from(value: Comparison) -> c_int
fn from(value: Comparison) -> c_int
Converts to this type from the input type.
source§impl From<i32> for Comparison
impl From<i32> for Comparison
source§fn from(value: c_int) -> Comparison
fn from(value: c_int) -> Comparison
Converts to this type from the input type.
source§impl PartialEq for Comparison
impl PartialEq for Comparison
source§fn eq(&self, other: &Comparison) -> bool
fn eq(&self, other: &Comparison) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Comparison
impl Eq for Comparison
impl StructuralPartialEq for Comparison
Auto Trait Implementations§
impl Freeze for Comparison
impl RefUnwindSafe for Comparison
impl Send for Comparison
impl Sync for Comparison
impl Unpin for Comparison
impl UnwindSafe for Comparison
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