pub trait PlanarMetric: Metric {
// Required method
fn evaluate_planar(
&mut self,
reference: &PlanarView<'_>,
candidate: &PlanarView<'_>,
opts: EvalOpts<'_>,
) -> MetricResult<Self::Output>;
}Expand description
Optional native planar input. The packed Metric contract stays usable
independently; no implicit conversion or packed replay is supplied.
Required Methods§
Sourcefn evaluate_planar(
&mut self,
reference: &PlanarView<'_>,
candidate: &PlanarView<'_>,
opts: EvalOpts<'_>,
) -> MetricResult<Self::Output>
fn evaluate_planar( &mut self, reference: &PlanarView<'_>, candidate: &PlanarView<'_>, opts: EvalOpts<'_>, ) -> MetricResult<Self::Output>
Score complete color-described planes, preserving native output.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".