pub enum Mesh3dObjectError {
InvalidGeometryTransform,
UnportableSurfaceTopology,
InvalidEdgeProjection,
SurfaceTriangle {
triangle_index: usize,
reason: Mesh3dSurfaceError,
},
Vertex {
vertex_index: usize,
reason: Mesh3dSurfaceError,
},
}Expand description
Instance-local numerical rejection category from authoritative 3D preflight.
Variants§
InvalidGeometryTransform
Model/camera arithmetic cannot be represented portably.
UnportableSurfaceTopology
Clipped surface topology or projected orientation remains ambiguous.
InvalidEdgeProjection
Display-edge clipping or extrusion cannot be represented portably.
SurfaceTriangle
A source surface triangle failed authoritative validation. The index is zero-based in the source mesh, not in a generated clipping fan.
Fields
§
reason: Mesh3dSurfaceErrorSpecific arithmetic or topology proof that failed.
Vertex
A source vertex not referenced by any surface triangle failed validation.
Fields
§
reason: Mesh3dSurfaceErrorSpecific arithmetic or clip-classification failure.
Trait Implementations§
Source§impl Clone for Mesh3dObjectError
impl Clone for Mesh3dObjectError
impl Copy for Mesh3dObjectError
Source§impl Debug for Mesh3dObjectError
impl Debug for Mesh3dObjectError
impl Eq for Mesh3dObjectError
Source§impl PartialEq for Mesh3dObjectError
impl PartialEq for Mesh3dObjectError
impl StructuralPartialEq for Mesh3dObjectError
Auto Trait Implementations§
impl Freeze for Mesh3dObjectError
impl RefUnwindSafe for Mesh3dObjectError
impl Send for Mesh3dObjectError
impl Sync for Mesh3dObjectError
impl Unpin for Mesh3dObjectError
impl UnsafeUnpin for Mesh3dObjectError
impl UnwindSafe for Mesh3dObjectError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.