Skip to main content

Module uninit

Module uninit 

Source

Re-exportsΒ§

use super::TrivialClone; πŸ”’ Experimental
use crate::mem; πŸ”’
use crate::mem::MaybeUninit; πŸ”’
use crate::ptr; πŸ”’

StructsΒ§

InitializingSlice πŸ”’
Ownership of a collection of values stored in a non-owned [MaybeUninit<T>], some of which are not yet initialized. This is sort of like a Vec that doesn’t own its allocation. Its responsibility is to provide cleanup on unwind by dropping the values that are initialized, unless disarmed by forgetting.

TraitsΒ§

CopySpec πŸ”’
Private specialization trait used by CloneToUninit, as per the dev guide.