#[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§
Source§impl 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§
Source§impl Clone for mrb_context
impl Clone for mrb_context
Source§fn clone(&self) -> mrb_context
fn clone(&self) -> mrb_context
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for mrb_context
impl Debug for mrb_context
impl Copy for mrb_context
Auto Trait Implementations§
impl Freeze for mrb_context
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§
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