pub enum TMFIntegrityStatus {
VertexArrayMissing,
IndexOutsideVertexArray(IndexType, IndexType),
NormalArrayMissing,
NormalsNotNormalized,
IndexOutsideNormalArray(IndexType, IndexType),
UVOutsideRange(FloatType, FloatType),
UVArrayMissing,
IndexOutsideUVArray(IndexType, IndexType),
CompositeError(Box<[Self]>),
}
Expand description
Enum representing the result of integrity check.
Variants§
VertexArrayMissing
Vertex array is not present despite being required(eg. Vertex triangle array is present);
IndexOutsideVertexArray(IndexType, IndexType)
An index is larger than length of array length
NormalArrayMissing
Normal array is not present despite being required(eg. Normal triangle array is present);
NormalsNotNormalized
Some or all normals in the normal array are not normalised.
IndexOutsideNormalArray(IndexType, IndexType)
An index is larger than length of array length
UVOutsideRange(FloatType, FloatType)
UV corrds outside range
UVArrayMissing
UV array is not present despite being required(eg. UV triangle array is present);
IndexOutsideUVArray(IndexType, IndexType)
An index is larger than length of array length
CompositeError(Box<[Self]>)
More than one error
Trait Implementations§
Source§impl Clone for TMFIntegrityStatus
impl Clone for TMFIntegrityStatus
Source§fn clone(&self) -> TMFIntegrityStatus
fn clone(&self) -> TMFIntegrityStatus
Returns a duplicate 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 TMFIntegrityStatus
impl Debug for TMFIntegrityStatus
Auto Trait Implementations§
impl Freeze for TMFIntegrityStatus
impl RefUnwindSafe for TMFIntegrityStatus
impl Send for TMFIntegrityStatus
impl Sync for TMFIntegrityStatus
impl Unpin for TMFIntegrityStatus
impl UnwindSafe for TMFIntegrityStatus
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