pub struct ArchivedTinyWasmModulewhere
Option<u32>: Archive,
Box<[WasmFunction]>: Archive,
Box<[FuncType]>: Archive,
Box<[Export]>: Archive,
Box<[Global]>: Archive,
Box<[TableType]>: Archive,
Box<[MemoryType]>: Archive,
Box<[Import]>: Archive,
Box<[Data]>: Archive,
Box<[Element]>: Archive,{
pub start_func: <Option<u32> as Archive>::Archived,
pub funcs: <Box<[WasmFunction]> as Archive>::Archived,
pub func_types: <Box<[FuncType]> as Archive>::Archived,
pub exports: <Box<[Export]> as Archive>::Archived,
pub globals: <Box<[Global]> as Archive>::Archived,
pub table_types: <Box<[TableType]> as Archive>::Archived,
pub memory_types: <Box<[MemoryType]> as Archive>::Archived,
pub imports: <Box<[Import]> as Archive>::Archived,
pub data: <Box<[Data]> as Archive>::Archived,
pub elements: <Box<[Element]> as Archive>::Archived,
}Expand description
An archived TinyWasmModule
Fields§
§start_func: <Option<u32> as Archive>::ArchivedThe archived counterpart of TinyWasmModule::start_func
funcs: <Box<[WasmFunction]> as Archive>::ArchivedThe archived counterpart of TinyWasmModule::funcs
func_types: <Box<[FuncType]> as Archive>::ArchivedThe archived counterpart of TinyWasmModule::func_types
exports: <Box<[Export]> as Archive>::ArchivedThe archived counterpart of TinyWasmModule::exports
globals: <Box<[Global]> as Archive>::ArchivedThe archived counterpart of TinyWasmModule::globals
table_types: <Box<[TableType]> as Archive>::ArchivedThe archived counterpart of TinyWasmModule::table_types
memory_types: <Box<[MemoryType]> as Archive>::ArchivedThe archived counterpart of TinyWasmModule::memory_types
imports: <Box<[Import]> as Archive>::ArchivedThe archived counterpart of TinyWasmModule::imports
data: <Box<[Data]> as Archive>::ArchivedThe archived counterpart of TinyWasmModule::data
elements: <Box<[Element]> as Archive>::ArchivedThe archived counterpart of TinyWasmModule::elements
Trait Implementations§
Source§impl<__C> CheckBytes<__C> for ArchivedTinyWasmModulewhere
Option<u32>: Archive,
Box<[WasmFunction]>: Archive,
Box<[FuncType]>: Archive,
Box<[Export]>: Archive,
Box<[Global]>: Archive,
Box<[TableType]>: Archive,
Box<[MemoryType]>: Archive,
Box<[Import]>: Archive,
Box<[Data]>: Archive,
Box<[Element]>: Archive,
<Option<u32> as Archive>::Archived: CheckBytes<__C>,
<Box<[WasmFunction]> as Archive>::Archived: CheckBytes<__C>,
<Box<[FuncType]> as Archive>::Archived: CheckBytes<__C>,
<Box<[Export]> as Archive>::Archived: CheckBytes<__C>,
<Box<[Global]> as Archive>::Archived: CheckBytes<__C>,
<Box<[TableType]> as Archive>::Archived: CheckBytes<__C>,
<Box<[MemoryType]> as Archive>::Archived: CheckBytes<__C>,
<Box<[Import]> as Archive>::Archived: CheckBytes<__C>,
<Box<[Data]> as Archive>::Archived: CheckBytes<__C>,
<Box<[Element]> as Archive>::Archived: CheckBytes<__C>,
__C: ?Sized,
impl<__C> CheckBytes<__C> for ArchivedTinyWasmModulewhere
Option<u32>: Archive,
Box<[WasmFunction]>: Archive,
Box<[FuncType]>: Archive,
Box<[Export]>: Archive,
Box<[Global]>: Archive,
Box<[TableType]>: Archive,
Box<[MemoryType]>: Archive,
Box<[Import]>: Archive,
Box<[Data]>: Archive,
Box<[Element]>: Archive,
<Option<u32> as Archive>::Archived: CheckBytes<__C>,
<Box<[WasmFunction]> as Archive>::Archived: CheckBytes<__C>,
<Box<[FuncType]> as Archive>::Archived: CheckBytes<__C>,
<Box<[Export]> as Archive>::Archived: CheckBytes<__C>,
<Box<[Global]> as Archive>::Archived: CheckBytes<__C>,
<Box<[TableType]> as Archive>::Archived: CheckBytes<__C>,
<Box<[MemoryType]> as Archive>::Archived: CheckBytes<__C>,
<Box<[Import]> as Archive>::Archived: CheckBytes<__C>,
<Box<[Data]> as Archive>::Archived: CheckBytes<__C>,
<Box<[Element]> as Archive>::Archived: CheckBytes<__C>,
__C: ?Sized,
Source§type Error = StructCheckError
type Error = StructCheckError
The error that may result from checking the type.
Source§unsafe fn check_bytes<'__bytecheck>(
value: *const ArchivedTinyWasmModule,
context: &mut __C,
) -> Result<&'__bytecheck ArchivedTinyWasmModule, StructCheckError>
unsafe fn check_bytes<'__bytecheck>( value: *const ArchivedTinyWasmModule, context: &mut __C, ) -> Result<&'__bytecheck ArchivedTinyWasmModule, StructCheckError>
Checks whether the given pointer points to a valid value within the
given context. Read more
Auto Trait Implementations§
impl Freeze for ArchivedTinyWasmModule
impl RefUnwindSafe for ArchivedTinyWasmModule
impl Send for ArchivedTinyWasmModule
impl Sync for ArchivedTinyWasmModule
impl !Unpin for ArchivedTinyWasmModule
impl UnwindSafe for ArchivedTinyWasmModule
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§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.