#[repr(C)]pub struct RData {
pub c: *mut RClass,
pub gcnext: *mut RBasic,
pub _bitfield_align_1: [u32; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>,
pub iv: *mut iv_tbl,
pub type_: *const mrb_data_type,
pub data: *mut c_void,
}
Fields
c: *mut RClass
gcnext: *mut RBasic
_bitfield_align_1: [u32; 0]
_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>
iv: *mut iv_tbl
type_: *const mrb_data_type
data: *mut c_void
Implementations
sourceimpl RData
impl RData
pub fn tt(&self) -> c_uint
pub fn set_tt(&mut self, val: c_uint)
pub fn color(&self) -> u32
pub fn set_color(&mut self, val: u32)
pub fn flags(&self) -> u32
pub fn set_flags(&mut self, val: u32)
pub fn new_bitfield_1(
tt: c_uint,
color: u32,
flags: u32
) -> __BindgenBitfieldUnit<[u8; 4]>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RData
impl !Send for RData
impl !Sync for RData
impl Unpin for RData
impl UnwindSafe for RData
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> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more