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
Ok(T)
The source was successfully parsed.
Err(ParseError)
The parser failed with a ParseError
.
Incomplete(Needed)
More data is required to go on.
Trait Implementations
impl<T: Clone> Clone for ParseResult<T>
[src]
fn clone(&self) -> ParseResult<T>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<T: Debug> Debug for ParseResult<T>
[src]
impl<T: Eq> Eq for ParseResult<T>
[src]
impl<T: PartialEq> PartialEq for ParseResult<T>
[src]
fn eq(&self, __arg_0: &ParseResult<T>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ParseResult<T>) -> bool
[src]
This method tests for !=
.