#traits #no-std #standard #stable #ones #fn-mut #fn-once

no-std fn-traits

Provides function traits like the standard library ones, but can be used in stable Rust

3 releases

0.1.2 Jan 23, 2023
0.1.1 Jan 22, 2023
0.1.0 Jan 20, 2023

#2 in #fn-once

Download history 19/week @ 2024-02-09 83/week @ 2024-02-16 25/week @ 2024-02-23 45/week @ 2024-03-01 41/week @ 2024-03-08 26/week @ 2024-03-15 80/week @ 2024-03-22 70/week @ 2024-03-29 26/week @ 2024-04-05

211 downloads per month
Used in slim-futures

MIT license

37KB
1K SLoC

fn-traits

crates.io docs CI codecov Coverage Status

Provides function traits, like FnOnce, FnMut and Fn, but can be used in stable Rust.


lib.rs:

Provides FnOnce, FnMut and [Fn] traits like the standard library ones (FnOnce, FnMut and Fn), but can be used in stable Rust.

No runtime deps