block2

Crates.ioblock2
lib.rsblock2
version0.5.1
sourcesrc
created_at2021-11-19 14:10:41.561599
updated_at2024-05-21 07:56:48.797007
descriptionApple's C language extension of blocks
homepage
repositoryhttps://github.com/madsmtm/objc2
max_upload_size
id484467
size89,073
simlay (simlay)

documentation

https://docs.rs/block2/

README

block2

Latest version License Documentation CI

Apple's C language extension of blocks in Rust.

This crate provides functionality for interracting 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: 3548

cargo fmt