[−][src]Trait glsp_engine::CallableOps
The callable
abstract type.
glsp:call
can be used to call any type which implements this trait.
This trait is sealed. It's not possible to implement this trait for your own types.
Required methods
fn name(&self) -> Option<Sym>
Returns this function's registered name, if any.
fn arg_limits(&self) -> (usize, Option<usize>)
Returns this function's minimum and maximum argument count.
Provided methods
fn min_args(&self) -> usize
Returns this function's minimum argument count.
fn max_args(&self) -> Option<usize>
Returns this function's maximum argument count, if any.