pub trait GasPrice {
// Required methods
fn gas_price(&self) -> &Word;
fn gas_price_mut(&mut self) -> &mut Word;
fn gas_price_offset_static() -> usize;
// Provided method
fn gas_price_offset(&self) -> usize { ... }
}
pub trait GasPrice {
// Required methods
fn gas_price(&self) -> &Word;
fn gas_price_mut(&mut self) -> &mut Word;
fn gas_price_offset_static() -> usize;
// Provided method
fn gas_price_offset(&self) -> usize { ... }
}