pub struct CompileOptions {
pub backend: Option<Backend>,
pub platform: Option<String>,
pub binary_format: Option<String>,
pub globals: Vec<String>,
pub global_exports: Vec<String>,
pub integer_offsets: HashMap<String, i64>,
pub auto_rust_offsets: bool,
pub settings_overrides: HashMap<String, bool>,
}Fields§
§backend: Option<Backend>§platform: Option<String>§binary_format: Option<String>§globals: Vec<String>§global_exports: Vec<String>§integer_offsets: HashMap<String, i64>§auto_rust_offsets: bool§settings_overrides: HashMap<String, bool>Implementations§
Source§impl CompileOptions
impl CompileOptions
pub fn with_auto_rust_offsets(self, v: bool) -> Self
Trait Implementations§
Source§impl Clone for CompileOptions
impl Clone for CompileOptions
Source§impl Debug for CompileOptions
impl Debug for CompileOptions
Auto Trait Implementations§
impl Freeze for CompileOptions
impl RefUnwindSafe for CompileOptions
impl Send for CompileOptions
impl Sync for CompileOptions
impl Unpin for CompileOptions
impl UnsafeUnpin for CompileOptions
impl UnwindSafe for CompileOptions
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