[][src]Struct mruby_sys::RClass

#[repr(C)]
pub struct RClass {
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4], u32>,
    pub c: *mut RClass,
    pub gcnext: *mut RBasic,
    pub iv: *mut iv_tbl,
    pub mt: *mut kh_mt,
    pub super_: *mut RClass,
}

Fields

_bitfield_1: __BindgenBitfieldUnit<[u8; 4], u32>c: *mut RClassgcnext: *mut RBasiciv: *mut iv_tblmt: *mut kh_mtsuper_: *mut RClass

Methods

impl RClass[src]

pub fn tt(&self) -> mrb_vtype[src]

pub fn set_tt(&mut self, val: mrb_vtype)[src]

pub fn color(&self) -> u32[src]

pub fn set_color(&mut self, val: u32)[src]

pub fn flags(&self) -> u32[src]

pub fn set_flags(&mut self, val: u32)[src]

pub fn new_bitfield_1(
    tt: mrb_vtype,
    color: u32,
    flags: u32
) -> __BindgenBitfieldUnit<[u8; 4], u32>
[src]

Trait Implementations

impl Clone for RClass[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Copy for RClass[src]

impl Debug for RClass[src]

Auto Trait Implementations

impl !Send for RClass

impl Unpin for RClass

impl !Sync for RClass

impl UnwindSafe for RClass

impl RefUnwindSafe for RClass

Blanket Implementations

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]