Type Alias glsl_lang::parse::ParseResult
source · pub type ParseResult<L, E, T> = Result<(T, ParseContext, L), ParseError<E>>;
Expand description
Result of a parsing operation
Aliased Type§
enum ParseResult<L, E, T> {
Ok((T, ParseContext, L)),
Err(Located<ParseErrorKind<E>>),
}
Variants§
Ok((T, ParseContext, L))
Contains the success value
Err(Located<ParseErrorKind<E>>)
Contains the error value