Struct wasmer_compiler::FunctionBodyData
source · [−]Expand description
Contains function data: bytecode and its offset in the module.
Fields
data: &'a [u8]
Function body bytecode.
module_offset: usize
Body offset relative to the module file.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for FunctionBodyData<'a>
impl<'a> Send for FunctionBodyData<'a>
impl<'a> Sync for FunctionBodyData<'a>
impl<'a> Unpin for FunctionBodyData<'a>
impl<'a> UnwindSafe for FunctionBodyData<'a>
Blanket Implementations
sourceimpl<T> ArchivePointee for T
impl<T> ArchivePointee for T
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
sourcepub 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.
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more