Skip to main content

RootSolver

Trait RootSolver 

Source
pub trait RootSolver {
    type Output;

    // Required method
    fn solve(&self) -> Self::Output;
}
Expand description

Shared trait for equation types that can solve themselves.

Required Associated Types§

Source

type Output

The solved output type for the equation.

Required Methods§

Source

fn solve(&self) -> Self::Output

Solves the equation and returns its concrete output.

Implementors§