pub struct TranspileOptions {
pub functions_per_file: Option<usize>,
pub threads: Option<usize>,
pub debug: bool,
}Expand description
Options for WebAssembly-to-C transpilation
Fields§
§functions_per_file: Option<usize>Number of functions per output file (for large modules)
threads: Option<usize>Number of worker threads for parallel compilation
debug: boolInclude debug information
Trait Implementations§
Source§impl Clone for TranspileOptions
impl Clone for TranspileOptions
Source§fn clone(&self) -> TranspileOptions
fn clone(&self) -> TranspileOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TranspileOptions
impl Debug for TranspileOptions
Auto Trait Implementations§
impl Freeze for TranspileOptions
impl RefUnwindSafe for TranspileOptions
impl Send for TranspileOptions
impl Sync for TranspileOptions
impl Unpin for TranspileOptions
impl UnsafeUnpin for TranspileOptions
impl UnwindSafe for TranspileOptions
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