Docs.rs
nyar-wasm-0.0.3
nyar-wasm 0.0.3
Docs.rs crate page
MPL-2.0
Links
Repository
crates.io
Source
Owners
oovm
Dependencies
indexmap ^2.1.0
normal
nyar-error 0.1.*
normal
wast ^69.0.1
normal
Versions
11.11%
of the crate is documented
Go to latest version
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
nyar_wasm
0.0.3
IntoWasm
Required Methods
as_wast
Implementors
In nyar_wasm::helpers
?
Trait
nyar_wasm
::
helpers
::
IntoWasm
source
·
[
−
]
pub trait IntoWasm<'a, Item> { // Required method fn
as_wast
(&'a self) -> Item; }
Required Methods
§
source
fn
as_wast
(&'a self) -> Item
Implementors
§
source
§
impl<'a>
IntoWasm
<'a,
PrimitiveValType
> for
WasmType
source
§
impl<'a, 'i>
IntoWasm
<'a, (
Option
<
Id
<'a>>,
Option
<
NameAnnotation
<'a>>,
ValType
<'a>)> for
ParameterType
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
Option
<
NameAnnotation
<'i>>> for
WasmBuilder
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
CoreFuncKind
<'i>> for
FunctionType
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
FuncKind
<'i>> for
FunctionType
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
CoreModuleKind
<'i>> for
WasmBuilder
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
ComponentDefinedType
<'i>> for
WasmType
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
ComponentDefinedType
<'i>> for
ArrayType
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
ComponentDefinedType
<'i>> for
EnumerateType
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
ComponentDefinedType
<'i>> for
FlagType
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
ComponentDefinedType
<'i>> for
StructureItem
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
ComponentDefinedType
<'i>> for
VariantType
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
ComponentValType
<'i>> for
WasmType
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
TypeDef
<'i>> for
EnumerateType
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
TypeDef
<'i>> for
FlagType
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
TypeDef
<'i>> for
StructureItem
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
TypeDef
<'i>> for
VariantType
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
Instruction
<'i>> for
WasmValue
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
FuncKind
<'i>> for
FunctionType
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
StorageType
<'i>> for
WasmType
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
TypeDef
<'i>> for
EnumerateType
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
TypeDef
<'i>> for
FlagType
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
TypeDef
<'i>> for
VariantType
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
ValType
<'i>> for
WasmType
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
Start
<'i>> for
FunctionType
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
CanonLift
<'i>> for
FunctionType
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
CoreFunc
<'i>> for
FunctionType
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
Func
<'i>> for
FunctionType
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
CoreModule
<'i>> for
WasmBuilder
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
ComponentFunctionParam
<'i>> for
ParameterType
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
ComponentFunctionResult
<'i>> for
WasmType
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
ComponentFunctionType
<'i>> for
FunctionType
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
CoreType
<'i>> for
WasmType
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
Enum
<'i>> for
EnumerateType
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
Flags
<'i>> for
FlagType
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
List
<'i>> for
ArrayType
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
Record
<'i>> for
StructureItem
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
RecordField
<'i>> for
FieldType
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
Type
<'i>> for
WasmType
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
Type
<'i>> for
EnumerateType
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
Type
<'i>> for
FlagType
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
Type
<'i>> for
StructureItem
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
Type
<'i>> for
VariantType
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
Variant
<'i>> for
VariantType
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
VariantCase
<'i>> for
StructureItem
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
Producers
<'i>> for
WasmBuilder
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
Expression
<'i>> for
FunctionBody
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
Expression
<'i>> for
WasmVariable
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
Func
<'i>> for
FunctionType
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
Local
<'i>> for
ParameterType
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
Global
<'i>> for
WasmVariable
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
Import
<'i>> for
ExternalType
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
ArrayType
<'i>> for
ArrayType
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
FunctionType
<'i>> for
ExternalType
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
FunctionType
<'i>> for
FunctionType
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
StructField
<'i>> for
FieldType
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
Type
<'i>> for
WasmType
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
Type
<'i>> for
ArrayType
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
Type
<'i>> for
EnumerateType
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
Type
<'i>> for
FlagType
where 'a: 'i,
source
§
impl<'a, 'i>
IntoWasm
<'a,
Type
<'i>> for
VariantType
where 'a: 'i,