Struct wasmer_types::compilation::module::ArchivedCompileModuleInfo
source · #[repr(C)]pub struct ArchivedCompileModuleInfowhere
Features: Archive,
Arc<ModuleInfo>: Archive,
PrimaryMap<MemoryIndex, MemoryStyle>: Archive,
PrimaryMap<TableIndex, TableStyle>: Archive,{
pub features: Archived<Features>,
pub module: Archived<Arc<ModuleInfo>>,
pub memory_styles: Archived<PrimaryMap<MemoryIndex, MemoryStyle>>,
pub table_styles: Archived<PrimaryMap<TableIndex, TableStyle>>,
}
Expand description
An archived CompileModuleInfo
Fields§
§features: Archived<Features>
The archived counterpart of CompileModuleInfo::features
module: Archived<Arc<ModuleInfo>>
The archived counterpart of CompileModuleInfo::module
memory_styles: Archived<PrimaryMap<MemoryIndex, MemoryStyle>>
The archived counterpart of CompileModuleInfo::memory_styles
table_styles: Archived<PrimaryMap<TableIndex, TableStyle>>
The archived counterpart of CompileModuleInfo::table_styles
Trait Implementations§
source§impl<__C: ?Sized> CheckBytes<__C> for ArchivedCompileModuleInfowhere
Features: Archive,
Arc<ModuleInfo>: Archive,
PrimaryMap<MemoryIndex, MemoryStyle>: Archive,
PrimaryMap<TableIndex, TableStyle>: Archive,
Archived<Features>: CheckBytes<__C>,
Archived<Arc<ModuleInfo>>: CheckBytes<__C>,
Archived<PrimaryMap<MemoryIndex, MemoryStyle>>: CheckBytes<__C>,
Archived<PrimaryMap<TableIndex, TableStyle>>: CheckBytes<__C>,
impl<__C: ?Sized> CheckBytes<__C> for ArchivedCompileModuleInfowhere
Features: Archive,
Arc<ModuleInfo>: Archive,
PrimaryMap<MemoryIndex, MemoryStyle>: Archive,
PrimaryMap<TableIndex, TableStyle>: Archive,
Archived<Features>: CheckBytes<__C>,
Archived<Arc<ModuleInfo>>: CheckBytes<__C>,
Archived<PrimaryMap<MemoryIndex, MemoryStyle>>: CheckBytes<__C>,
Archived<PrimaryMap<TableIndex, TableStyle>>: CheckBytes<__C>,
§type Error = StructCheckError
type Error = StructCheckError
The error that may result from checking the type.
source§unsafe fn check_bytes<'__bytecheck>(
value: *const Self,
context: &mut __C,
) -> Result<&'__bytecheck Self, StructCheckError>
unsafe fn check_bytes<'__bytecheck>( value: *const Self, context: &mut __C, ) -> Result<&'__bytecheck Self, StructCheckError>
Checks whether the given pointer points to a valid value within the
given context. Read more
source§impl Debug for ArchivedCompileModuleInfowhere
Features: Archive,
Arc<ModuleInfo>: Archive,
PrimaryMap<MemoryIndex, MemoryStyle>: Archive,
PrimaryMap<TableIndex, TableStyle>: Archive,
impl Debug for ArchivedCompileModuleInfowhere
Features: Archive,
Arc<ModuleInfo>: Archive,
PrimaryMap<MemoryIndex, MemoryStyle>: Archive,
PrimaryMap<TableIndex, TableStyle>: Archive,
Auto Trait Implementations§
impl Freeze for ArchivedCompileModuleInfo
impl RefUnwindSafe for ArchivedCompileModuleInfo
impl Send for ArchivedCompileModuleInfo
impl Sync for ArchivedCompileModuleInfo
impl !Unpin for ArchivedCompileModuleInfo
impl UnwindSafe for ArchivedCompileModuleInfo
Blanket Implementations§
source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
source§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
source§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
source§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Gets the layout of the type.