Struct rutie::rubysys::value::Value [−][src]
Fields
value: InternalValue
Implementations
impl Value
[src]
pub fn is_true(&self) -> bool
[src]
pub fn is_false(&self) -> bool
[src]
pub fn is_nil(&self) -> bool
[src]
pub fn is_node(&self) -> bool
[src]
pub fn is_undef(&self) -> bool
[src]
pub fn is_symbol(&self) -> bool
[src]
pub fn is_fixnum(&self) -> bool
[src]
pub fn is_flonum(&self) -> bool
[src]
pub fn is_frozen(&self) -> bool
[src]
pub fn ty(&self) -> ValueType
[src]
Trait Implementations
impl AsRef<Value> for AnyObject
[src]
impl AsRef<Value> for AnyException
[src]
impl Borrow<Value> for AnyObject
[src]
impl Borrow<Value> for AnyException
[src]
impl Clone for Value
[src]
impl Copy for Value
[src]
impl Debug for Value
[src]
impl From<Value> for AnyObject
[src]
impl From<Value> for AnyException
[src]
impl From<Value> for Hash
[src]
impl From<Value> for Integer
[src]
impl From<Value> for Module
[src]
impl From<Value> for NilClass
[src]
impl From<Value> for Proc
[src]
impl From<Value> for RString
[src]
impl From<Value> for Thread
[src]
impl From<Value> for Symbol
[src]
impl From<Value> for Array
[src]
impl From<Value> for Binding
[src]
impl From<Value> for Boolean
[src]
impl From<Value> for Class
[src]
impl From<Value> for Encoding
[src]
impl From<Value> for Enumerator
[src]
impl From<Value> for Fixnum
[src]
impl From<Value> for Float
[src]
impl From<usize> for Value
[src]
fn from(internal_value: InternalValue) -> Self
[src]
impl Into<Value> for AnyObject
[src]
impl Into<Value> for AnyException
[src]
impl Into<Value> for Hash
[src]
impl Into<Value> for Integer
[src]
impl Into<Value> for Module
[src]
impl Into<Value> for NilClass
[src]
impl Into<Value> for Proc
[src]
impl Into<Value> for RString
[src]
impl Into<Value> for Thread
[src]
impl Into<Value> for Symbol
[src]
impl Into<Value> for Array
[src]
impl Into<Value> for Binding
[src]
impl Into<Value> for Boolean
[src]
impl Into<Value> for Class
[src]
impl Into<Value> for Encoding
[src]
impl Into<Value> for Enumerator
[src]
impl Into<Value> for Fixnum
[src]
impl Into<Value> for Float
[src]
impl PartialEq<Value> for Value
[src]
impl StructuralPartialEq for Value
[src]
Auto Trait Implementations
impl RefUnwindSafe for Value
[src]
impl Send for Value
[src]
impl Sync for Value
[src]
impl Unpin for Value
[src]
impl UnwindSafe for Value
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,