block2

Crates.ioblock2
lib.rsblock2
version0.6.1
created_at2021-11-19 14:10:41.561599+00
updated_at2025-04-19 20:14:33.415098+00
descriptionApple's C language extension of blocks
homepage
repositoryhttps://github.com/madsmtm/objc2
max_upload_size
id484467
size127,769
simlay (simlay)

documentation

README

block2

Latest version License Documentation CI

Apple's C language extension of blocks in Rust.

This crate provides functionality for interacting with C blocks, which is the C-equivalent of Rust's closures.

They are technically not limited to only being used in Objective-C, though in practice it's likely the only place you'll ever encounter them.

See the docs for a more thorough overview.

This crate is part of the objc2 project, see that for related crates.

Commit count: 4064

cargo fmt