Struct artichoke_backend::sys::mrb_context
source · [−]#[repr(C)]pub struct mrb_context {
pub prev: *mut mrb_context,
pub stbase: *mut mrb_value,
pub stend: *mut mrb_value,
pub ci: *mut mrb_callinfo,
pub cibase: *mut mrb_callinfo,
pub ciend: *mut mrb_callinfo,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub fib: *mut RFiber,
}
Fields
prev: *mut mrb_context
stbase: *mut mrb_value
stend: *mut mrb_value
ci: *mut mrb_callinfo
cibase: *mut mrb_callinfo
ciend: *mut mrb_callinfo
_bitfield_align_1: [u8; 0]
_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
fib: *mut RFiber
Implementations
sourceimpl mrb_context
impl mrb_context
pub fn status(&self) -> mrb_fiber_state
pub fn set_status(&mut self, val: mrb_fiber_state)
pub fn vmexec(&self) -> mrb_bool
pub fn set_vmexec(&mut self, val: mrb_bool)
pub fn new_bitfield_1(
status: mrb_fiber_state,
vmexec: mrb_bool
) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations
sourceimpl Clone for mrb_context
impl Clone for mrb_context
sourcefn clone(&self) -> mrb_context
fn clone(&self) -> mrb_context
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 mrb_context
impl Debug for mrb_context
impl Copy for mrb_context
Auto Trait Implementations
impl RefUnwindSafe for mrb_context
impl !Send for mrb_context
impl !Sync for mrb_context
impl Unpin for mrb_context
impl UnwindSafe for mrb_context
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