Function objc::rc::autoreleasepool
source · pub fn autoreleasepool<T, F: FnOnce() -> T>(f: F) -> TExpand description
Execute f in the context of a new autorelease pool. The pool is drained
after the execution of f completes.
This corresponds to @autoreleasepool blocks in Objective-C and Swift.