Struct block2::ConcreteBlock [−][src]
#[repr(C)]pub struct ConcreteBlock<A, R, F> { /* fields omitted */ }
Expand description
An Objective-C block whose size is known at compile time and may be constructed on the stack.
Implementations
impl<A, R, F> ConcreteBlock<A, R, F> where
A: BlockArguments,
F: IntoConcreteBlock<A, Ret = R>,
impl<A, R, F> ConcreteBlock<A, R, F> where
A: BlockArguments,
F: IntoConcreteBlock<A, Ret = R>,
Methods from Deref<Target = Block<A, R>>
Call self with the given arguments.
Unsafe because this invokes foreign code that the caller must verify doesn’t violate any of Rust’s safety rules. For example, if this block is shared with multiple references, the caller must ensure that calling it will not cause a data race.
Trait Implementations
Auto Trait Implementations
impl<A, R, F> RefUnwindSafe for ConcreteBlock<A, R, F> where
F: RefUnwindSafe,
impl<A, R, F> !Send for ConcreteBlock<A, R, F>
impl<A, R, F> !Sync for ConcreteBlock<A, R, F>
impl<A, R, F> Unpin for ConcreteBlock<A, R, F> where
F: Unpin,
impl<A, R, F> UnwindSafe for ConcreteBlock<A, R, F> where
F: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more