Quellcodebibliothek
Statistik
Leitseite
products
/
Sources
/
formale Sprachen
/
C
/
Firefox
/
third_party
/
rust
/
objc2-foundation
/ (
Firefox Browser
Version 153.0.1
©
) Datei vom 27.6.2026 mit Größe 1 kB
Impressum README.md Sprache: unbekannt
Spracherkennung für: .md vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]
# `block2`
[](https://crates.io/crates/
block2)
[](../../LICENSE.md)
[](https://docs.rs/block2/)
[](htt
ps://github.com/madsmtm/objc2/actions/workflows/ci.yml)
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](
https://docs.rs/block2/)
for a more thorough overview.
This crate is part of the [`objc2` project](
https://github.com/madsmtm/objc2),
see that for related crates.
[Seitenstruktur0.17Druckenetwas mehr zur Ethik2026-08-25]
2026-08-25