pub trait ToFunction<A, R> { // Required method fn to_object(self) -> Object; }
A Rust closure or a Function.
Function