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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[src]

Formats the value using the given formatter.

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

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

[src]

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

[src]

This method tests for !=.