[][src]Type Definition generic_vec::SliceVec

type SliceVec<'a, T> = GenericVec<T, &'a mut UninitSlice<T>>;

An slice backed vector backed by potentially uninitialized memory

Implementations

impl<'a, T> SliceVec<'a, T>[src]

pub fn new(slice: &'a mut [MaybeUninit<T>]) -> Self[src]

Create a new empty SliceVec

impl<'a, T> SliceVec<'a, T>[src]

pub const fn new(slice: &'a mut [MaybeUninit<T>]) -> Self[src]

Create a new empty SliceVec

Note: this is only const with the nightly feature enabled