Trait Function
Source pub trait Function: Send + Sync {
type Output: Send + Sync;
// Required methods
fn name(&self) -> String;
fn inputs(&self) -> Vec<Arg>;
fn output(&self) -> Option<Arg>;
fn call(&self, args: &[Variable]) -> Self::Output;
}
Formats the value using the given formatter.
Read more
Formats the value using the given formatter.
Read more
Tests for self and other values to be equal, and is used by ==.
Tests for !=. The default implementation is almost always sufficient,
and should not be overridden without very good reason.