Convert to CSR Direction.
(self)
| 135 | impl EdgeDirection { |
| 136 | /// Convert to CSR Direction. |
| 137 | pub fn to_csr_direction(self) -> crate::engine::graph::edge_store::Direction { |
| 138 | match self { |
| 139 | Self::Right => crate::engine::graph::edge_store::Direction::Out, |
| 140 | Self::Left => crate::engine::graph::edge_store::Direction::In, |
| 141 | Self::Both => crate::engine::graph::edge_store::Direction::Both, |
| 142 | } |
| 143 | } |
| 144 | } |
| 145 | |
| 146 | /// A WHERE predicate. |