pub trait InterpolatorMutMethods {
// Required methods
fn set_min(
&mut self,
min: f64,
scaling: Option<ScalingMethods>,
) -> Result<()>;
fn set_max(
&mut self,
max: f64,
scaling: Option<ScalingMethods>,
) -> Result<()>;
fn set_range(&mut self, range: f64) -> Result<()>;
}Expand description
Methods for mutating interpolator data, e.g. proportionally scaling interpolator function data
Required Methods§
fn set_min(&mut self, min: f64, scaling: Option<ScalingMethods>) -> Result<()>
fn set_max(&mut self, max: f64, scaling: Option<ScalingMethods>) -> Result<()>
fn set_range(&mut self, range: f64) -> Result<()>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".