Enum wasmer_vm::TableElement [−][src]
Expand description
A reference stored in a table. Can be either an externref or a funcref.
Variants
ExternRef(ExternRef)
Tuple Fields
0: ExternRef
Opaque pointer to arbitrary host data.
FuncRef(VMFuncRef)
Tuple Fields
0: VMFuncRef
Pointer to function: contains enough information to call it.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for TableElement
impl !Send for TableElement
impl !Sync for TableElement
impl Unpin for TableElement
impl !UnwindSafe for TableElement
Blanket Implementations
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more