pub struct Meta {
pub simulator_type: SimulatorType,
pub models: HashMap<ModelName, ModelDescription>,
pub extra_methods: Option<Vec<String>>,
/* private fields */
}Expand description
The meta-data for a simulator.
Fields§
§simulator_type: SimulatorTypeThe simulator’s stepping type.
models: HashMap<ModelName, ModelDescription>The descriptions of this simulator’s models.
extra_methods: Option<Vec<String>>The names of the extra methods this simulator supports.
§Note
These methods can be called while the scenario is being created and can be used for operations that don’t really belong into init() or create().
Implementations§
Trait Implementations§
impl StructuralPartialEq for Meta
Auto Trait Implementations§
impl Freeze for Meta
impl RefUnwindSafe for Meta
impl Send for Meta
impl Sync for Meta
impl Unpin for Meta
impl UnwindSafe for Meta
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more