pub trait GasLimit {
// Required methods
fn gas_limit(&self) -> &Word;
fn gas_limit_mut(&mut self) -> &mut Word;
fn gas_limit_offset_static() -> usize;
// Provided method
fn gas_limit_offset(&self) -> usize { ... }
}
pub trait GasLimit {
// Required methods
fn gas_limit(&self) -> &Word;
fn gas_limit_mut(&mut self) -> &mut Word;
fn gas_limit_offset_static() -> usize;
// Provided method
fn gas_limit_offset(&self) -> usize { ... }
}