Trait fuel_tx::field::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§
fn upgrade_purpose(&self) -> &UpgradePurposeType
fn upgrade_purpose_mut(&mut self) -> &mut UpgradePurposeType
fn upgrade_purpose_offset_static() -> usize
Provided Methods§
fn upgrade_purpose_offset(&self) -> usize
Object Safety§
This trait is not object safe.