Struct solana_rbpf::vm::TestInstructionMeter
source · [−]pub struct TestInstructionMeter {
pub remaining: u64,
}
Expand description
Simple instruction meter for testing
Fields
remaining: u64
Maximal amount of instructions which still can be executed
Trait Implementations
sourceimpl Debug for TestInstructionMeter
impl Debug for TestInstructionMeter
sourceimpl PartialEq<TestInstructionMeter> for TestInstructionMeter
impl PartialEq<TestInstructionMeter> for TestInstructionMeter
sourcefn eq(&self, other: &TestInstructionMeter) -> bool
fn eq(&self, other: &TestInstructionMeter) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TestInstructionMeter) -> bool
fn ne(&self, other: &TestInstructionMeter) -> bool
This method tests for !=
.
impl Eq for TestInstructionMeter
impl StructuralEq for TestInstructionMeter
impl StructuralPartialEq for TestInstructionMeter
Auto Trait Implementations
impl RefUnwindSafe for TestInstructionMeter
impl Send for TestInstructionMeter
impl Sync for TestInstructionMeter
impl Unpin for TestInstructionMeter
impl UnwindSafe for TestInstructionMeter
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more