pub enum ObjErrorKind {
BadNumber,
TooFewValues,
IndexOutOfRange,
Mesh(MeshError),
}Expand description
What is wrong in an OBJ file.
Variants§
BadNumber
A number does not parse.
TooFewValues
A statement has too few numbers, or a face too few corners.
IndexOutOfRange
A face names a position, texture coordinate or normal that the file has not given before it.
Mesh(MeshError)
The parts do not make a mesh.
Trait Implementations§
Source§impl Clone for ObjErrorKind
impl Clone for ObjErrorKind
Source§fn clone(&self) -> ObjErrorKind
fn clone(&self) -> ObjErrorKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ObjErrorKind
impl Debug for ObjErrorKind
impl Eq for ObjErrorKind
Source§impl PartialEq for ObjErrorKind
impl PartialEq for ObjErrorKind
impl StructuralPartialEq for ObjErrorKind
Auto Trait Implementations§
impl Freeze for ObjErrorKind
impl RefUnwindSafe for ObjErrorKind
impl Send for ObjErrorKind
impl Sync for ObjErrorKind
impl Unpin for ObjErrorKind
impl UnsafeUnpin for ObjErrorKind
impl UnwindSafe for ObjErrorKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more