Struct rusk_vm::GasMeter [−][src]
pub struct GasMeter { /* fields omitted */ }
Expand description
Struct to keep track of gas usage
Implementations
Creates a new GasMeter
with given gas limits
Deduct specified amount of gas from the meter
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for GasMeter
impl UnwindSafe for GasMeter