pub enum ConstInstructionResolverwhere
i32: Archive,
i64: Archive,
f32: Archive,
f64: Archive,
GlobalAddr: Archive,
ValType: Archive,
FuncAddr: Archive,{
I32Const(Resolver<i32>),
I64Const(Resolver<i64>),
F32Const(Resolver<f32>),
F64Const(Resolver<f64>),
GlobalGet(Resolver<GlobalAddr>),
RefNull(Resolver<ValType>),
RefFunc(Resolver<FuncAddr>),
}
Expand description
The resolver for an archived ConstInstruction
Variants§
I32Const(Resolver<i32>)
Tuple Fields
§
0: Resolver<i32>
The resolver for ConstInstruction::I32Const::0
The resolver for ConstInstruction::I32Const
I64Const(Resolver<i64>)
Tuple Fields
§
0: Resolver<i64>
The resolver for ConstInstruction::I64Const::0
The resolver for ConstInstruction::I64Const
F32Const(Resolver<f32>)
Tuple Fields
§
0: Resolver<f32>
The resolver for ConstInstruction::F32Const::0
The resolver for ConstInstruction::F32Const
F64Const(Resolver<f64>)
Tuple Fields
§
0: Resolver<f64>
The resolver for ConstInstruction::F64Const::0
The resolver for ConstInstruction::F64Const
GlobalGet(Resolver<GlobalAddr>)
Tuple Fields
§
0: Resolver<GlobalAddr>
The resolver for ConstInstruction::GlobalGet::0
The resolver for ConstInstruction::GlobalGet
RefNull(Resolver<ValType>)
Tuple Fields
§
0: Resolver<ValType>
The resolver for ConstInstruction::RefNull::0
The resolver for ConstInstruction::RefNull
RefFunc(Resolver<FuncAddr>)
Tuple Fields
§
0: Resolver<FuncAddr>
The resolver for ConstInstruction::RefFunc::0
The resolver for ConstInstruction::RefFunc
Auto Trait Implementations§
impl Freeze for ConstInstructionResolver
impl RefUnwindSafe for ConstInstructionResolver
impl Send for ConstInstructionResolver
impl Sync for ConstInstructionResolver
impl Unpin for ConstInstructionResolver
impl UnwindSafe for ConstInstructionResolver
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.