Enum wasmtime_jit::CompilationStrategy
source · [−]pub enum CompilationStrategy {
Auto,
Cranelift,
}
Expand description
Select which kind of compilation to use.
Variants
Auto
Let Wasmtime pick the strategy.
Cranelift
Compile all functions with Cranelift.
Trait Implementations
sourceimpl Clone for CompilationStrategy
impl Clone for CompilationStrategy
sourcefn clone(&self) -> CompilationStrategy
fn clone(&self) -> CompilationStrategy
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CompilationStrategy
impl Debug for CompilationStrategy
sourceimpl Hash for CompilationStrategy
impl Hash for CompilationStrategy
impl Copy for CompilationStrategy
Auto Trait Implementations
impl RefUnwindSafe for CompilationStrategy
impl Send for CompilationStrategy
impl Sync for CompilationStrategy
impl Unpin for CompilationStrategy
impl UnwindSafe for CompilationStrategy
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> CallHasher for T where
T: Hash + ?Sized,
impl<T> CallHasher for T where
T: Hash + ?Sized,
sourceimpl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more