pub trait AbstractVariableTrait {
// Required methods
fn name(&self) -> &str;
fn value_reference(&self) -> u32;
fn description(&self) -> Option<&str>;
fn causality(&self) -> Causality;
fn variability(&self) -> Variability;
fn can_handle_multiple_set_per_time_instant(&self) -> Option<bool>;
fn data_type(&self) -> VariableType;
}
Required Methods§
Sourcefn value_reference(&self) -> u32
fn value_reference(&self) -> u32
A handle of the variable to efficiently identify the variable value in the model interface and for references within the modelDescription.xml
Sourcefn description(&self) -> Option<&str>
fn description(&self) -> Option<&str>
An optional description string describing the meaning of the variable.