Struct sim::models::model::Model [−][src]
pub struct Model { /* fields omitted */ }
Expand description
Model
wraps model_type
and provides common ID functionality (a struct
field and associated accessor method). The simulator requires all models
to have an ID.
Implementations
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
fn events_ext(
&mut self,
incoming_message: &ModelMessage,
services: &mut Services
) -> Result<(), SimulationError>
fn events_int(
&mut self,
services: &mut Services
) -> Result<Vec<ModelMessage>, SimulationError>
Auto Trait Implementations
impl !RefUnwindSafe for Model
impl !UnwindSafe for Model
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V