Trait StringOrFunction
pub trait StringOrFunction<A, R> {
// Required method
fn to_object(self) -> Object;
}Expand description
A trait implemented by closures, [Function]s and strings.
pub trait StringOrFunction<A, R> {
// Required method
fn to_object(self) -> Object;
}A trait implemented by closures, [Function]s and strings.