Enum essential_state_asm::opcode::StateSlots
source · #[repr(u8)]pub enum StateSlots {
AllocSlots = 128,
Load = 129,
Store = 130,
LoadWord = 131,
StoreWord = 132,
Clear = 133,
ClearRange = 134,
Length = 135,
ValueLen = 136,
}Expand description
Operations for controlling mutable state slots.
Variants§
AllocSlots = 128
0x80
Opcode associated with the StateSlots::AllocSlots operation.
Load = 129
0x81
Opcode associated with the StateSlots::Load operation.
Store = 130
0x82
Opcode associated with the StateSlots::Store operation.
LoadWord = 131
0x83
Opcode associated with the StateSlots::LoadWord operation.
StoreWord = 132
0x84
Opcode associated with the StateSlots::StoreWord operation.
Clear = 133
0x85
Opcode associated with the StateSlots::Clear operation.
ClearRange = 134
0x86
Opcode associated with the StateSlots::ClearRange operation.
Length = 135
0x87
Opcode associated with the StateSlots::Length operation.
ValueLen = 136
0x88
Opcode associated with the StateSlots::ValueLen operation.
Trait Implementations§
source§impl Clone for StateSlots
impl Clone for StateSlots
source§fn clone(&self) -> StateSlots
fn clone(&self) -> StateSlots
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for StateSlots
impl Debug for StateSlots
source§impl From<StateSlots> for StateRead
impl From<StateSlots> for StateRead
source§fn from(subgroup: StateSlots) -> Self
fn from(subgroup: StateSlots) -> Self
source§impl From<StateSlots> for u8
impl From<StateSlots> for u8
source§fn from(opcode: StateSlots) -> Self
fn from(opcode: StateSlots) -> Self
source§impl Hash for StateSlots
impl Hash for StateSlots
source§impl Ord for StateSlots
impl Ord for StateSlots
source§fn cmp(&self, other: &StateSlots) -> Ordering
fn cmp(&self, other: &StateSlots) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl ParseOp for StateSlots
impl ParseOp for StateSlots
source§fn parse_op(
&self,
bytes: &mut impl Iterator<Item = u8>,
) -> Result<Self::Op, Self::Error>
fn parse_op( &self, bytes: &mut impl Iterator<Item = u8>, ) -> Result<Self::Op, Self::Error>
Attempt to parse the operation associated with the opcode from the given bytes.
Only consumes the bytes necessary to construct any associated data.
Returns an error in the case that the given bytes iterator
contains insufficient bytes to parse the op.
§type Op = StateSlots
type Op = StateSlots
§type Error = NotEnoughBytesError
type Error = NotEnoughBytesError
source§impl PartialEq for StateSlots
impl PartialEq for StateSlots
source§impl PartialOrd for StateSlots
impl PartialOrd for StateSlots
source§impl TryFrom<u8> for StateSlots
impl TryFrom<u8> for StateSlots
impl Copy for StateSlots
impl Eq for StateSlots
impl StructuralPartialEq for StateSlots
Auto Trait Implementations§
impl Freeze for StateSlots
impl RefUnwindSafe for StateSlots
impl Send for StateSlots
impl Sync for StateSlots
impl Unpin for StateSlots
impl UnwindSafe for StateSlots
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)