Enum bytecode_interpreter::concrete::value::Pointer
source · pub enum Pointer {
None,
Global(AccountAddress),
Local(TempIndex),
RefField(TempIndex, usize),
RefElement(TempIndex, usize),
ArgRef(TempIndex, Box<Pointer>),
RetRef(Vec<Pointer>),
}
Variants§
None
Global(AccountAddress)
Local(TempIndex)
RefField(TempIndex, usize)
RefElement(TempIndex, usize)
ArgRef(TempIndex, Box<Pointer>)
RetRef(Vec<Pointer>)
Trait Implementations§
source§impl Ord for Pointer
impl Ord for Pointer
source§impl PartialEq<Pointer> for Pointer
impl PartialEq<Pointer> for Pointer
source§impl PartialOrd<Pointer> for Pointer
impl PartialOrd<Pointer> for Pointer
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 Eq for Pointer
impl StructuralEq for Pointer
impl StructuralPartialEq for Pointer
Auto Trait Implementations§
impl RefUnwindSafe for Pointer
impl Send for Pointer
impl Sync for Pointer
impl Unpin for Pointer
impl UnwindSafe for Pointer
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.