[][src]Trait block::BlockArguments

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

unsafe fn call_block<R>(self, block: *mut Block<Self, R>) -> R

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.

Loading content...

Implementations on Foreign Types

impl BlockArguments for ()[src]

impl<A> BlockArguments for (A,)[src]

impl<A, B> BlockArguments for (A, B)[src]

impl<A, B, C> BlockArguments for (A, B, C)[src]

impl<A, B, C, D> BlockArguments for (A, B, C, D)[src]

impl<A, B, C, D, E> BlockArguments for (A, B, C, D, E)[src]

impl<A, B, C, D, E, F> BlockArguments for (A, B, C, D, E, F)[src]

impl<A, B, C, D, E, F, G> BlockArguments for (A, B, C, D, E, F, G)[src]

impl<A, B, C, D, E, F, G, H> BlockArguments for (A, B, C, D, E, F, G, H)[src]

impl<A, B, C, D, E, F, G, H, I> BlockArguments for (A, B, C, D, E, F, G, H, I)[src]

impl<A, B, C, D, E, F, G, H, I, J> BlockArguments for (A, B, C, D, E, F, G, H, I, J)[src]

impl<A, B, C, D, E, F, G, H, I, J, K> BlockArguments for (A, B, C, D, E, F, G, H, I, J, K)[src]

impl<A, B, C, D, E, F, G, H, I, J, K, L> BlockArguments for (A, B, C, D, E, F, G, H, I, J, K, L)[src]

Loading content...

Implementors

Loading content...