Type Alias ObjResult

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

A type for results generated by load_obj and load_mtl where the Err type is hard-wired to ObjError

This typedef is generally used to avoid writing out ObjError directly and is otherwise a direct mapping to std::result::Result.

Aliased Type§

enum ObjResult<T> {
    Ok(T),
    Err(ObjError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(ObjError)

Contains the error value