pub trait NSAutoreleasePool: Sized {
// Required methods
unsafe fn autorelease(self) -> Self;
unsafe fn drain(self);
// Provided method
unsafe fn new(_: Self) -> id { ... }
}
Required Methods§
unsafe fn autorelease(self) -> Self
unsafe fn drain(self)
Provided Methods§
Object Safety§
This trait is not object safe.