Trait leak_playground_std::marker::Forget

source ·
pub unsafe auto trait Forget { }
Expand description

The core trait of the destruction guarantee.

§Safety

Implement only if you know there’s absolutely no possible way to forget your type.

Implementations on Foreign Types§

source§

impl<T: 'static> Forget for JoinHandle<T>

source§

impl<T: 'static> Forget for JoinHandle<T>

source§

impl<T: ?Sized> Forget for &T

source§

impl<T: ?Sized> Forget for &mut T

Implementors§

Auto implementors§

§

impl<'a, T> Forget for JoinGuard<'a, T>
where 'a: 'static,

§

impl<T> Forget for Rc<T>
where T: Forget,

§

impl<T> Forget for Arc<T>
where T: Forget,