Enum wasmer_types::LibCall
source · #[repr(u16)]pub enum LibCall {
Show 37 variants
CeilF32 = 0,
CeilF64 = 1,
FloorF32 = 2,
FloorF64 = 3,
NearestF32 = 4,
NearestF64 = 5,
TruncF32 = 6,
TruncF64 = 7,
Memory32Size = 8,
ImportedMemory32Size = 9,
TableCopy = 10,
TableInit = 11,
TableFill = 12,
TableSize = 13,
ImportedTableSize = 14,
TableGet = 15,
ImportedTableGet = 16,
TableSet = 17,
ImportedTableSet = 18,
TableGrow = 19,
ImportedTableGrow = 20,
FuncRef = 21,
ElemDrop = 22,
Memory32Copy = 23,
ImportedMemory32Copy = 24,
Memory32Fill = 25,
ImportedMemory32Fill = 26,
Memory32Init = 27,
DataDrop = 28,
RaiseTrap = 29,
Probestack = 30,
Memory32AtomicWait32 = 31,
ImportedMemory32AtomicWait32 = 32,
Memory32AtomicWait64 = 33,
ImportedMemory32AtomicWait64 = 34,
Memory32AtomicNotify = 35,
ImportedMemory32AtomicNotify = 36,
}
Expand description
The name of a runtime library routine.
This list is likely to grow over time.
Variants§
CeilF32 = 0
ceil.f32
CeilF64 = 1
ceil.f64
FloorF32 = 2
floor.f32
FloorF64 = 3
floor.f64
NearestF32 = 4
nearest.f32
NearestF64 = 5
nearest.f64
TruncF32 = 6
trunc.f32
TruncF64 = 7
trunc.f64
Memory32Size = 8
memory.size for local functions
ImportedMemory32Size = 9
memory.size for imported functions
TableCopy = 10
table.copy
TableInit = 11
table.init
TableFill = 12
table.fill
TableSize = 13
table.size for local tables
ImportedTableSize = 14
table.size for imported tables
TableGet = 15
table.get for local tables
ImportedTableGet = 16
table.get for imported tables
TableSet = 17
table.set for local tables
ImportedTableSet = 18
table.set for imported tables
TableGrow = 19
table.grow for local tables
ImportedTableGrow = 20
table.grow for imported tables
FuncRef = 21
ref.func
ElemDrop = 22
elem.drop
Memory32Copy = 23
memory.copy for local memories
ImportedMemory32Copy = 24
memory.copy for imported memories
Memory32Fill = 25
memory.fill for local memories
ImportedMemory32Fill = 26
memory.fill for imported memories
Memory32Init = 27
memory.init
DataDrop = 28
data.drop
RaiseTrap = 29
A custom trap
Probestack = 30
probe for stack overflow. These are emitted for functions which need
when the enable_probestack
setting is true.
Memory32AtomicWait32 = 31
memory.atomic.wait32 for local memories
ImportedMemory32AtomicWait32 = 32
memory.atomic.wait32 for imported memories
Memory32AtomicWait64 = 33
memory.atomic.wait64 for local memories
ImportedMemory32AtomicWait64 = 34
memory.atomic.wait64 for imported memories
Memory32AtomicNotify = 35
memory.atomic.notify for local memories
ImportedMemory32AtomicNotify = 36
memory.atomic.botify for imported memories
Implementations§
Trait Implementations§
source§impl Archive for LibCall
impl Archive for LibCall
source§impl<__C: ?Sized> CheckBytes<__C> for LibCall
impl<__C: ?Sized> CheckBytes<__C> for LibCall
source§type Error = EnumCheckError<u16>
type Error = EnumCheckError<u16>
source§unsafe fn check_bytes<'__bytecheck>(
value: *const Self,
context: &mut __C,
) -> Result<&'__bytecheck Self, EnumCheckError<u16>>
unsafe fn check_bytes<'__bytecheck>( value: *const Self, context: &mut __C, ) -> Result<&'__bytecheck Self, EnumCheckError<u16>>
source§impl IntoEnumIterator for LibCall
impl IntoEnumIterator for LibCall
impl Copy for LibCall
impl Eq for LibCall
impl StructuralPartialEq for LibCall
Auto Trait Implementations§
impl Freeze for LibCall
impl RefUnwindSafe for LibCall
impl Send for LibCall
impl Sync for LibCall
impl Unpin for LibCall
impl UnwindSafe for LibCall
Blanket Implementations§
source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
source§impl<T> ArchiveUnsized for Twhere
T: Archive,
impl<T> ArchiveUnsized for Twhere
T: Archive,
source§type Archived = <T as Archive>::Archived
type Archived = <T as Archive>::Archived
Archive
, it may be unsized. Read moresource§type MetadataResolver = ()
type MetadataResolver = ()
source§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, )
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
source§impl<T> CallHasher for T
impl<T> CallHasher for T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.