searchState.loadedDescShard("scopeguard", 0, "A scope guard will run a given closure when it goes out of …\nAlways run on scope exit.\nScopeGuard
is a scope guard that may own a protected value.\nControls in which cases the associated code should be run\nMacro to create a ScopeGuard
(always run).\nReturns the argument unchanged.\nReturns the argument unchanged.\nCreate a new ScopeGuard
owning v
and with deferred closure …\nCalls U::from(self)
.\nCalls U::from(self)
.\n“Defuse” the guard and extract the value without …\nReturn true
if the guard’s associated code should run …\nCreate a ScopeGuard
that owns v
(accessible through deref) …")