pub enum LoadErrorKind {
UnexpectedStatement,
WrongNumberOfArguments,
WrongTypeOfArguments,
UntriangulatedModel,
InsufficientData,
IndexOutOfRange,
BackslashAtEOF,
TooBigGroupNumber,
}
Expand description
Enum to store the various types of errors that can cause loading an OBJ to fail.
Variants§
UnexpectedStatement
Met unexpected statement.
WrongNumberOfArguments
Received wrong number of arguments.
WrongTypeOfArguments
Received unexpected type of arguments.
UntriangulatedModel
Model should be triangulated first to be loaded properly.
InsufficientData
Model cannot be transformed into requested form.
IndexOutOfRange
Received index value out of range.
BackslashAtEOF
A line is expected after the backslash ().
TooBigGroupNumber
Group number exceeded limitation.
Trait Implementations§
Source§impl Clone for LoadErrorKind
impl Clone for LoadErrorKind
Source§fn clone(&self) -> LoadErrorKind
fn clone(&self) -> LoadErrorKind
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LoadErrorKind
impl Debug for LoadErrorKind
Source§impl Hash for LoadErrorKind
impl Hash for LoadErrorKind
Source§impl PartialEq for LoadErrorKind
impl PartialEq for LoadErrorKind
impl Copy for LoadErrorKind
impl Eq for LoadErrorKind
impl StructuralPartialEq for LoadErrorKind
Auto Trait Implementations§
impl Freeze for LoadErrorKind
impl RefUnwindSafe for LoadErrorKind
impl Send for LoadErrorKind
impl Sync for LoadErrorKind
impl Unpin for LoadErrorKind
impl UnwindSafe for LoadErrorKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more