Lines Matching full:pairs
14 //! in the form of the [`Punctuated<T, P>`] type. We store a vector of pairs of
142 /// punctuated pairs.
143 pub fn pairs(&self) -> Pairs<T, P> { in pairs() method
144 Pairs { in pairs()
151 /// borrowed punctuated pairs.
160 /// punctuated pairs.
557 /// An iterator over borrowed pairs of type `Pair<&T, &P>`.
562 pub struct Pairs<'a, T: 'a, P: 'a> { struct
567 impl<'a, T, P> Iterator for Pairs<'a, T, P> { argument
582 impl<'a, T, P> DoubleEndedIterator for Pairs<'a, T, P> { implementation
591 impl<'a, T, P> ExactSizeIterator for Pairs<'a, T, P> { implementation
598 impl<'a, T, P> Clone for Pairs<'a, T, P> { implementation
600 Pairs { in clone()
607 /// An iterator over mutably borrowed pairs of type `Pair<&mut T, &mut P>`.
647 /// An iterator over owned pairs of type `Pair<T, P>`.
1137 tokens.append_all(self.pairs()); in to_tokens()