core::intrinsics::needs_drop [] [src]

pub unsafe extern "rust-intrinsic" fn needs_drop<T>() -> bool
Unstable

Returns true`trueif the actual type given as` if the actual type given as T`Trequires drop glue; returns` requires drop glue; returns false`falseif the actual type provided for` if the actual type provided for T`Timplements` implements Copy`Copy`.

If the actual type neither requires drop glue nor implements Copy`Copy, then may return`, then may return true`trueor` or false`false`.