[−][src]Struct mruby_sys::mrbc_context
Fields
syms: *mut mrb_symslen: c_intfilename: *mut c_charlineno: c_shortpartial_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>parser_nerr: usizeMethods
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 on_eval(&self) -> mrb_bool[src]
pub fn set_on_eval(&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,
on_eval: mrb_bool
) -> __BindgenBitfieldUnit<[u8; 1], u8>[src]
capture_errors: mrb_bool,
dump_result: mrb_bool,
no_exec: mrb_bool,
keep_lv: mrb_bool,
no_optimize: mrb_bool,
on_eval: mrb_bool
) -> __BindgenBitfieldUnit<[u8; 1], u8>
Trait Implementations
impl Clone for mrbc_context[src]
fn clone(&self) -> mrbc_context[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Copy for mrbc_context[src]
impl Debug for mrbc_context[src]
Auto Trait Implementations
impl !Send for mrbc_context
impl Unpin for mrbc_context
impl !Sync for mrbc_context
impl UnwindSafe for mrbc_context
impl RefUnwindSafe for mrbc_context
Blanket Implementations
impl<T> From<T> for T[src]
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,