Function lrs::intrinsics::needs_drop

Checks whether a type has a destructor.

Syntax

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

Return value

Return whether T has a destructor.