Trait core::marker::Destruct

source ·
pub trait Destruct<const host: bool = true> { }
🔬This is a nightly-only experimental API. (const_trait_impl #67792)
Expand description

A marker for types that can be dropped.

This should be used for ~const bounds, as non-const bounds will always hold for every type.

Implementors§