pub trait Outputs {
// Required methods
fn outputs(&self) -> &Vec<Output>;
fn outputs_mut(&mut self) -> &mut Vec<Output>;
fn outputs_offset(&self) -> usize;
fn outputs_offset_at(&self, idx: usize) -> Option<usize>;
}
Required Methods§
fn outputs(&self) -> &Vec<Output>
fn outputs_mut(&mut self) -> &mut Vec<Output>
fn outputs_offset(&self) -> usize
sourcefn outputs_offset_at(&self, idx: usize) -> Option<usize>
fn outputs_offset_at(&self, idx: usize) -> Option<usize>
Returns the offset to the Output
at idx
index, if any.