Struct ruby_sys::value::Value
[−]
[src]
pub struct Value {
// some fields omitted
}Methods
impl Value[src]
fn is_true(&self) -> bool
fn is_false(&self) -> bool
fn is_nil(&self) -> bool
fn is_undef(&self) -> bool
fn is_symbol(&self) -> bool
fn is_fixnum(&self) -> bool
fn is_flonum(&self) -> bool
fn ty(&self) -> ValueType
Trait Implementations
impl PartialEq for Value[src]
fn eq(&self, __arg_0: &Value) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Value) -> bool
This method tests for !=.
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 Copy for Value[src]
impl From<InternalValue> for Value[src]
fn from(internal_value: InternalValue) -> Self
Performs the conversion.