pub trait DefaultSolver: Matrix {
type LS: LinearSolver<Self> + Default;
// Provided method
fn default_solver() -> Self::LS { ... }
}Required Associated Types§
type LS: LinearSolver<Self> + Default
Provided Methods§
fn default_solver() -> Self::LS
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".