pub enum Error {
Show 16 variants
NoError,
NonFiniteVertex,
NotManifold,
VertexOutOfBounds,
PropertiesWrongLength,
MissingPositionProperties,
MergeVectorsDifferentLengths,
MergeIndexOutOfBounds,
TransformWrongLength,
RunIndexWrongLength,
FaceIdWrongLength,
InvalidConstruction,
ResultTooLarge,
InvalidTangents,
Cancelled,
NotClosed,
}Variants§
NoError
NonFiniteVertex
NotManifold
VertexOutOfBounds
PropertiesWrongLength
MissingPositionProperties
MergeVectorsDifferentLengths
MergeIndexOutOfBounds
TransformWrongLength
RunIndexWrongLength
FaceIdWrongLength
InvalidConstruction
ResultTooLarge
InvalidTangents
Cancelled
The operation was interrupted through a crate::cancel::CancelToken
and returned an empty result.
Appended last, matching C++ Manifold::Error::Cancelled
(cpp-reference/manifold/include/manifold/manifold.h:139). The order of
every preceding variant is load-bearing: the FFI maps them to status
codes 0-13 positionally, so new variants only ever go on the end.
NotClosed
The mesh is not geometrically closed and orientable, so even the
robust (non-manifold) boolean engine cannot interpret it as a solid.
Produced only by the from_mesh_gl_robust import path; the strict
import keeps reporting NotManifold. FFI status code 15.
Implementations§
Trait Implementations§
impl Copy for Error
impl Eq for Error
impl StructuralPartialEq for Error
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnsafeUnpin for Error
impl UnwindSafe for Error
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