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