pub trait DropBehavior {
const DO_DROP: bool;
}Expand description
Dictates the dropping behavior for the implementing type when used with Aliased.
Required Associated Constants§
Sourceconst DO_DROP: bool
const DO_DROP: bool
An Aliased<T, D> will drop its inner T if and only if D::DO_DROP is true
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.