Lines Matching refs:next
59 //! raw.next(&mut cursor); // Skip the bin
60 //! while let Some(arg) = raw.next(&mut cursor) {
181 /// Advance the cursor, returning the next [`ParsedArg`]
182 pub fn next(&self, cursor: &mut ArgCursor) -> Option<ParsedArg<'_>> {
188 let next = self.items.get(cursor.cursor).map(|s| s.as_os_str());
190 next
193 /// Return the next [`ParsedArg`]
233 /// Inject arguments before the [`RawArgs::next`]
423 self.next().ok_or(i)?.map_err(|_| i)?;
440 /// Advance the iterator, returning the next short flag on success
444 if let Some((_, flag)) = self.utf8_prefix.next() {
458 if let Some((index, _)) = self.utf8_prefix.next() {
476 fn next(&mut self) -> Option<Self::Item> {