pub struct CompilationOptions {
pub unmetered_locals: usize,
pub max_memory_grow: usize,
pub max_memory_grow_delta: usize,
pub opcode_trace: bool,
}
Fields§
§unmetered_locals: usize
§max_memory_grow: usize
§max_memory_grow_delta: usize
§opcode_trace: bool
Implementations§
Source§impl CompilationOptions
impl CompilationOptions
pub fn to_legacy(&self) -> CompilationOptionsLegacy
Auto Trait Implementations§
impl Freeze for CompilationOptions
impl RefUnwindSafe for CompilationOptions
impl Send for CompilationOptions
impl Sync for CompilationOptions
impl Unpin for CompilationOptions
impl UnwindSafe for CompilationOptions
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