Skip to main content

graphrecords_query/traits/
logic.rs

1pub trait And<O> {
2    type ReturnOperand;
3
4    fn and(&self, other: O) -> Self::ReturnOperand;
5}
6
7pub trait Or<O> {
8    type ReturnOperand;
9
10    fn or(&self, other: O) -> Self::ReturnOperand;
11}
12
13pub trait ExclusiveOr<O> {
14    type ReturnOperand;
15
16    fn xor(&self, other: O) -> Self::ReturnOperand;
17}
18
19pub trait Not {
20    type ReturnOperand;
21
22    fn not(&self) -> Self::ReturnOperand;
23}