Skip to main content

graphrecords_query/traits/
comparison.rs

1pub trait GreaterThan<A> {
2    type ReturnOperand;
3
4    fn greater_than(&self, argument: A) -> Self::ReturnOperand;
5}
6
7pub trait GreaterThanOrEqualTo<A> {
8    type ReturnOperand;
9
10    fn greater_than_or_equal_to(&self, argument: A) -> Self::ReturnOperand;
11}
12
13pub trait LessThan<A> {
14    type ReturnOperand;
15
16    fn less_than(&self, argument: A) -> Self::ReturnOperand;
17}
18
19pub trait LessThanOrEqualTo<A> {
20    type ReturnOperand;
21
22    fn less_than_or_equal_to(&self, argument: A) -> Self::ReturnOperand;
23}
24
25pub trait EqualTo<A> {
26    type ReturnOperand;
27
28    fn equal_to(&self, argument: A) -> Self::ReturnOperand;
29}
30
31pub trait NotEqualTo<A> {
32    type ReturnOperand;
33
34    fn not_equal_to(&self, argument: A) -> Self::ReturnOperand;
35}