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,
}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
sourceimpl ruby_special_consts
impl ruby_special_consts
pub const RUBY_SPECIAL_SHIFT: ruby_special_consts = ruby_special_consts::RUBY_Qnil
Trait Implementations
sourceimpl Clone for ruby_special_consts
impl Clone for ruby_special_consts
sourcefn clone(&self) -> ruby_special_consts
fn clone(&self) -> ruby_special_consts
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_special_consts
impl Debug for ruby_special_consts
sourceimpl Hash for ruby_special_consts
impl Hash for ruby_special_consts
sourceimpl Into<u64> for ruby_special_consts
impl Into<u64> for ruby_special_consts
sourceimpl PartialEq<ruby_special_consts> for ruby_special_consts
impl PartialEq<ruby_special_consts> for ruby_special_consts
sourcefn eq(&self, other: &ruby_special_consts) -> bool
fn eq(&self, other: &ruby_special_consts) -> bool
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
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