fuel_tx::field

Trait Script

source
pub trait Script {
    // Required methods
    fn script(&self) -> &Vec<u8> ;
    fn script_mut(&mut self) -> &mut Vec<u8> ;
    fn script_offset_static() -> usize;

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

Required Methods§

source

fn script(&self) -> &Vec<u8>

source

fn script_mut(&mut self) -> &mut Vec<u8>

source

fn script_offset_static() -> usize

Provided Methods§

Object Safety§

This trait is not object safe.

Implementors§