Skip to main content

DecodeInterpolator

Trait DecodeInterpolator 

Source
pub trait DecodeInterpolator: Send + Sync {
    // Required method
    fn interp(&self, x: f64, y: f64) -> Result<f64, InterpolateError>;
}
Expand description

Trait to abstract over 2D interpolation for decode timing

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§