Enum obj::ObjError
[−]
[src]
pub enum ObjError {
Io(Error),
ParseInt(ParseIntError),
ParseFloat(ParseFloatError),
Load(LoadError),
}The error type for loading of the obj file.
Variants
Io(Error)IO error has been occurred during opening the obj file.
ParseInt(ParseIntError)Tried to parse integer frome the obj file, but failed.
ParseFloat(ParseFloatError)Tried to parse floating point number frome the obj file, but failed.
Load(LoadError)LoadError has been occurred during parseing the obj file.
Trait Implementations
impl Debug for ObjError[src]
impl Display for ObjError[src]
impl From<Error> for ObjError[src]
impl From<ParseIntError> for ObjError[src]
fn from(err: ParseIntError) -> Self
Performs the conversion.
impl From<ParseFloatError> for ObjError[src]
fn from(err: ParseFloatError) -> Self
Performs the conversion.
impl From<LoadError> for ObjError[src]
fn from(err: LoadError) -> Self
Performs the conversion.