rustc_
data_
structures
1.84.0-beta.4
(202008a1b 2024-12-07)
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.