Struct rutie::types::Value [−][src]
#[repr(C)]pub struct Value { pub value: InternalValue, }
Fields
value: InternalValue
Methods
impl Value
[src]
impl Value
pub fn is_true(&self) -> bool
[src]
pub fn is_true(&self) -> bool
pub fn is_false(&self) -> bool
[src]
pub fn is_false(&self) -> bool
pub fn is_nil(&self) -> bool
[src]
pub fn is_nil(&self) -> bool
pub fn is_undef(&self) -> bool
[src]
pub fn is_undef(&self) -> bool
pub fn is_symbol(&self) -> bool
[src]
pub fn is_symbol(&self) -> bool
pub fn is_fixnum(&self) -> bool
[src]
pub fn is_fixnum(&self) -> bool
pub fn is_flonum(&self) -> bool
[src]
pub fn is_flonum(&self) -> bool
pub fn ty(&self) -> ValueType
[src]
pub fn ty(&self) -> ValueType
Trait Implementations
impl From<Value> for AnyObject
[src]
impl From<Value> for AnyObject
impl From<Value> for AnyException
[src]
impl From<Value> for AnyException
impl From<Value> for Array
[src]
impl From<Value> for Array
impl From<Value> for Boolean
[src]
impl From<Value> for Boolean
impl From<Value> for Class
[src]
impl From<Value> for Class
impl From<Value> for Fixnum
[src]
impl From<Value> for Fixnum
impl From<Value> for Float
[src]
impl From<Value> for Float
impl From<Value> for Hash
[src]
impl From<Value> for Hash
impl From<Value> for Integer
[src]
impl From<Value> for Integer
impl From<Value> for Module
[src]
impl From<Value> for Module
impl From<Value> for NilClass
[src]
impl From<Value> for NilClass
impl From<Value> for Proc
[src]
impl From<Value> for Proc
impl From<Value> for RString
[src]
impl From<Value> for RString
impl From<Value> for Thread
[src]
impl From<Value> for Thread
impl From<Value> for Symbol
[src]
impl From<Value> for Symbol
impl Copy for Value
[src]
impl Copy for Value
impl Clone for Value
[src]
impl Clone for Value
fn clone(&self) -> Value
[src]
fn clone(&self) -> Value
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Value
[src]
impl Debug for Value
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Value
[src]
impl PartialEq for Value
fn eq(&self, other: &Value) -> bool
[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: &Value) -> bool
[src]
fn ne(&self, other: &Value) -> bool
This method tests for !=
.
impl From<InternalValue> for Value
[src]
impl From<InternalValue> for Value
fn from(internal_value: InternalValue) -> Self
[src]
fn from(internal_value: InternalValue) -> Self
Performs the conversion.