#[repr(u8)]pub enum Temporary {
Alloc = 112,
Load = 113,
Store = 114,
}
Expand description
Operations for temporary memory.
Variants§
Alloc = 112
0x70
Opcode associated with the Temporary::Alloc operation.
Load = 113
0x71
Opcode associated with the Temporary::Load operation.
Store = 114
0x72
Opcode associated with the Temporary::Store operation.
Trait Implementations§
source§impl From<Temporary> for Constraint
impl From<Temporary> for Constraint
source§impl Ord for Temporary
impl Ord for Temporary
source§impl ParseOp for Temporary
impl ParseOp for Temporary
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 Error = NotEnoughBytesError
type Error = NotEnoughBytesError
Any error that might occur while parsing.
source§impl PartialEq for Temporary
impl PartialEq for Temporary
source§impl PartialOrd for Temporary
impl PartialOrd for Temporary
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Temporary
impl Eq for Temporary
impl StructuralPartialEq for Temporary
Auto Trait Implementations§
impl Freeze for Temporary
impl RefUnwindSafe for Temporary
impl Send for Temporary
impl Sync for Temporary
impl Unpin for Temporary
impl UnwindSafe for Temporary
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
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)