Struct quartz_commands::ArgumentTraverser [−][src]
pub struct ArgumentTraverser<'cmd> { /* fields omitted */ }
Expand description
Iterates over the individual arguments in a command accounting for quoted arguments.
Implementations
Creates a traverser over the given command, stripping off the initial ‘/’ if it exists.
Returns the remaining portion of the string being traversed, including the argument which was last read.
Returns the remaining portion of the string being traversed from the current anchor position to the end of the string.
Returns whether or not this traverser has more arguments. If this function returns true, then
next
will not return None
.
Auto Trait Implementations
impl<'cmd> RefUnwindSafe for ArgumentTraverser<'cmd>
impl<'cmd> Send for ArgumentTraverser<'cmd>
impl<'cmd> Sync for ArgumentTraverser<'cmd>
impl<'cmd> Unpin for ArgumentTraverser<'cmd>
impl<'cmd> UnwindSafe for ArgumentTraverser<'cmd>