pub enum MeshValidationError {
MismatchedVertexCount {
ty: VertexBufferType,
expected: usize,
actual: usize,
},
ExceededMaxVertexCount {
count: usize,
},
IndexCountNotMultipleOfThree {
count: usize,
},
IndexOutOfBounds {
index: usize,
value: u32,
max: usize,
},
}
Expand description
Error returned from mesh validation.
Variants§
Trait Implementations§
Source§impl Debug for MeshValidationError
impl Debug for MeshValidationError
Source§impl Display for MeshValidationError
impl Display for MeshValidationError
Source§impl Error for MeshValidationError
impl Error for MeshValidationError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for MeshValidationError
impl RefUnwindSafe for MeshValidationError
impl Send for MeshValidationError
impl Sync for MeshValidationError
impl Unpin for MeshValidationError
impl UnwindSafe for MeshValidationError
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