Struct caml_domain_state
Source #[repr(C)]
pub struct caml_domain_state {Show 58 fields
pub _young_limit: AtomicUsize,
pub _young_ptr: *mut Value,
pub _exception_pointer: *mut Char,
pub _young_start: *mut Value,
pub _young_end: *mut Value,
pub _current_stack: *mut c_void,
pub _exn_handler: *mut c_void,
pub _action_pending: c_int,
pub _c_stack: *mut c_void,
pub _stack_cache: *mut *mut c_void,
pub _gc_regs_buckets: *mut Value,
pub _gc_regs: *mut Value,
pub _minor_tables: *mut c_void,
pub _mark_stack: *mut c_void,
pub _marking_done: Uintnat,
pub _sweeping_done: Uintnat,
pub _allocated_words: Uintnat,
pub _swept_words: Uintnat,
pub _major_work_computed: Intnat,
pub _major_work_todo: Intnat,
pub _major_gc_clock: f64,
pub _local_roots: *mut CamlRootsBlock,
pub _ephe_info: *mut c_void,
pub _final_info: *mut c_void,
pub _backtrace_pos: Intnat,
pub _backtrace_active: Intnat,
pub _backtrace_buffer: *mut backtrace_slot,
pub _backtrace_last_exn: Value,
pub _compare_unordered: Intnat,
pub _oo_next_id_local: Uintnat,
pub _requested_major_slice: Uintnat,
pub _requested_minor_slice: Uintnat,
pub _requested_minor_gc: Uintnat,
pub _requested_external_interrupt: AtomicUsize,
pub _parser_trace: c_int,
pub _minor_heap_wsz: usize,
pub _shared_heap: *mut c_void,
pub _id: c_int,
pub _unique_id: c_int,
pub _dls_root: Value,
pub _extra_heap_resources: f64,
pub _extra_heap_resources_minor: f64,
pub _dependent_size: Uintnat,
pub _dependent_allocated: Uintnat,
pub _caml_extern_state: *mut c_void,
pub _caml_intern_state: *mut c_void,
pub _stat_minor_words: Uintnat,
pub _stat_promoted_words: Uintnat,
pub _stat_major_words: Uintnat,
pub _stat_minor_collections: Intnat,
pub _stat_forced_major_collections: Intnat,
pub _stat_blocks_marked: Uintnat,
pub _inside_stw_handler: c_int,
pub _trap_sp_off: Intnat,
pub _trap_barrier_off: Intnat,
pub _trap_barrier_block: i64,
pub _external_raise: *mut c_void,
pub _extra_params_area: [u8; 0],
}
§_exn_handler: *mut c_void§_inside_stw_handler: c_int
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 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.