fuel_tx::field

Trait BytecodeRoot

Source
pub trait BytecodeRoot {
    // Required methods
    fn bytecode_root(&self) -> &Bytes32;
    fn bytecode_root_mut(&mut self) -> &mut Bytes32;
    fn bytecode_root_offset_static() -> usize;

    // Provided method
    fn bytecode_root_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§