[][src]Trait succinct::int_vec::IntVecMut

pub trait IntVecMut: IntVec {
    fn set(&mut self, index: u64, value: Self::Block);
}

A mutable array of integers of limited width.

Required methods

fn set(&mut self, index: u64, value: Self::Block)

Updates the value of the indexth element.

Panics

  • Panics if index is out of bounds.

  • May panic (?) if element_value is too large to fit in the element size. (TODO: What’s the right thing here?)

Loading content...

Implementors

impl<Block: BlockType> IntVecMut for IntVector<Block>[src]

Loading content...