[][src]Struct artichoke_backend::sys::mrbc_context

#[repr(C)]pub struct mrbc_context {
    pub syms: *mut mrb_sym,
    pub slen: c_int,
    pub filename: *mut c_char,
    pub lineno: u16,
    pub partial_hook: Option<unsafe extern "C" fn(arg1: *mut mrb_parser_state) -> c_int>,
    pub partial_data: *mut c_void,
    pub target_class: *mut RClass,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>,
    pub upper: *mut RProc,
    pub parser_nerr: usize,
}

Fields

syms: *mut mrb_symslen: c_intfilename: *mut c_charlineno: u16partial_hook: Option<unsafe extern "C" fn(arg1: *mut mrb_parser_state) -> c_int>partial_data: *mut c_voidtarget_class: *mut RClass_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>upper: *mut RProcparser_nerr: usize

Implementations

impl mrbc_context[src]

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

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

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

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

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

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

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

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

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

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

pub fn new_bitfield_1(
    capture_errors: mrb_bool,
    dump_result: mrb_bool,
    no_exec: mrb_bool,
    keep_lv: mrb_bool,
    no_optimize: mrb_bool
) -> __BindgenBitfieldUnit<[u8; 1], u8>
[src]

Trait Implementations

impl Clone for mrbc_context[src]

impl Copy for mrbc_context[src]

impl Debug for mrbc_context[src]

Auto Trait Implementations

impl RefUnwindSafe for mrbc_context[src]

impl !Send for mrbc_context[src]

impl !Sync for mrbc_context[src]

impl Unpin for mrbc_context[src]

impl UnwindSafe for mrbc_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]