Trait nvim_oxi_api::StringOrFunction
source · pub trait StringOrFunction<A, R> {
// Required method
fn to_object(self) -> Object;
}Expand description
A trait implemented by closures, Functions and strings.
pub trait StringOrFunction<A, R> {
// Required method
fn to_object(self) -> Object;
}A trait implemented by closures, Functions and strings.