pub trait Solver:
Held
+ Send
+ Sync {
// Required methods
fn step(&mut self, args: &[f64]) -> Result<f64, SampleError>;
fn bytes(&self) -> usize;
}Expand description
One sample per call, args in Params::varying order; none steps on the site’s own.
Required Methods§
Trait Implementations§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".