Function iota_lib_rs::utils::right_pad_vec [−][src]
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 paddedlen
- the target length of the string`pad
- the element to pad with