Registry / other / block
library0.1.6rscratesunverified

Rust interface for Apple's C language extension of blocks.

# Cargo.toml [dependencies] block = "0.1.6"
INSTALL
IMPORT
SIG · BLOCK
B
block
otherrustv0.1.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Block
use block::Block;

Create and call an Apple-style block.

use block::Block; fn main() { let block = Block::new(|| println!("Hello from block")); block.call(); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.6latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
10
Meta
1
OpenAI (training)
1
Resources
block — cargo add block · libregistry