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>,