mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-29 15:04:32 +01:00
1 line
No EOL
775 B
JavaScript
1 line
No EOL
775 B
JavaScript
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 guard’s associated code should run …\nCreate a <code>ScopeGuard</code> that owns <code>v</code> (accessible through deref) …") |