Struct rvs::Model
[−]
[src]
pub struct Model { /* fields omitted */ }
Methods
impl Model
[src]
fn new() -> Model
[src]
fn add_variable(&mut self, name: &str, variable: Rc<RefCell<Box<Variable>>>)
[src]
fn get_variable_index(&self, name: &str) -> Option<usize>
[src]
fn get_variable_by_index(
&self,
index: usize
) -> Option<&Rc<RefCell<Box<Variable>>>>
[src]
&self,
index: usize
) -> Option<&Rc<RefCell<Box<Variable>>>>
fn get_variable_by_name(
&self,
name: &str
) -> Option<&Rc<RefCell<Box<Variable>>>>
[src]
&self,
name: &str
) -> Option<&Rc<RefCell<Box<Variable>>>>