@@ -14,6 +14,8 @@ use crate::plan::{Dependencies, ImplContext, Implementable, Plan};
1414use crate :: { Aid , Value , Var } ;
1515use crate :: { Relation , ShutdownHandle , VariableMap } ;
1616
17+ /// A sequence of attributes that uniquely identify a nesting level in
18+ /// a Pull query.
1719pub type PathId = Vec < Aid > ;
1820
1921/// A plan stage for extracting all matching [e a v] tuples for a
@@ -34,6 +36,8 @@ pub struct PullLevel<P: Implementable> {
3436}
3537
3638impl < P : Implementable > PullLevel < P > {
39+ /// See Implementable::dependencies, as PullLevel v2 can't
40+ /// implement Implementable directly.
3741 fn dependencies ( & self ) -> Dependencies {
3842 let mut dependencies = self . plan . dependencies ( ) ;
3943
@@ -45,6 +49,8 @@ impl<P: Implementable> PullLevel<P> {
4549 dependencies
4650 }
4751
52+ /// See Implementable::implement, as PullLevel v2 can't implement
53+ /// Implementable directly.
4854 fn implement < ' b , T , I , S > (
4955 & self ,
5056 nested : & mut Iterative < ' b , S , u64 > ,
@@ -143,6 +149,8 @@ pub struct PullAll {
143149}
144150
145151impl PullAll {
152+ /// See Implementable::dependencies, as PullAll v2 can't implement
153+ /// Implementable directly.
146154 fn dependencies ( & self ) -> Dependencies {
147155 let mut dependencies = Dependencies :: none ( ) ;
148156
@@ -154,6 +162,8 @@ impl PullAll {
154162 dependencies
155163 }
156164
165+ /// See Implementable::implement, as PullAll v2 can't implement
166+ /// Implementable directly.
157167 fn implement < ' b , T , I , S > (
158168 & self ,
159169 nested : & mut Iterative < ' b , S , u64 > ,
@@ -220,13 +230,17 @@ pub enum Pull {
220230}
221231
222232impl Pull {
233+ /// See Implementable::dependencies, as Pull v2 can't implement
234+ /// Implementable directly.
223235 pub fn dependencies ( & self ) -> Dependencies {
224236 match self {
225237 Pull :: All ( ref pull) => pull. dependencies ( ) ,
226238 Pull :: Level ( ref pull) => pull. dependencies ( ) ,
227239 }
228240 }
229241
242+ /// See Implementable::implement, as Pull v2 can't implement
243+ /// Implementable directly.
230244 pub fn implement < ' b , T , I , S > (
231245 & self ,
232246 nested : & mut Iterative < ' b , S , u64 > ,
0 commit comments