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>)
The resolver for ConstInstruction::I32Const
Tuple Fields
§
0: Resolver<i32>
The resolver for ConstInstruction::I32Const::0
I64Const(Resolver<i64>)
The resolver for ConstInstruction::I64Const
Tuple Fields
§
0: Resolver<i64>
The resolver for ConstInstruction::I64Const::0
F32Const(Resolver<f32>)
The resolver for ConstInstruction::F32Const
Tuple Fields
§
0: Resolver<f32>
The resolver for ConstInstruction::F32Const::0
F64Const(Resolver<f64>)
The resolver for ConstInstruction::F64Const
Tuple Fields
§
0: Resolver<f64>
The resolver for ConstInstruction::F64Const::0
GlobalGet(Resolver<GlobalAddr>)
The resolver for ConstInstruction::GlobalGet
Tuple Fields
§
0: Resolver<GlobalAddr>
The resolver for ConstInstruction::GlobalGet::0
RefNull(Resolver<ValType>)
The resolver for ConstInstruction::RefNull
Tuple Fields
§
0: Resolver<ValType>
The resolver for ConstInstruction::RefNull::0
RefFunc(Resolver<FuncAddr>)
The resolver for ConstInstruction::RefFunc
Tuple Fields
§
0: Resolver<FuncAddr>
The resolver for ConstInstruction::RefFunc::0
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
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.