Enum rb_sys::bindings::uncategorized::ruby_special_consts
source · #[repr(u32)]pub enum ruby_special_consts {
RUBY_Qfalse = 0,
RUBY_Qtrue = 20,
RUBY_Qnil = 8,
RUBY_Qundef = 52,
RUBY_IMMEDIATE_MASK = 7,
RUBY_FIXNUM_FLAG = 1,
RUBY_FLONUM_MASK = 3,
RUBY_FLONUM_FLAG = 2,
RUBY_SYMBOL_FLAG = 12,
}Expand description
Variants§
RUBY_Qfalse = 0
Generated by rb-sys for Ruby 3.0.2
RUBY_Qtrue = 20
Generated by rb-sys for Ruby 3.0.2
RUBY_Qnil = 8
Generated by rb-sys for Ruby 3.0.2
RUBY_Qundef = 52
Generated by rb-sys for Ruby 3.0.2
RUBY_IMMEDIATE_MASK = 7
Generated by rb-sys for Ruby 3.0.2
RUBY_FIXNUM_FLAG = 1
Generated by rb-sys for Ruby 3.0.2
RUBY_FLONUM_MASK = 3
Generated by rb-sys for Ruby 3.0.2
RUBY_FLONUM_FLAG = 2
Generated by rb-sys for Ruby 3.0.2
RUBY_SYMBOL_FLAG = 12
Generated by rb-sys for Ruby 3.0.2
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 for ruby_special_consts
impl PartialEq 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 ==.impl Copy for ruby_special_consts
impl Eq for ruby_special_consts
impl StructuralPartialEq for ruby_special_consts
Auto Trait Implementations§
impl Freeze for ruby_special_consts
impl RefUnwindSafe for ruby_special_consts
impl Send for ruby_special_consts
impl Sync for ruby_special_consts
impl Unpin for ruby_special_consts
impl UnwindSafe for ruby_special_consts
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more