Struct wasmer_vm::vmcontext::VMBuiltinFunctionsArray
source · #[repr(C)]pub struct VMBuiltinFunctionsArray {
ptrs: [usize; 30],
}
Expand description
An array that stores addresses of builtin functions. We translate code to use indirect calls. This way, we don’t have to patch the code.
Fields§
§ptrs: [usize; 30]
Implementations§
source§impl VMBuiltinFunctionsArray
impl VMBuiltinFunctionsArray
pub const fn len() -> usize
pub fn initialized() -> Self
Auto Trait Implementations§
impl Freeze for VMBuiltinFunctionsArray
impl RefUnwindSafe for VMBuiltinFunctionsArray
impl Send for VMBuiltinFunctionsArray
impl Sync for VMBuiltinFunctionsArray
impl Unpin for VMBuiltinFunctionsArray
impl UnwindSafe for VMBuiltinFunctionsArray
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
Mutably borrows from an owned value. Read more
§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.