1use std::marker::PhantomData;
2use std::mem::MaybeUninit;
3
4pub(crate) struct MakeMaybeUninit<T, const N: usize>(PhantomData<fn() -> T>);
5
6impl<T, const N: usize> MakeMaybeUninit<T, N> {
7 pub(crate) const VALUE: MaybeUninit<T> = MaybeUninit::uninit();
8
9 pub(crate) const ARRAY: [MaybeUninit<T>; N] = [Self::VALUE; N];
10}
11
12