Expand description
Const fn equivalents of
MaybeUninit<T>
methods.
§Removed in 0.3.0
These functions were removed in 0.3.0 because there is an equivalent const fn in the standard library:
as_ptr
:MaybeUninit::as_ptr
assume_init
:MaybeUninit::assume_init
assume_init_ref
:MaybeUninit::assume_init_ref
Structs§
- Generic constant for an uninitialized
MaybeUninit<T>
. Usable to safely construct a[MaybeUninit<T>; LEN]
whenT
is non-Copy
. - Generic constant for an uninitialized
[MaybeUninit<T>; N]
.
Functions§
- Const equivalent of
MaybeUninit::array_assume_init
- Const equivalent of
MaybeUninit::uninit_array