Enum rb_sys::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 more
sourceimpl Debug for ruby_special_consts
impl Debug for ruby_special_consts
sourceimpl Hash for ruby_special_consts
impl Hash for ruby_special_consts
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more