macro_rules! defer_scope_init {
() => { ... };
}Expand description
Initializes a DeferGroup, which is an empty collection of closures to run at the end of the scope containing the invocation. It provides no functionality by itself and should be called before any defer_scope! invocation(s).
No arguments should be passed to the macro invocation.
§Usage
defer_rs::defer_scope_init!();§Expands to:
let mut ___deferred_code_group = ::defer_rs::DeferGroup::new();For more detailed examples, refer to the documentation for defer_scope!.
See also: DeferGroup, defer_scope!, and defer!.