Enum rb_sys::bindings::ruby_value_type
source · #[repr(u32)]
pub enum ruby_value_type {
Show 28 variants
RUBY_T_NONE,
RUBY_T_OBJECT,
RUBY_T_CLASS,
RUBY_T_MODULE,
RUBY_T_FLOAT,
RUBY_T_STRING,
RUBY_T_REGEXP,
RUBY_T_ARRAY,
RUBY_T_HASH,
RUBY_T_STRUCT,
RUBY_T_BIGNUM,
RUBY_T_FILE,
RUBY_T_DATA,
RUBY_T_MATCH,
RUBY_T_COMPLEX,
RUBY_T_RATIONAL,
RUBY_T_NIL,
RUBY_T_TRUE,
RUBY_T_FALSE,
RUBY_T_SYMBOL,
RUBY_T_FIXNUM,
RUBY_T_UNDEF,
RUBY_T_IMEMO,
RUBY_T_NODE,
RUBY_T_ICLASS,
RUBY_T_ZOMBIE,
RUBY_T_MOVED,
RUBY_T_MASK,
}Variants
RUBY_T_NONE
RUBY_T_OBJECT
RUBY_T_CLASS
RUBY_T_MODULE
RUBY_T_FLOAT
RUBY_T_STRING
RUBY_T_REGEXP
RUBY_T_ARRAY
RUBY_T_HASH
RUBY_T_STRUCT
RUBY_T_BIGNUM
RUBY_T_FILE
RUBY_T_DATA
RUBY_T_MATCH
RUBY_T_COMPLEX
RUBY_T_RATIONAL
RUBY_T_NIL
RUBY_T_TRUE
RUBY_T_FALSE
RUBY_T_SYMBOL
RUBY_T_FIXNUM
RUBY_T_UNDEF
RUBY_T_IMEMO
< @see imemo_type
RUBY_T_NODE
RUBY_T_ICLASS
RUBY_T_ZOMBIE
RUBY_T_MOVED
RUBY_T_MASK
Trait Implementations
sourceimpl Clone for ruby_value_type
impl Clone for ruby_value_type
sourcefn clone(&self) -> ruby_value_type
fn clone(&self) -> ruby_value_type
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for ruby_value_type
impl Debug for ruby_value_type
sourceimpl Hash for ruby_value_type
impl Hash for ruby_value_type
sourceimpl PartialEq<ruby_value_type> for ruby_value_type
impl PartialEq<ruby_value_type> for ruby_value_type
sourcefn eq(&self, other: &ruby_value_type) -> bool
fn eq(&self, other: &ruby_value_type) -> bool
impl Copy for ruby_value_type
impl Eq for ruby_value_type
impl StructuralEq for ruby_value_type
impl StructuralPartialEq for ruby_value_type
Auto Trait Implementations
impl RefUnwindSafe for ruby_value_type
impl Send for ruby_value_type
impl Sync for ruby_value_type
impl Unpin for ruby_value_type
impl UnwindSafe for ruby_value_type
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more