#[non_exhaustive]#[repr(C)]pub enum ManifoldError {
Show 15 variants
NoError = 0,
NonFiniteVertex = 1,
NotManifold = 2,
VertexOutOfBounds = 3,
PropertiesWrongLength = 4,
MissingPositionProperties = 5,
MergeVectorsDifferentLengths = 6,
MergeIndexOutOfBounds = 7,
TransformWrongLength = 8,
RunIndexWrongLength = 9,
FaceIdWrongLength = 10,
InvalidConstruction = 11,
ResultTooLarge = 12,
InvalidTangents = 13,
Cancelled = 14,
}Expand description
Error codes from manifold3d status check.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NoError = 0
NonFiniteVertex = 1
NotManifold = 2
VertexOutOfBounds = 3
PropertiesWrongLength = 4
MissingPositionProperties = 5
MergeVectorsDifferentLengths = 6
MergeIndexOutOfBounds = 7
TransformWrongLength = 8
RunIndexWrongLength = 9
FaceIdWrongLength = 10
InvalidConstruction = 11
ResultTooLarge = 12
InvalidTangents = 13
Cancelled = 14
Implementations§
Source§impl ManifoldError
impl ManifoldError
Trait Implementations§
Source§impl Clone for ManifoldError
impl Clone for ManifoldError
Source§fn clone(&self) -> ManifoldError
fn clone(&self) -> ManifoldError
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 ManifoldError
impl Debug for ManifoldError
Source§impl PartialEq for ManifoldError
impl PartialEq for ManifoldError
Source§fn eq(&self, other: &ManifoldError) -> bool
fn eq(&self, other: &ManifoldError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ManifoldError
impl Eq for ManifoldError
impl StructuralPartialEq for ManifoldError
Auto Trait Implementations§
impl Freeze for ManifoldError
impl RefUnwindSafe for ManifoldError
impl Send for ManifoldError
impl Sync for ManifoldError
impl Unpin for ManifoldError
impl UnsafeUnpin for ManifoldError
impl UnwindSafe for ManifoldError
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