rune_alloc::callableTrait Callable
Source pub trait Callable {
type Output;
// Required method
fn call(self) -> Self::Output;
}
Expand description
A trait used for types which can be called.
This trait allows for memory limits
and budgets
to be combined.
Call and consume the callable.
Source§Blanket implementation for closures.