Trait cocoa_foundation::foundation::NSAutoreleasePool

source ·
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

Object Safety§

This trait is not object safe.

Implementors§