pub enum SurfaceRecoveryError {
EmptySurface,
InvalidOptions,
MissingSurfaceNode {
element_id: u32,
node_id: u32,
},
NonFiniteSurfaceNode {
node_id: u32,
},
DegenerateElement {
element_id: u32,
},
AreaMismatch {
element_id: u32,
relative_error: f64,
max_relative_error: f64,
},
SourceFaceAreaMismatch {
source_face_id: u32,
relative_error: f64,
max_relative_error: f64,
},
NormalMismatch {
element_id: u32,
alignment: f64,
min_alignment: f64,
},
MissingSourceFace {
source_face_id: u32,
},
UncoveredSourceFace {
source_face_id: u32,
},
OpenEdge {
edge: [u32; 2],
count: usize,
},
NonManifoldEdge {
edge: [u32; 2],
count: usize,
},
}Variants§
EmptySurface
InvalidOptions
MissingSurfaceNode
NonFiniteSurfaceNode
DegenerateElement
AreaMismatch
SourceFaceAreaMismatch
NormalMismatch
MissingSourceFace
UncoveredSourceFace
OpenEdge
NonManifoldEdge
Trait Implementations§
Source§impl Clone for SurfaceRecoveryError
impl Clone for SurfaceRecoveryError
Source§fn clone(&self) -> SurfaceRecoveryError
fn clone(&self) -> SurfaceRecoveryError
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 SurfaceRecoveryError
impl Debug for SurfaceRecoveryError
Source§impl Display for SurfaceRecoveryError
impl Display for SurfaceRecoveryError
Source§impl Error for SurfaceRecoveryError
impl Error for SurfaceRecoveryError
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 SurfaceRecoveryError
impl PartialEq for SurfaceRecoveryError
impl StructuralPartialEq for SurfaceRecoveryError
Auto Trait Implementations§
impl Freeze for SurfaceRecoveryError
impl RefUnwindSafe for SurfaceRecoveryError
impl Send for SurfaceRecoveryError
impl Sync for SurfaceRecoveryError
impl Unpin for SurfaceRecoveryError
impl UnsafeUnpin for SurfaceRecoveryError
impl UnwindSafe for SurfaceRecoveryError
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