[][src]Function iota_model::right_pad_vec

pub fn right_pad_vec<T>(x: &mut Vec<T>, len: usize, pad: T) where
    T: Copy

Right pads a vector to a certain length in place

  • x - the vec to be padded
  • len - the target length of the string`
  • pad - the element to pad with