Trait Function
pub trait Function<Res: FunctionResult>: Sync + Send + 'static
The function function type definition
Required Methods
fn call(&self, kwargs: Kwargs, state: &State<'_>) -> ResThe function type definition
Provided Methods
fn is_safe(&self) -> boolWhether the current function's output should be treated as safe, defaults to
falseOnly needs to be defined if the filter returns a string