souper_ir::parse

Type Alias Result

Source
pub type Result<T> = Result<T, ParseError>;
Expand description

A Result type for parsing.

Either Ok(T) or Err(ParseError).

Aliased Type§

enum Result<T> {
    Ok(T),
    Err(ParseError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(ParseError)

Contains the error value