Function lrs::intrinsics::init_dropped

Creates a value that appears to have had its destructor run.

Syntax

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

Return value

Returns an object that appears to have had its destructor run.

Remarks

The returned object has all of its bytes set to a special value which will prevent its destructor from running when it goes out of scope.

See also