[−][src]Struct mruby_sys::mrb_gc
Fields
heaps: *mut mrb_heap_page
sweeps: *mut mrb_heap_page
free_heaps: *mut mrb_heap_page
live: usize
arena: *mut *mut RBasic
arena_capa: c_int
arena_idx: c_int
state: mrb_gc_state
current_white_part: c_int
gray_list: *mut RBasic
atomic_gray_list: *mut RBasic
live_after_mark: usize
threshold: usize
interval_ratio: c_int
step_ratio: c_int
_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>
majorgc_old_threshold: usize
Methods
impl mrb_gc
[src]
pub fn iterating(&self) -> mrb_bool
[src]
pub fn set_iterating(&mut self, val: mrb_bool)
[src]
pub fn disabled(&self) -> mrb_bool
[src]
pub fn set_disabled(&mut self, val: mrb_bool)
[src]
pub fn full(&self) -> mrb_bool
[src]
pub fn set_full(&mut self, val: mrb_bool)
[src]
pub fn generational(&self) -> mrb_bool
[src]
pub fn set_generational(&mut self, val: mrb_bool)
[src]
pub fn out_of_memory(&self) -> mrb_bool
[src]
pub fn set_out_of_memory(&mut self, val: mrb_bool)
[src]
pub fn new_bitfield_1(
iterating: mrb_bool,
disabled: mrb_bool,
full: mrb_bool,
generational: mrb_bool,
out_of_memory: mrb_bool
) -> __BindgenBitfieldUnit<[u8; 1], u8>
[src]
iterating: mrb_bool,
disabled: mrb_bool,
full: mrb_bool,
generational: mrb_bool,
out_of_memory: mrb_bool
) -> __BindgenBitfieldUnit<[u8; 1], u8>
Trait Implementations
impl Clone for mrb_gc
[src]
fn clone(&self) -> mrb_gc
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for mrb_gc
[src]
impl Debug for mrb_gc
[src]
Auto Trait Implementations
impl !Send for mrb_gc
impl Unpin for mrb_gc
impl !Sync for mrb_gc
impl UnwindSafe for mrb_gc
impl RefUnwindSafe for mrb_gc
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,