pub trait WithBacksolver {
// Required method
fn k_solve(&self, rhs: &[Number], out: &mut [Number]) -> bool;
}Expand description
Bridge trait — exposes a SensBacksolver-shaped solve through
whatever the driver wraps. Implementations of SchurDriver that
want to be consumed by StdStepCalc opt in by also implementing
WithBacksolver. This keeps SchurDriver’s own surface
minimal — most drivers don’t need to expose the inner backsolver.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl<B> WithBacksolver for DenseGenSchurDriver<IndexPCalculator<B>, B>where
B: SensBacksolver,
Convenience impl: a DenseGenSchurDriver parametrized over an
IndexPCalculator<B> can hand off its inner backsolver via
this bridge.