Trait Function

Source
pub trait Function {
    // Required methods
    fn as_operator(&self) -> Option<Operator>;
    fn as_comparator(&self) -> Option<Comparator>;
}
Expand description

Trait for functions that can be validated

Required Methods§

Source

fn as_operator(&self) -> Option<Operator>

Get as operator if this is an operator

Source

fn as_comparator(&self) -> Option<Comparator>

Get as comparator if this is a comparator

Implementors§