Lines Matching refs:ArgCursor
177 pub fn cursor(&self) -> ArgCursor {
178 ArgCursor::new()
182 pub fn next(&self, cursor: &mut ArgCursor) -> Option<ParsedArg<'_>> {
187 pub fn next_os(&self, cursor: &mut ArgCursor) -> Option<&OsStr> {
194 pub fn peek(&self, cursor: &ArgCursor) -> Option<ParsedArg<'_>> {
199 pub fn peek_os(&self, cursor: &ArgCursor) -> Option<&OsStr> {
216 pub fn remaining(&self, cursor: &mut ArgCursor) -> impl Iterator<Item = &OsStr> {
223 pub fn seek(&self, cursor: &mut ArgCursor, pos: SeekFrom) {
236 cursor: &ArgCursor,
246 pub fn is_end(&self, cursor: &ArgCursor) -> bool {
265 pub struct ArgCursor {
269 impl ArgCursor {