Crate fn_traits

source ·
Expand description

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

Modules§

  • Provides named functions that are commonly used.

Traits§

  • A function that can be called by shared reference, like the standard library Fn trait.
  • A function that can be called by mutable reference, like the standard library FnMut trait.
  • A function that can be called by value, like the standard library FnOnce trait.