#[repr(C)]
pub struct mrb_state {Show 39 fields
pub jmp: *mut mrb_jmpbuf,
pub allocf: mrb_allocf,
pub allocf_ud: *mut c_void,
pub c: *mut mrb_context,
pub root_c: *mut mrb_context,
pub globals: *mut iv_tbl,
pub exc: *mut RObject,
pub top_self: *mut RObject,
pub object_class: *mut RClass,
pub class_class: *mut RClass,
pub module_class: *mut RClass,
pub proc_class: *mut RClass,
pub string_class: *mut RClass,
pub array_class: *mut RClass,
pub hash_class: *mut RClass,
pub range_class: *mut RClass,
pub float_class: *mut RClass,
pub integer_class: *mut RClass,
pub true_class: *mut RClass,
pub false_class: *mut RClass,
pub nil_class: *mut RClass,
pub symbol_class: *mut RClass,
pub kernel_module: *mut RClass,
pub gc: mrb_gc,
pub cache: [mrb_cache_entry; 256],
pub symidx: mrb_sym,
pub symtbl: *mut *const c_char,
pub symlink: *mut u8,
pub symflags: *mut u8,
pub symhash: [mrb_sym; 256],
pub symcapa: usize,
pub symbuf: [c_char; 8],
pub eException_class: *mut RClass,
pub eStandardError_class: *mut RClass,
pub nomem_err: *mut RObject,
pub stack_err: *mut RObject,
pub ud: *mut c_void,
pub atexit_stack: *mut mrb_atexit_func,
pub atexit_stack_len: u16,
}
§eStandardError_class: *mut RClass
Performs copy-assignment from
source
.
Read more
Formats the value using the given formatter.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning.
Read more
Uses borrowed data to replace owned data, usually by cloning.
Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.