Enum ares::Value
[−]
[src]
pub enum Value { List(Rc<Vec<Value>>), String(Rc<String>), Float(f64), Int(i64), Bool(bool), Ident(Rc<String>), ForeignFn(ForeignFunction), Lambda(Procedure), }
Variants
List(Rc<Vec<Value>>)
String(Rc<String>)
Float(f64)
Int(i64)
Bool(bool)
Ident(Rc<String>)
ForeignFn(ForeignFunction)
Lambda(Procedure)
Trait Implementations
impl Debug for Value
[src]
impl Clone for Value
[src]
fn clone(&self) -> Value
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for Value
[src]
fn eq(&self, other: &Value) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.