pub enum CompilationTarget {
Wasm,
Node,
Python,
C,
}
Variants§
Wasm
WebAssembly (default)
Node
Node.js native modules (future)
Python
Python FFI via PyO3 (future)
C
C FFI (future)
Trait Implementations§
Source§impl Clone for CompilationTarget
impl Clone for CompilationTarget
Source§fn clone(&self) -> CompilationTarget
fn clone(&self) -> CompilationTarget
Returns a duplicate of the value. Read more
1.0.0 · 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 CompilationTarget
impl Debug for CompilationTarget
Source§impl ValueEnum for CompilationTarget
impl ValueEnum for CompilationTarget
impl Copy for CompilationTarget
Auto Trait Implementations§
impl Freeze for CompilationTarget
impl RefUnwindSafe for CompilationTarget
impl Send for CompilationTarget
impl Sync for CompilationTarget
impl Unpin for CompilationTarget
impl UnwindSafe for CompilationTarget
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