Struct artichoke_backend::sys::mrb_gc[][src]

#[repr(C)]
pub struct mrb_gc {
Show 18 fields pub heaps: *mut mrb_heap_page, pub sweeps: *mut mrb_heap_page, pub free_heaps: *mut mrb_heap_page, pub live: usize, pub arena: *mut *mut RBasic, pub arena_capa: c_int, pub arena_idx: c_int, pub state: mrb_gc_state, pub current_white_part: c_int, pub gray_list: *mut RBasic, pub atomic_gray_list: *mut RBasic, pub live_after_mark: usize, pub threshold: usize, pub interval_ratio: c_int, pub step_ratio: c_int, pub _bitfield_align_1: [u8; 0], pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>, pub majorgc_old_threshold: usize,
}

Fields

heaps: *mut mrb_heap_pagesweeps: *mut mrb_heap_pagefree_heaps: *mut mrb_heap_pagelive: usizearena: *mut *mut RBasicarena_capa: c_intarena_idx: c_intstate: mrb_gc_statecurrent_white_part: c_intgray_list: *mut RBasicatomic_gray_list: *mut RBasiclive_after_mark: usizethreshold: usizeinterval_ratio: c_intstep_ratio: c_int_bitfield_align_1: [u8; 0]_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>majorgc_old_threshold: usize

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

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.