AbstractVariableTrait

Trait AbstractVariableTrait 

Source
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§

Source

fn name(&self) -> &str

The full, unique name of the variable.

Source

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

Source

fn description(&self) -> Option<&str>

An optional description string describing the meaning of the variable.

Source

fn causality(&self) -> Causality

Enumeration that defines the causality of the variable.

Source

fn variability(&self) -> Variability

Source

fn can_handle_multiple_set_per_time_instant(&self) -> Option<bool>

Source

fn data_type(&self) -> VariableType

Implementors§