Trait fuel_indexer_plugin::types::Inputs
pub trait Inputs {
// Required methods
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§
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_offset_at(&self, idx: usize) -> Option<usize>
Returns the offset to the Input
at idx
index, if any.
fn inputs_predicate_offset_at(&self, idx: usize) -> Option<(usize, usize)>
fn inputs_predicate_offset_at(&self, idx: usize) -> Option<(usize, usize)>
Returns predicate’s offset and length of the Input
at idx
, if any.