Struct wasmer_types::MetadataHeader
source · #[repr(C)]pub struct MetadataHeader { /* private fields */ }
Expand description
Metadata header which holds an ABI version and the length of the remaining metadata.
Implementations
sourceimpl MetadataHeader
impl MetadataHeader
sourcepub fn into_bytes(self) -> [u8; 16]
pub fn into_bytes(self) -> [u8; 16]
Convert the header into its bytes representation.
Trait Implementations
sourceimpl Clone for MetadataHeader
impl Clone for MetadataHeader
sourcefn clone(&self) -> MetadataHeader
fn clone(&self) -> MetadataHeader
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for MetadataHeader
Auto Trait Implementations
impl RefUnwindSafe for MetadataHeader
impl Send for MetadataHeader
impl Sync for MetadataHeader
impl Unpin for MetadataHeader
impl UnwindSafe for MetadataHeader
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.
sourcefn 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.
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more