#[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§
Source§impl RData
impl RData
pub fn tt(&self) -> mrb_vtype
pub fn set_tt(&mut self, val: mrb_vtype)
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: mrb_vtype, color: u32, flags: u32, ) -> __BindgenBitfieldUnit<[u8; 4]>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RData
impl RefUnwindSafe for RData
impl !Send for RData
impl !Sync for RData
impl Unpin for RData
impl UnwindSafe for RData
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