pub enum LibCall {
Show 37 variants
CeilF32,
CeilF64,
FloorF32,
FloorF64,
NearestF32,
NearestF64,
TruncF32,
TruncF64,
Memory32Size,
ImportedMemory32Size,
TableCopy,
TableInit,
TableFill,
TableSize,
ImportedTableSize,
TableGet,
ImportedTableGet,
TableSet,
ImportedTableSet,
TableGrow,
ImportedTableGrow,
FuncRef,
ElemDrop,
Memory32Copy,
ImportedMemory32Copy,
Memory32Fill,
ImportedMemory32Fill,
Memory32Init,
DataDrop,
RaiseTrap,
Probestack,
Memory32AtomicWait32,
ImportedMemory32AtomicWait32,
Memory32AtomicWait64,
ImportedMemory32AtomicWait64,
Memory32AtomicNotify,
ImportedMemory32AtomicNotify,
}
Expand description
The name of a runtime library routine.
This list is likely to grow over time.
Variants§
CeilF32
ceil.f32
CeilF64
ceil.f64
FloorF32
floor.f32
FloorF64
floor.f64
NearestF32
nearest.f32
NearestF64
nearest.f64
TruncF32
trunc.f32
TruncF64
trunc.f64
Memory32Size
memory.size for local functions
ImportedMemory32Size
memory.size for imported functions
TableCopy
table.copy
TableInit
table.init
TableFill
table.fill
TableSize
table.size for local tables
ImportedTableSize
table.size for imported tables
TableGet
table.get for local tables
ImportedTableGet
table.get for imported tables
TableSet
table.set for local tables
ImportedTableSet
table.set for imported tables
TableGrow
table.grow for local tables
ImportedTableGrow
table.grow for imported tables
FuncRef
ref.func
ElemDrop
elem.drop
Memory32Copy
memory.copy for local memories
ImportedMemory32Copy
memory.copy for imported memories
Memory32Fill
memory.fill for local memories
ImportedMemory32Fill
memory.fill for imported memories
Memory32Init
memory.init
DataDrop
data.drop
RaiseTrap
A custom trap
Probestack
probe for stack overflow. These are emitted for functions which need
when the enable_probestack
setting is true.
Memory32AtomicWait32
memory.atomic.wait32 for local memories
ImportedMemory32AtomicWait32
memory.atomic.wait32 for imported memories
Memory32AtomicWait64
memory.atomic.wait64 for local memories
ImportedMemory32AtomicWait64
memory.atomic.wait64 for imported memories
Memory32AtomicNotify
memory.atomic.notify for local memories
ImportedMemory32AtomicNotify
memory.atomic.botify for imported memories
Implementations§
Trait Implementations§
source§impl Archive for LibCall
impl Archive for LibCall
source§impl<__D> Deserialize<LibCall, __D> for <LibCall as Archive>::Archivedwhere
__D: Fallible + ?Sized,
impl<__D> Deserialize<LibCall, __D> for <LibCall as Archive>::Archivedwhere
__D: Fallible + ?Sized,
source§impl IntoEnumIterator for LibCall
impl IntoEnumIterator for LibCall
source§const VARIANT_COUNT: usize = 37usize
const VARIANT_COUNT: usize = 37usize
source§fn into_enum_iter() -> <LibCall as IntoEnumIterator>::Iterator
fn into_enum_iter() -> <LibCall as IntoEnumIterator>::Iterator
source§impl PartialEq<LibCall> for LibCall
impl PartialEq<LibCall> for LibCall
impl Copy for LibCall
impl Eq for LibCall
impl StructuralEq for LibCall
impl StructuralPartialEq for LibCall
Auto Trait Implementations§
impl RefUnwindSafe for LibCall
impl Send for LibCall
impl Sync for LibCall
impl Unpin for LibCall
impl UnwindSafe for LibCall
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
§impl<T> ArchiveUnsized for Twhere
T: Archive,
impl<T> ArchiveUnsized for Twhere
T: Archive,
§type Archived = <T as Archive>::Archived
type Archived = <T as Archive>::Archived
Archive
, it may be unsized. Read more§type MetadataResolver = ()
type MetadataResolver = ()
§unsafe fn resolve_metadata(
&self,
_: usize,
_: <T as ArchiveUnsized>::MetadataResolver,
_: *mut <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata
)
unsafe fn resolve_metadata(
&self,
_: usize,
_: <T as ArchiveUnsized>::MetadataResolver,
_: *mut <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata
)
§impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
§fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.