[−][src]Trait simpleargs::arg::ArgString
Trait for string types that can be parsed as command-line arguments.
Required methods
fn parse_arg(self) -> Result<ParsedArg<Self>, Self>
Parse the string as a command-line argument.
On failure, return the input.
fn to_str(&self) -> Option<&str>
Convert the argument into a str if it is a valid Unicode string.
fn to_osstr(&self) -> &OsStr
Convert the argument into an OsStr.