Skip to main content

ArrayableVariableTrait

Trait ArrayableVariableTrait 

Source
pub trait ArrayableVariableTrait: AbstractVariableTrait {
    // Required methods
    fn dimensions(&self) -> &[Dimension];
    fn add_dimensions(&mut self, dims: &[Dimension]);
    fn intermediate_update(&self) -> Option<bool>;
    fn previous(&self) -> Option<u32>;
}

Required Methods§

Source

fn dimensions(&self) -> &[Dimension]

Each Dimension element specifies the size of one dimension of the array

Source

fn add_dimensions(&mut self, dims: &[Dimension])

Extend the dimensions of the variable

Source

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

If true, the variable can be updated during intermediate update mode.

Source

fn previous(&self) -> Option<u32>

The value reference of the variable that provides the previous value of this variable.

Implementors§