Trait block2::BlockArguments[][src]

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

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

Required methods

Calls the given Block with self as the arguments.

Safety

The given block must point to a valid Block.

This invokes foreign code whose safety the user must guarantee.

Implementations on Foreign Types

Implementors