Function flex_alloc::vec::from_elem_in

source ยท
pub fn from_elem_in<T, C>(
    elem: T,
    count: usize,
    alloc_in: C,
) -> Vec<T, C::Config>
where T: Clone, C: VecNewIn<T>,
Expand description

Create a Vec<T, C> from a cloneable element T, a count of the number of elements, and an instance of VecNewIn<T>.