rtic/1/api/search.desc/scopeguard/scopeguard-desc-0-.js

1 line
775 B
JavaScript
Raw Normal View History

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