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§

Provided Methods§

Object Safety§

This trait is not object safe.

Implementors§