Skip to main content

insert

Function insert 

Source
pub fn insert(shape: &Shape, h: u64, i: i64, val: &[u64]) -> u64
Expand description

Inserts val before element i (i == size appends); out-of-range positions are ignored (§7.10.2.2; object elements: the collection takes val’s reference, or releases it when ignored).