Type Alias tobj::LoadResult

source ·
pub type LoadResult = Result<(Vec<Model>, Result<Vec<Material>, LoadError>), LoadError>;
Expand description

A Result containing all the models loaded from the file and any materials from referenced material libraries. Or an error that occured while loading.

Aliased Type§

enum LoadResult {
    Ok((Vec<Model>, Result<Vec<Material>, LoadError>)),
    Err(LoadError),
}

Variants§

§1.0.0

Ok((Vec<Model>, Result<Vec<Material>, LoadError>))

Contains the success value

§1.0.0

Err(LoadError)

Contains the error value