pub trait Relate<'a> {
// Required methods
fn le<R: IntoRhs<'a>>(self, rhs: R) -> ConstraintExpr<'a>;
fn ge<R: IntoRhs<'a>>(self, rhs: R) -> ConstraintExpr<'a>;
fn eq<R: IntoRhs<'a>>(self, rhs: R) -> ConstraintExpr<'a>;
}Expand description
Build a constraint from an expression. Lives on Expr itself.
Required Methods§
fn le<R: IntoRhs<'a>>(self, rhs: R) -> ConstraintExpr<'a>
fn ge<R: IntoRhs<'a>>(self, rhs: R) -> ConstraintExpr<'a>
fn eq<R: IntoRhs<'a>>(self, rhs: R) -> ConstraintExpr<'a>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.