Skip to main content

GasState

Trait GasState 

Source
pub trait GasState {
    // Required method
    fn gas(&self) -> U256;
}
Expand description

Gas state.

Required Methods§

Source

fn gas(&self) -> U256

Left gas.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§