pub trait GasPrice {
    // Required methods
    fn gas_price(&self) -> &u64;
    fn gas_price_mut(&mut self) -> &mut u64;
    fn gas_price_offset_static() -> usize;

    // Provided method
    fn gas_price_offset(&self) -> usize { ... }
}

Required Methods§

fn gas_price(&self) -> &u64

fn gas_price_mut(&mut self) -> &mut u64

fn gas_price_offset_static() -> usize

Provided Methods§

fn gas_price_offset(&self) -> usize

Object Safety§

This trait is not object safe.

Implementors§

§

impl GasPrice for Create

§

impl GasPrice for Script