std::intrinsics::forget
pub extern fn forget<T>(_: T)
Move a value out of scope without running drop glue.
forget
is unsafe because the caller is responsible for
ensuring the argument is deallocated already.
pub extern fn forget<T>(_: T)
Move a value out of scope without running drop glue.
forget
is unsafe because the caller is responsible for
ensuring the argument is deallocated already.
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
(or str
), enum
,
trait
, typedef
(or
tdef
).