pub struct ArchivableModuleInfoResolverwhere
Option<String>: Archive,
Option<ModuleHash>: Archive,
IndexMap<ImportKey, ImportIndex>: Archive,
IndexMap<String, ExportIndex>: Archive,
Option<FunctionIndex>: Archive,
Vec<TableInitializer>: Archive,
BTreeMap<ElemIndex, Box<[FunctionIndex]>>: Archive,
BTreeMap<DataIndex, Arc<[u8]>>: Archive,
PrimaryMap<LocalGlobalIndex, GlobalInit>: Archive,
BTreeMap<FunctionIndex, String>: Archive,
PrimaryMap<SignatureIndex, FunctionType>: Archive,
PrimaryMap<SignatureIndex, SignatureHash>: Archive,
PrimaryMap<FunctionIndex, SignatureIndex>: Archive,
PrimaryMap<TableIndex, TableType>: Archive,
PrimaryMap<MemoryIndex, MemoryType>: Archive,
PrimaryMap<GlobalIndex, GlobalType>: Archive,
PrimaryMap<TagIndex, SignatureIndex>: Archive,
IndexMap<String, CustomSectionIndex>: Archive,
PrimaryMap<CustomSectionIndex, Box<[u8]>>: Archive,
usize: Archive,{Show 24 fields
name: <Option<String> as Archive>::Resolver,
hash: <Option<ModuleHash> as Archive>::Resolver,
imports: <IndexMap<ImportKey, ImportIndex> as Archive>::Resolver,
exports: <IndexMap<String, ExportIndex> as Archive>::Resolver,
start_function: <Option<FunctionIndex> as Archive>::Resolver,
table_initializers: <Vec<TableInitializer> as Archive>::Resolver,
passive_elements: <BTreeMap<ElemIndex, Box<[FunctionIndex]>> as Archive>::Resolver,
passive_data: <BTreeMap<DataIndex, Arc<[u8]>> as Archive>::Resolver,
global_initializers: <PrimaryMap<LocalGlobalIndex, GlobalInit> as Archive>::Resolver,
function_names: <BTreeMap<FunctionIndex, String> as Archive>::Resolver,
signatures: <PrimaryMap<SignatureIndex, FunctionType> as Archive>::Resolver,
signature_hashes: <PrimaryMap<SignatureIndex, SignatureHash> as Archive>::Resolver,
functions: <PrimaryMap<FunctionIndex, SignatureIndex> as Archive>::Resolver,
tables: <PrimaryMap<TableIndex, TableType> as Archive>::Resolver,
memories: <PrimaryMap<MemoryIndex, MemoryType> as Archive>::Resolver,
globals: <PrimaryMap<GlobalIndex, GlobalType> as Archive>::Resolver,
tags: <PrimaryMap<TagIndex, SignatureIndex> as Archive>::Resolver,
custom_sections: <IndexMap<String, CustomSectionIndex> as Archive>::Resolver,
custom_sections_data: <PrimaryMap<CustomSectionIndex, Box<[u8]>> as Archive>::Resolver,
num_imported_functions: <usize as Archive>::Resolver,
num_imported_tables: <usize as Archive>::Resolver,
num_imported_tags: <usize as Archive>::Resolver,
num_imported_memories: <usize as Archive>::Resolver,
num_imported_globals: <usize as Archive>::Resolver,
}Expand description
The resolver for an archived ArchivableModuleInfo
Fields§
§name: <Option<String> as Archive>::Resolver§hash: <Option<ModuleHash> as Archive>::Resolver§imports: <IndexMap<ImportKey, ImportIndex> as Archive>::Resolver§exports: <IndexMap<String, ExportIndex> as Archive>::Resolver§start_function: <Option<FunctionIndex> as Archive>::Resolver§table_initializers: <Vec<TableInitializer> as Archive>::Resolver§passive_elements: <BTreeMap<ElemIndex, Box<[FunctionIndex]>> as Archive>::Resolver§passive_data: <BTreeMap<DataIndex, Arc<[u8]>> as Archive>::Resolver§global_initializers: <PrimaryMap<LocalGlobalIndex, GlobalInit> as Archive>::Resolver§function_names: <BTreeMap<FunctionIndex, String> as Archive>::Resolver§signatures: <PrimaryMap<SignatureIndex, FunctionType> as Archive>::Resolver§signature_hashes: <PrimaryMap<SignatureIndex, SignatureHash> as Archive>::Resolver§functions: <PrimaryMap<FunctionIndex, SignatureIndex> as Archive>::Resolver§tables: <PrimaryMap<TableIndex, TableType> as Archive>::Resolver§memories: <PrimaryMap<MemoryIndex, MemoryType> as Archive>::Resolver§globals: <PrimaryMap<GlobalIndex, GlobalType> as Archive>::Resolver§custom_sections: <IndexMap<String, CustomSectionIndex> as Archive>::Resolver§custom_sections_data: <PrimaryMap<CustomSectionIndex, Box<[u8]>> as Archive>::Resolver§num_imported_functions: <usize as Archive>::Resolver§num_imported_tables: <usize as Archive>::Resolver§num_imported_memories: <usize as Archive>::Resolver§num_imported_globals: <usize as Archive>::ResolverAuto Trait Implementations§
impl Freeze for ArchivableModuleInfoResolver
impl RefUnwindSafe for ArchivableModuleInfoResolver
impl Send for ArchivableModuleInfoResolver
impl Sync for ArchivableModuleInfoResolver
impl Unpin for ArchivableModuleInfoResolver
impl UnsafeUnpin for ArchivableModuleInfoResolver
impl UnwindSafe for ArchivableModuleInfoResolver
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. 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.