Struct wasmtime_jit::CompilationArtifacts
source · [−]pub struct CompilationArtifacts { /* private fields */ }
Expand description
Contains all compilation artifacts.
Implementations
sourceimpl CompilationArtifacts
impl CompilationArtifacts
sourcepub fn build(
compiler: &Compiler,
data: &[u8]
) -> Result<(Vec<CompilationArtifacts>, TypeTables), SetupError>
pub fn build(
compiler: &Compiler,
data: &[u8]
) -> Result<(Vec<CompilationArtifacts>, TypeTables), SetupError>
Creates a CompilationArtifacts
for a singular translated wasm module.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for CompilationArtifacts
impl<'de> Deserialize<'de> for CompilationArtifacts
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for CompilationArtifacts
impl Serialize for CompilationArtifacts
Auto Trait Implementations
impl RefUnwindSafe for CompilationArtifacts
impl Send for CompilationArtifacts
impl Sync for CompilationArtifacts
impl Unpin for CompilationArtifacts
impl UnwindSafe for CompilationArtifacts
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