Trait block::BlockArguments [] [src]

pub trait BlockArguments: Sized {
    unsafe fn call_block<R>(self, block: *mut Block<Self, R>) -> R;
}

Types that may be used as the arguments to an Objective-C block.

Required Methods

Calls the given Block with self as the arguments.

Unsafe because block must point to a valid Block and this invokes foreign code whose safety the compiler cannot verify.

Implementors