rustc_
data_
structures
1.86.0-nightly
(f3d1d47fd 2025-01-20)
Modules
aligned
atomic_ref
base_n
binary_search_util
captures
fingerprint
flat_map_in_place
flock
frozen
fx
graph
hashes
intern
jobserver
marker
memmap
obligation_forest
owned_slice
packed
profiling
sharded
small_c_str
snapshot_map
snapshot_vec
sorted_map
sso
stable_hasher
stack
steal
svh
sync
tagged_ptr
temp_dir
thinvec
transitive_relation
undo_log
unhash
unify
unord
vec_cache
work_queue
Macros
define_id_collections
define_stable_id_collections
external_bitflags_debug
parallel
static_assert_size
Structs
AtomicRef
FatalErrorMarker
OnDrop
Functions
defer
make_display
outline
rustc_data_structures
Function
defer
Copy item path
Settings
Help
Summary
Source
pub fn defer<F:
FnOnce
()>(f: F) ->
OnDrop
<F>
Expand description
Returns a structure that calls
f
when dropped.