Trait substrate::simulation::SupportedBy
source · pub trait SupportedBy<S: Simulator>: Analysis {
// Required methods
fn into_input(self, inputs: &mut Vec<<S as Simulator>::Input>);
fn from_output(
outputs: &mut impl Iterator<Item = <S as Simulator>::Output>
) -> Self::Output;
}
Expand description
Indicates that a particular analysis is supported by a simulator.
Required Methods§
sourcefn into_input(self, inputs: &mut Vec<<S as Simulator>::Input>)
fn into_input(self, inputs: &mut Vec<<S as Simulator>::Input>)
Convert the analysis into inputs accepted by this simulator.
Object Safety§
This trait is not object safe.