Trait fuel_tx::field::Inputs

source ·
pub trait Inputs {
    fn inputs(&self) -> &Vec<Input>;
    fn inputs_mut(&mut self) -> &mut Vec<Input>;
    fn inputs_offset(&self) -> usize;
    fn inputs_offset_at(&self, idx: usize) -> Option<usize>;
    fn inputs_predicate_offset_at(&self, idx: usize) -> Option<(usize, usize)>;
}

Required Methods

Returns the offset to the Input at idx index, if any.

Returns predicate’s offset and length of the Input at idx, if any.

Implementors