pub trait ToFunction {
// Provided method
fn to_function(&self) -> Function { ... }
}Expand description
Trait for casting: Defines how to convert when cast to a function.
pub trait ToFunction {
// Provided method
fn to_function(&self) -> Function { ... }
}Trait for casting: Defines how to convert when cast to a function.