Trait Recyclable
pub(in ::vec) unsafe trait Recyclable<From: Sized>: Sized
Denotes that an allocation of From can be recycled into an allocation of Self.
Safety
Self is Recyclable<From> if Layout::new::<Self>() == Layout::new::<From>().
Implementors
impl<From, To> Recyclable<From> for To where for<'a> &'a MaybeUninit<To>: TransmuteFrom<&'a MaybeUninit<From>, { Assume::SAFETY }>, for<'a> &'a MaybeUninit<From>: TransmuteFrom<&'a MaybeUninit<To>, { Assume::SAFETY }>,