MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / to_csr_direction

Method to_csr_direction

nodedb/src/engine/graph/pattern/ast.rs:137–143  ·  view source on GitHub ↗

Convert to CSR Direction.

(self)

Source from the content-addressed store, hash-verified

135impl 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.

Callers 1

execute_tripleFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected