pub trait QualityPSNRTraitConst: QualityBaseTraitConst {
// Required method
fn as_raw_QualityPSNR(&self) -> *const c_void;
// Provided methods
fn empty(&self) -> Result<bool> { ... }
fn get_max_pixel_value(&self) -> Result<f64> { ... }
}
Expand description
Constant methods for crate::quality::QualityPSNR
Required Methods§
fn as_raw_QualityPSNR(&self) -> *const c_void
Provided Methods§
Sourcefn get_max_pixel_value(&self) -> Result<f64>
fn get_max_pixel_value(&self) -> Result<f64>
return the maximum pixel value used for PSNR computation
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.