MCPcopy Create free account
hub / github.com/PerroEngine/Perro / as_view

Method as_view

perro_source/api_modules/perro_runtime_api/src/sub_apis/node.rs:1038–1043  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

1036 pub fn where_expr(self, expr: QueryExpr) -> Self {
1037 self.and_expr(expr)
1038 }
1039
1040 /// Restricts query traversal to a subtree.
1041 pub fn in_subtree(mut self, parent_id: NodeID) -> Self {
1042 self.scope = QueryScope::Subtree(parent_id);
1043 self
1044 }
1045
1046 pub const fn as_view(&self) -> NodeQueryView<'_> {

Calls

no outgoing calls