pub struct WasmBackend;Expand description
Parser backend for a WebAssembly core module.
Trait Implementations§
Source§impl ArtifactBackend for WasmBackend
impl ArtifactBackend for WasmBackend
Source§fn format(&self) -> ArtifactFormat
fn format(&self) -> ArtifactFormat
Format this backend accepts.
Source§fn parse(&self, bytes: &[u8]) -> Result<ArtifactIr, ArtifactError>
fn parse(&self, bytes: &[u8]) -> Result<ArtifactIr, ArtifactError>
Parse bytes without executing the artifact. Read more
Source§fn capabilities(&self) -> ArtifactCapabilities
fn capabilities(&self) -> ArtifactCapabilities
Facts this backend can potentially provide for a well-formed input.
Source§impl Clone for WasmBackend
impl Clone for WasmBackend
Source§fn clone(&self) -> WasmBackend
fn clone(&self) -> WasmBackend
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 moreimpl Copy for WasmBackend
Source§impl Debug for WasmBackend
impl Debug for WasmBackend
Source§impl Default for WasmBackend
impl Default for WasmBackend
Source§fn default() -> WasmBackend
fn default() -> WasmBackend
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WasmBackend
impl RefUnwindSafe for WasmBackend
impl Send for WasmBackend
impl Sync for WasmBackend
impl Unpin for WasmBackend
impl UnsafeUnpin for WasmBackend
impl UnwindSafe for WasmBackend
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