fuel_tx::field

Trait ScriptGasLimit

Source
pub trait ScriptGasLimit {
    // Required methods
    fn script_gas_limit(&self) -> &Word;
    fn script_gas_limit_mut(&mut self) -> &mut Word;
    fn script_gas_limit_offset_static() -> usize;

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

Required Methods§

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§