pub trait NSAutoreleasePool: Sized {
// Required methods
unsafe fn autorelease(self) -> Self;
unsafe fn drain(self);
// Provided method
unsafe fn new(_: Self) -> id { ... }
}
pub trait NSAutoreleasePool: Sized {
// Required methods
unsafe fn autorelease(self) -> Self;
unsafe fn drain(self);
// Provided method
unsafe fn new(_: Self) -> id { ... }
}