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
sourcefn 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.