Crates.io | block2 |
lib.rs | block2 |
version | 0.5.1 |
source | src |
created_at | 2021-11-19 14:10:41.561599 |
updated_at | 2024-05-21 07:56:48.797007 |
description | Apple's C language extension of blocks |
homepage | |
repository | https://github.com/madsmtm/objc2 |
max_upload_size | |
id | 484467 |
size | 89,073 |
block2
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.