pub trait ModelProcessExt {
// Required method
fn process<I, O, PI, PO>(
&self,
incoming: I,
outgoing: O,
) -> Result<Process, GenerationError>
where I: IntoIterator<Item = PI>,
O: IntoIterator<Item = PO>,
PI: Into<ParticleSelector>,
PO: Into<ParticleSelector>;
}Expand description
Construct validated process definitions without coupling the model crate to generation.
Required Methods§
fn process<I, O, PI, PO>(
&self,
incoming: I,
outgoing: O,
) -> Result<Process, GenerationError>where
I: IntoIterator<Item = PI>,
O: IntoIterator<Item = PO>,
PI: Into<ParticleSelector>,
PO: Into<ParticleSelector>,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".