#[non_exhaustive]pub enum CycleVolumeError {
NotClosedOrientedCycle(Box<MeshCycleHealth>),
ZeroSignedVolume,
}Expand description
What cycle_volume_properties refuses.
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.
NotClosedOrientedCycle(Box<MeshCycleHealth>)
The mesh is not a closed oriented cycle: an index or position is invalid, no triangle is usable, a triangle is degenerate, or an edge is used unequally often in each direction. The audit says which.
ZeroSignedVolume
The sum is zero or not finite.
Trait Implementations§
Source§impl Clone for CycleVolumeError
impl Clone for CycleVolumeError
Source§fn clone(&self) -> CycleVolumeError
fn clone(&self) -> CycleVolumeError
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 CycleVolumeError
impl Debug for CycleVolumeError
Source§impl Display for CycleVolumeError
impl Display for CycleVolumeError
impl Eq for CycleVolumeError
Source§impl Error for CycleVolumeError
impl Error for CycleVolumeError
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()
Source§impl PartialEq for CycleVolumeError
impl PartialEq for CycleVolumeError
impl StructuralPartialEq for CycleVolumeError
Auto Trait Implementations§
impl Freeze for CycleVolumeError
impl RefUnwindSafe for CycleVolumeError
impl Send for CycleVolumeError
impl Sync for CycleVolumeError
impl Unpin for CycleVolumeError
impl UnsafeUnpin for CycleVolumeError
impl UnwindSafe for CycleVolumeError
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