rustc_
data_
structures
1.83.0-beta.3
(f41c7ed98 2024-10-31)
rustc_data_structures
Function
defer
Copy item path
source
pub fn defer<F:
FnOnce
()>(f: F) ->
OnDrop
<F>
Expand description
Returns a structure that calls
f
when dropped.