fuel_tx::field

Trait UpgradePurpose

source
pub trait UpgradePurpose {
    // Required methods
    fn upgrade_purpose(&self) -> &UpgradePurposeType;
    fn upgrade_purpose_mut(&mut self) -> &mut UpgradePurposeType;
    fn upgrade_purpose_offset_static() -> usize;

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

Required Methods§

Provided Methods§

Object Safety§

This trait is not object safe.

Implementors§