fuel_tx::field

Trait Witnesses

Source
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§

Source

fn witnesses(&self) -> &Vec<Witness>

Source

fn witnesses_mut(&mut self) -> &mut Vec<Witness>

Source

fn witnesses_offset(&self) -> usize

Source

fn witnesses_offset_at(&self, idx: usize) -> Option<usize>

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

Implementors§

Source§

impl<Body, MetadataBody> Witnesses for ChargeableTransaction<Body, MetadataBody>
where Body: BodyConstraints, Self: ChargeableBody<Body>,