Trait jockey::Parsable

source ·
pub trait Parsable: Sized {
    fn parse_arg<I>(
        iter: &mut Peekable<I>,
        option: &String
    ) -> Option<Result<Self>>
    where
        I: Iterator<Item = String>
; }
Expand description

Implemented by types parsable in Arguments::parse_args().

Required Methods§

Parse the next argument on the iterator if possible.

Implementations on Foreign Types§

Implementors§