Skip to main content

NumericOps

Trait NumericOps 

Source
pub trait NumericOps {
    // Required methods
    fn gt<V: Into<Value>>(&self, val: V) -> Expr;
    fn lt<V: Into<Value>>(&self, val: V) -> Expr;
    fn gte<V: Into<Value>>(&self, val: V) -> Expr;
    fn lte<V: Into<Value>>(&self, val: V) -> Expr;
    fn between<L: Into<Value>, H: Into<Value>>(&self, low: L, high: H) -> Expr;
}

Required Methods§

Source

fn gt<V: Into<Value>>(&self, val: V) -> Expr

Source

fn lt<V: Into<Value>>(&self, val: V) -> Expr

Source

fn gte<V: Into<Value>>(&self, val: V) -> Expr

Source

fn lte<V: Into<Value>>(&self, val: V) -> Expr

Source

fn between<L: Into<Value>, H: Into<Value>>(&self, low: L, high: H) -> Expr

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§