Enum glsl::parser::ParseResult[][src]

pub enum ParseResult<T> {
    Ok(T),
    Err(ParseError),
    Incomplete(Needed),
}

Parse result. It can either be parsed, incomplete or errored.

Variants

The source was successfully parsed.

The parser failed with a ParseError.

More data is required to go on.

Trait Implementations

impl<T: Clone> Clone for ParseResult<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: Debug> Debug for ParseResult<T>
[src]

Formats the value using the given formatter. Read more

impl<T: Eq> Eq for ParseResult<T>
[src]

impl<T: PartialEq> PartialEq for ParseResult<T>
[src]

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

This method tests for !=.

Auto Trait Implementations

impl<T> Send for ParseResult<T> where
    T: Send

impl<T> Sync for ParseResult<T> where
    T: Sync