rustc_
data_
structures
1.84.0-beta.3
(ea5e5ca05 2024-12-02)
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.