Trait falcon::il::Variable
[−]
[src]
pub trait Variable: Debug + Display + Sync { fn name(&self) -> &str; fn identifier(&self) -> String; fn multi_var_clone(&self) -> MultiVar; }
A variable provides generic operations over Array
, and Scalar
.
Required Methods
fn name(&self) -> &str
Gets the name of this Variable
.
fn identifier(&self) -> String
Gets an identifier for this Variable
.
An identifier is the representation used when printing Falcon IL.
fn multi_var_clone(&self) -> MultiVar
Clone this Variable
into a MultiVar
.