Trait fuel_tx::input::AsField

source ·
pub trait AsField<Type>: AsFieldFmt {
    // Required methods
    fn as_field(&self) -> Option<&Type>;
    fn as_mut_field(&mut self) -> Option<&mut Type>;
}

Required Methods§

Implementations on Foreign Types§

source§

impl AsField<Vec<u8, Global>> for Vec<u8>

source§

fn as_field(&self) -> Option<&Vec<u8>>

source§

fn as_mut_field(&mut self) -> Option<&mut Vec<u8>>

source§

impl AsField<u8> for u8

source§

fn as_field(&self) -> Option<&u8>

source§

fn as_mut_field(&mut self) -> Option<&mut u8>

source§

impl<Type> AsField<Type> for ()

Implementors§