Skip to main content

graphrecords_query/traits/
indexing.rs

1pub trait Index {
2    type ReturnOperand;
3
4    fn index(&self) -> Self::ReturnOperand;
5}
6
7pub trait Select {
8    type ReturnOperand;
9
10    fn select(&self) -> Self::ReturnOperand;
11}
12
13pub trait Resolve {
14    type ReturnOperand;
15
16    fn resolve(&self) -> Self::ReturnOperand;
17}
18
19pub trait ParentIndex {
20    type ReturnOperand;
21
22    fn parent_index(&self) -> Self::ReturnOperand;
23}
24
25pub trait ChildIndex {
26    type ReturnOperand;
27
28    fn child_index(&self) -> Self::ReturnOperand;
29}