Struct solana_sdk::process_instruction::MockComputeMeter [−][src]
pub struct MockComputeMeter { pub remaining: u64, }
Fields
remaining: u64
Trait Implementations
Get the number of remaining compute units
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for MockComputeMeter
impl Send for MockComputeMeter
impl Sync for MockComputeMeter
impl Unpin for MockComputeMeter
impl UnwindSafe for MockComputeMeter
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V