Struct solana_runtime::bank::InnerInstruction
source · pub struct InnerInstruction {
pub instruction: CompiledInstruction,
pub stack_height: u8,
}
Fields§
§instruction: CompiledInstruction
§stack_height: u8
Invocation stack height of this instruction. Instruction stack height starts at 1 for transaction instructions.
Trait Implementations§
source§impl Clone for InnerInstruction
impl Clone for InnerInstruction
source§fn clone(&self) -> InnerInstruction
fn clone(&self) -> InnerInstruction
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for InnerInstruction
impl Debug for InnerInstruction
source§impl PartialEq for InnerInstruction
impl PartialEq for InnerInstruction
source§fn eq(&self, other: &InnerInstruction) -> bool
fn eq(&self, other: &InnerInstruction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for InnerInstruction
impl StructuralEq for InnerInstruction
impl StructuralPartialEq for InnerInstruction
Auto Trait Implementations§
impl RefUnwindSafe for InnerInstruction
impl Send for InnerInstruction
impl Sync for InnerInstruction
impl Unpin for InnerInstruction
impl UnwindSafe for InnerInstruction
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
§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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.