pub trait Witnesses {
// Required methods
fn witnesses(&self) -> &Vec<Witness>;
fn witnesses_mut(&mut self) -> &mut Vec<Witness>;
fn witnesses_offset(&self) -> usize;
fn witnesses_offset_at(&self, idx: usize) -> Option<usize>;
}
Required Methods§
fn witnesses(&self) -> &Vec<Witness>
fn witnesses_mut(&mut self) -> &mut Vec<Witness>
fn witnesses_offset(&self) -> usize
sourcefn witnesses_offset_at(&self, idx: usize) -> Option<usize>
fn witnesses_offset_at(&self, idx: usize) -> Option<usize>
Returns the offset to the Witness
at idx
index, if any.