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]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Display for ObjError
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl From<Error> for ObjError
[src]

fn from(err: Error) -> Self

Performs the conversion.

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.