#[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_align_1: [u8; 0],
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
    pub upper: *const RProc,
    pub parser_nerr: usize,
}Fields§
§syms: *mut mrb_sym§slen: c_int§filename: *mut c_char§lineno: u16§partial_hook: Option<unsafe extern "C" fn(arg1: *mut mrb_parser_state) -> c_int>§partial_data: *mut c_void§target_class: *mut RClass§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>§upper: *const RProc§parser_nerr: usizeImplementations§
Source§impl mrbc_context
 
impl mrbc_context
pub fn capture_errors(&self) -> mrb_bool
pub fn set_capture_errors(&mut self, val: mrb_bool)
pub unsafe fn capture_errors_raw(this: *const Self) -> mrb_bool
pub unsafe fn set_capture_errors_raw(this: *mut Self, val: mrb_bool)
pub fn dump_result(&self) -> mrb_bool
pub fn set_dump_result(&mut self, val: mrb_bool)
pub unsafe fn dump_result_raw(this: *const Self) -> mrb_bool
pub unsafe fn set_dump_result_raw(this: *mut Self, val: mrb_bool)
pub fn no_exec(&self) -> mrb_bool
pub fn set_no_exec(&mut self, val: mrb_bool)
pub unsafe fn no_exec_raw(this: *const Self) -> mrb_bool
pub unsafe fn set_no_exec_raw(this: *mut Self, val: mrb_bool)
pub fn keep_lv(&self) -> mrb_bool
pub fn set_keep_lv(&mut self, val: mrb_bool)
pub unsafe fn keep_lv_raw(this: *const Self) -> mrb_bool
pub unsafe fn set_keep_lv_raw(this: *mut Self, val: mrb_bool)
pub fn no_optimize(&self) -> mrb_bool
pub fn set_no_optimize(&mut self, val: mrb_bool)
pub unsafe fn no_optimize_raw(this: *const Self) -> mrb_bool
pub unsafe fn set_no_optimize_raw(this: *mut Self, val: mrb_bool)
pub fn no_ext_ops(&self) -> mrb_bool
pub fn set_no_ext_ops(&mut self, val: mrb_bool)
pub unsafe fn no_ext_ops_raw(this: *const Self) -> mrb_bool
pub unsafe fn set_no_ext_ops_raw(this: *mut Self, val: mrb_bool)
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, no_ext_ops: mrb_bool, ) -> __BindgenBitfieldUnit<[u8; 1]>
Trait Implementations§
Source§impl Clone for mrbc_context
 
impl Clone for mrbc_context
Source§fn clone(&self) -> mrbc_context
 
fn clone(&self) -> mrbc_context
Returns a duplicate 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 mrbc_context
 
impl Debug for mrbc_context
impl Copy for mrbc_context
Auto Trait Implementations§
impl Freeze for mrbc_context
impl RefUnwindSafe for mrbc_context
impl !Send for mrbc_context
impl !Sync for mrbc_context
impl Unpin for mrbc_context
impl UnwindSafe for mrbc_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