A simple argument parser.
struct Getopt<'a, I>
where I: Iterator<Item = &'static CStr>,
{
/* private fields */
}| Name | Description |
|---|---|
| new | Creates a new parser. |
| Receiver | Name | Description |
|---|---|---|
&self | used | Returns the number of arguments used before parsing was stopped. |
| Name | Description |
|---|---|
| Iterator | Objects that can be iterated over. |
lrs::getopt::Getopt::new for a complete description