Enum rb_sys::bindings::ruby_special_consts
source · #[repr(u32)]
pub enum ruby_special_consts {
RUBY_Qfalse,
RUBY_Qtrue,
RUBY_Qnil,
RUBY_Qundef,
RUBY_IMMEDIATE_MASK,
RUBY_FIXNUM_FLAG,
RUBY_FLONUM_MASK,
RUBY_FLONUM_FLAG,
RUBY_SYMBOL_FLAG,
}Expand description
special constants - i.e. non-zero and non-fixnum constants
Variants§
RUBY_Qfalse
RUBY_Qtrue
RUBY_Qnil
RUBY_Qundef
RUBY_IMMEDIATE_MASK
RUBY_FIXNUM_FLAG
RUBY_FLONUM_MASK
RUBY_FLONUM_FLAG
RUBY_SYMBOL_FLAG
Implementations§
source§impl ruby_special_consts
impl ruby_special_consts
pub const RUBY_SPECIAL_SHIFT: ruby_special_consts = ruby_special_consts::RUBY_Qnil
Trait Implementations§
source§impl Clone for ruby_special_consts
impl Clone for ruby_special_consts
source§fn clone(&self) -> ruby_special_consts
fn clone(&self) -> ruby_special_consts
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ruby_special_consts
impl Debug for ruby_special_consts
source§impl Hash for ruby_special_consts
impl Hash for ruby_special_consts
source§impl Into<u64> for ruby_special_consts
impl Into<u64> for ruby_special_consts
source§impl PartialEq<ruby_special_consts> for ruby_special_consts
impl PartialEq<ruby_special_consts> for ruby_special_consts
source§fn eq(&self, other: &ruby_special_consts) -> bool
fn eq(&self, other: &ruby_special_consts) -> bool
This method tests for
self and other values to be equal, and is used
by ==.