Registry / utility / boxfnonce

boxfnonce

JSON →
library0.1.1rscratesunverified

Provides safe FnOnce boxing for Rust stable, enabling ownership-based closures in heap-allocated boxes.

# Cargo.toml [dependencies] boxfnonce = "0.1.1"
INSTALL
IMPORT
SIG · BOXFNONCE
B
boxfnonce
utilityrustv0.1.1
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.

BoxFnOnce
use boxfnonce::BoxFnOnce;

Creates a boxed FnOnce closure and calls it.

use boxfnonce::BoxFnOnce; let closure = BoxFnOnce::from(|x: i32| x + 1); let result = closure.call(5); println!("{}", result);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
6
Meta
1
Amazon
1
Resources
boxfnonce — cargo add boxfnonce · libregistry