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§

§1.0.0

Ok((T, ParseContext, L))

Contains the success value

§1.0.0

Err(Located<ParseErrorKind<E>>)

Contains the error value