Enum rb_sys::bindings::uncategorized::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
Generated by rb-sys for Ruby 3.0.2
Variants§
RUBY_Qfalse
Generated by rb-sys for Ruby 3.0.2
RUBY_Qtrue
Generated by rb-sys for Ruby 3.0.2
RUBY_Qnil
Generated by rb-sys for Ruby 3.0.2
RUBY_Qundef
Generated by rb-sys for Ruby 3.0.2
RUBY_IMMEDIATE_MASK
Generated by rb-sys for Ruby 3.0.2
RUBY_FIXNUM_FLAG
Generated by rb-sys for Ruby 3.0.2
RUBY_FLONUM_MASK
Generated by rb-sys for Ruby 3.0.2
RUBY_FLONUM_FLAG
Generated by rb-sys for Ruby 3.0.2
RUBY_SYMBOL_FLAG
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<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 ==.impl Copy for ruby_special_consts
impl Eq for ruby_special_consts
impl StructuralEq for ruby_special_consts
impl StructuralPartialEq for ruby_special_consts
Auto Trait Implementations§
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