pub trait GasState {
// Required method
fn gas(&self) -> U256;
}Expand description
Gas state.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
pub trait GasState {
// Required method
fn gas(&self) -> U256;
}Gas state.
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".