1 2 3 4 5 6 7
use na::BaseFloat; /// Trait implemented by constraint solvers. pub trait Solver<N: BaseFloat, I> { /// Solve the set of constraints of type `I`. fn solve(&mut self, N, &[I]); }
1 2 3 4 5 6 7
use na::BaseFloat; /// Trait implemented by constraint solvers. pub trait Solver<N: BaseFloat, I> { /// Solve the set of constraints of type `I`. fn solve(&mut self, N, &[I]); }