any-fn
Dynamically-typed functions via core::any::Any in Rust.
Due to combinatorial explosion, the dynamically-typed functions support only up to 6 arguments... 🥲
Examples
Mutating a struct
use ;
let x = value;
r#fn.call.unwrap;
assert_eq!;
Calling a function with unboxed, immutable reference, and mutable reference arguments
use ;
let x = value;
r#fn::
.call
.unwrap;
assert_eq!;