Struct artichoke_backend::sys::RBasic
source · [−]#[repr(C)]pub struct RBasic {
pub c: *mut RClass,
pub gcnext: *mut RBasic,
pub _bitfield_align_1: [u32; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>,
pub __bindgen_padding_0: u32,
}
Fields
c: *mut RClass
gcnext: *mut RBasic
_bitfield_align_1: [u32; 0]
_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>
__bindgen_padding_0: u32
Implementations
sourceimpl RBasic
impl RBasic
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 RefUnwindSafe for RBasic
impl !Send for RBasic
impl !Sync for RBasic
impl Unpin for RBasic
impl UnwindSafe for RBasic
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