Struct gong::Results[][src]

pub struct Results<'a> {
    pub items: Vec<ItemClass<'a>>,
    pub error: bool,
    pub warn: bool,
}

Result data returned from analysing an argument list

Fields

Set of items describing what was found

Quick indication of error level issues (e.g. ambiguous match, or missing arg data)

Quick indication of warning level issues (e.g. unknown option, or unexpected data)

Methods

impl<'a> Results<'a>
[src]

Create a new result set (mostly only useful internally)

Add a new item to the result set (mostly only useful internally)

Trait Implementations

impl<'a> Debug for Results<'a>
[src]

Formats the value using the given formatter. Read more

impl<'a> Clone for Results<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> PartialEq for Results<'a>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'a> Eq for Results<'a>
[src]

Auto Trait Implementations

impl<'a> Send for Results<'a>

impl<'a> Sync for Results<'a>