pub enum Payload {
None,
InlineString(Vec<u8>),
Switch {
cases: Vec<(Value, i64)>,
default: i64,
},
NamedArgs(Vec<String>),
}Expand description
The variable-length part of the instructions that have one.
Variants§
None
The instruction has only fixed operands.
InlineString(Vec<u8>)
The text of a pushstri.
Switch
The case table of a switch.
Fields
NamedArgs(Vec<String>)
The argument names of a namedargtab.
Trait Implementations§
impl Eq for Payload
impl StructuralPartialEq for Payload
Auto Trait Implementations§
impl Forget for Payload
impl Freeze for Payloadwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<(Value, i64)>: Freeze,
PhantomData<String>: Freeze,
impl Move for Payload
impl RefUnwindSafe for Payload
impl Send for Payloadwhere
RawVecInner: Send,
impl Sync for Payloadwhere
RawVecInner: Sync,
impl Unpin for Payload
impl UnsafeUnpin for Payloadwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<(Value, i64)>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for Payloadwhere
RawVecInner: UnwindSafe,
Blanket Implementations§
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