#[repr(u32)]pub enum MetricType {
MeanAbsoluteErrorMetric = 1,
MeanSquaredErrorMetric = 2,
PeakAbsoluteErrorMetric = 3,
PeakSignalToNoiseRatioMetric = 4,
RootMeanSquaredErrorMetric = 5,
Unknown = 4_294_967_295,
}Expand description
Pixel error metrics
Variants§
MeanAbsoluteErrorMetric = 1
MeanSquaredErrorMetric = 2
PeakAbsoluteErrorMetric = 3
PeakSignalToNoiseRatioMetric = 4
RootMeanSquaredErrorMetric = 5
Unknown = 4_294_967_295
Trait Implementations§
Source§impl Clone for MetricType
impl Clone for MetricType
Source§fn clone(&self) -> MetricType
fn clone(&self) -> MetricType
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MetricType
impl Debug for MetricType
Source§impl From<MetricType> for u32
impl From<MetricType> for u32
Source§fn from(enum_value: MetricType) -> Self
fn from(enum_value: MetricType) -> Self
Converts to this type from the input type.
Source§impl From<u32> for MetricType
impl From<u32> for MetricType
Source§impl FromPrimitive for MetricType
impl FromPrimitive for MetricType
Source§impl PartialEq for MetricType
impl PartialEq for MetricType
impl Copy for MetricType
impl Eq for MetricType
impl StructuralPartialEq for MetricType
Auto Trait Implementations§
impl Freeze for MetricType
impl RefUnwindSafe for MetricType
impl Send for MetricType
impl Sync for MetricType
impl Unpin for MetricType
impl UnwindSafe for MetricType
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)