pub trait NSAutoreleasePool: Sized {
    // Required methods
    unsafe fn autorelease(self) -> Self;
    unsafe fn drain(self);

    // Provided method
    unsafe fn new(_: Self) -> id { ... }
}

Required Methods§

source

unsafe fn autorelease(self) -> Self

source

unsafe fn drain(self)

Provided Methods§

source

unsafe fn new(_: Self) -> id

Implementors§