Document selection_fields
This commit is contained in:
parent
2725bb7b03
commit
bb74b2f46d
|
@ -55,6 +55,9 @@ impl<'a> Lookahead<'a> {
|
|||
!self.fields.is_empty()
|
||||
}
|
||||
|
||||
/// Get the `SelectionField`s for each of the fields covered by this `Lookahead`.
|
||||
///
|
||||
/// There will be multiple fields in situations where the same field is queried twice.
|
||||
pub fn selection_fields(&self) -> Vec<SelectionField<'a>> {
|
||||
self.fields
|
||||
.iter()
|
||||
|
|
Loading…
Reference in New Issue
Block a user