pub trait GasLimit {
    // Required methods
    fn gas_limit(&self) -> &u64;
    fn gas_limit_mut(&mut self) -> &mut u64;
    fn gas_limit_offset_static() -> usize;

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

Required Methods§

fn gas_limit(&self) -> &u64

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

fn gas_limit_offset_static() -> usize

Provided Methods§

fn gas_limit_offset(&self) -> usize

Object Safety§

This trait is not object safe.

Implementors§

§

impl GasLimit for Create

§

impl GasLimit for Script