pub trait ComputationFn: Computation {
type Filled;
// Required methods
fn fill(self, named_args: NamedArgs) -> Self::Filled;
fn arg_names(&self) -> Names;
}
Expand description
A type representing a function-like computation.
Most computations should implement this, even if they represent a function with zero arguments.
Required Associated Types§
Required Methods§
Sourcefn fill(self, named_args: NamedArgs) -> Self::Filled
fn fill(self, named_args: NamedArgs) -> Self::Filled
Fill arguments will values,
replacing Arg
s with Val
s.