[][src]Struct artichoke_backend::sys::mrb_context

#[repr(C)]pub struct mrb_context {
    pub prev: *mut mrb_context,
    pub stack: *mut mrb_value,
    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 rescue: *mut u16,
    pub rsize: u16,
    pub ensure: *mut *mut RProc,
    pub esize: u16,
    pub eidx: u16,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>,
    pub fib: *mut RFiber,
}

Fields

prev: *mut mrb_contextstack: *mut mrb_valuestbase: *mut mrb_valuestend: *mut mrb_valueci: *mut mrb_callinfocibase: *mut mrb_callinfociend: *mut mrb_callinforescue: *mut u16rsize: u16ensure: *mut *mut RProcesize: u16eidx: u16_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>fib: *mut RFiber

Implementations

impl mrb_context[src]

pub fn status(&self) -> mrb_fiber_state[src]

pub fn set_status(&mut self, val: mrb_fiber_state)[src]

pub fn vmexec(&self) -> mrb_bool[src]

pub fn set_vmexec(&mut self, val: mrb_bool)[src]

pub fn new_bitfield_1(
    status: mrb_fiber_state,
    vmexec: mrb_bool
) -> __BindgenBitfieldUnit<[u8; 1], u8>
[src]

Trait Implementations

impl Clone for mrb_context[src]

impl Copy for mrb_context[src]

impl Debug for mrb_context[src]

Auto Trait Implementations

impl RefUnwindSafe for mrb_context[src]

impl !Send for mrb_context[src]

impl !Sync for mrb_context[src]

impl Unpin for mrb_context[src]

impl UnwindSafe for mrb_context[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]