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.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.