#[repr(u8)]pub enum ArchivedInitExprOp{
GlobalGetI32(<GlobalIndex as Archive>::Archived),
GlobalGetI64(<GlobalIndex as Archive>::Archived),
I32Const(<i32 as Archive>::Archived),
I32Add,
I32Sub,
I32Mul,
I64Const(<i64 as Archive>::Archived),
I64Add,
I64Sub,
I64Mul,
}Expand description
An archived InitExprOp
Variants§
GlobalGetI32(<GlobalIndex as Archive>::Archived)
The archived counterpart of InitExprOp::GlobalGetI32
Tuple Fields
§
0: <GlobalIndex as Archive>::ArchivedThe archived counterpart of InitExprOp::GlobalGetI32::0
GlobalGetI64(<GlobalIndex as Archive>::Archived)
The archived counterpart of InitExprOp::GlobalGetI64
Tuple Fields
§
0: <GlobalIndex as Archive>::ArchivedThe archived counterpart of InitExprOp::GlobalGetI64::0
I32Const(<i32 as Archive>::Archived)
The archived counterpart of InitExprOp::I32Const
Tuple Fields
§
0: <i32 as Archive>::ArchivedThe archived counterpart of InitExprOp::I32Const::0
I32Add
The archived counterpart of InitExprOp::I32Add
I32Sub
The archived counterpart of InitExprOp::I32Sub
I32Mul
The archived counterpart of InitExprOp::I32Mul
I64Const(<i64 as Archive>::Archived)
The archived counterpart of InitExprOp::I64Const
Tuple Fields
§
0: <i64 as Archive>::ArchivedThe archived counterpart of InitExprOp::I64Const::0
I64Add
The archived counterpart of InitExprOp::I64Add
I64Sub
The archived counterpart of InitExprOp::I64Sub
I64Mul
The archived counterpart of InitExprOp::I64Mul
Trait Implementations§
Source§impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedInitExprOpwhere
GlobalIndex: Archive,
i32: Archive,
i64: Archive,
<__C as Fallible>::Error: Source,
<GlobalIndex as Archive>::Archived: CheckBytes<__C>,
<i32 as Archive>::Archived: CheckBytes<__C>,
<i64 as Archive>::Archived: CheckBytes<__C>,
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedInitExprOpwhere
GlobalIndex: Archive,
i32: Archive,
i64: Archive,
<__C as Fallible>::Error: Source,
<GlobalIndex as Archive>::Archived: CheckBytes<__C>,
<i32 as Archive>::Archived: CheckBytes<__C>,
<i64 as Archive>::Archived: CheckBytes<__C>,
Source§impl Debug for ArchivedInitExprOp
impl Debug for ArchivedInitExprOp
Source§impl PartialEq<ArchivedInitExprOp> for InitExprOpwhere
GlobalIndex: Archive,
i32: Archive,
i64: Archive,
<GlobalIndex as Archive>::Archived: PartialEq<GlobalIndex>,
<i32 as Archive>::Archived: PartialEq<i32>,
<i64 as Archive>::Archived: PartialEq<i64>,
impl PartialEq<ArchivedInitExprOp> for InitExprOpwhere
GlobalIndex: Archive,
i32: Archive,
i64: Archive,
<GlobalIndex as Archive>::Archived: PartialEq<GlobalIndex>,
<i32 as Archive>::Archived: PartialEq<i32>,
<i64 as Archive>::Archived: PartialEq<i64>,
Source§impl PartialEq<InitExprOp> for ArchivedInitExprOpwhere
GlobalIndex: Archive,
i32: Archive,
i64: Archive,
<GlobalIndex as Archive>::Archived: PartialEq<GlobalIndex>,
<i32 as Archive>::Archived: PartialEq<i32>,
<i64 as Archive>::Archived: PartialEq<i64>,
impl PartialEq<InitExprOp> for ArchivedInitExprOpwhere
GlobalIndex: Archive,
i32: Archive,
i64: Archive,
<GlobalIndex as Archive>::Archived: PartialEq<GlobalIndex>,
<i32 as Archive>::Archived: PartialEq<i32>,
<i64 as Archive>::Archived: PartialEq<i64>,
impl Portable for ArchivedInitExprOpwhere
GlobalIndex: Archive,
i32: Archive,
i64: Archive,
<GlobalIndex as Archive>::Archived: Portable,
<i32 as Archive>::Archived: Portable,
<i64 as Archive>::Archived: Portable,
Auto Trait Implementations§
impl Freeze for ArchivedInitExprOp
impl RefUnwindSafe for ArchivedInitExprOp
impl Send for ArchivedInitExprOp
impl Sync for ArchivedInitExprOp
impl Unpin for ArchivedInitExprOp
impl UnwindSafe for ArchivedInitExprOp
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
§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.