Enum wasmer_vm::TableElement [−][src]
Expand description
A reference stored in a table. Can be either an externref or a funcref.
Variants
ExternRef(ExternRef)Opaque pointer to arbitrary host data.
FuncRef(VMFuncRef)Pointer to function: contains enough information to call it.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for TableElementimpl !Send for TableElementimpl !Sync for TableElementimpl Unpin for TableElementimpl !UnwindSafe for TableElementBlanket 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>::MetadataConverts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more