pub struct VMConfig {
pub max_stack_size: usize,
pub max_memory: usize,
pub max_call_depth: usize,
pub enable_gc: bool,
pub gc_threshold: usize,
}
Fields§
§max_stack_size: usize
§max_memory: usize
§max_call_depth: usize
§enable_gc: bool
§gc_threshold: usize
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VMConfig
impl RefUnwindSafe for VMConfig
impl Send for VMConfig
impl Sync for VMConfig
impl Unpin for VMConfig
impl UnwindSafe for VMConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more