pub enum TessellationError {
EdgeChord(EdgeChordError),
Geometry(String),
}Expand description
A checked tessellation either meets its edge chord budget or names the failing edge. Errors from face triangulation retain their original detail.
Variants§
EdgeChord(EdgeChordError)
Geometry(String)
Trait Implementations§
Source§impl Clone for TessellationError
impl Clone for TessellationError
Source§impl Debug for TessellationError
impl Debug for TessellationError
Source§impl Display for TessellationError
impl Display for TessellationError
Source§impl Error for TessellationError
impl Error for TessellationError
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 From<EdgeChordError> for TessellationError
impl From<EdgeChordError> for TessellationError
Source§fn from(value: EdgeChordError) -> Self
fn from(value: EdgeChordError) -> Self
Converts to this type from the input type.
Source§impl From<String> for TessellationError
impl From<String> for TessellationError
Source§impl PartialEq for TessellationError
impl PartialEq for TessellationError
impl StructuralPartialEq for TessellationError
Auto Trait Implementations§
impl Forget for TessellationError
impl Freeze for TessellationError
impl Move for TessellationError
impl RefUnwindSafe for TessellationError
impl Send for TessellationError
impl Sync for TessellationError
impl Unpin for TessellationError
impl UnsafeUnpin for TessellationError
impl UnwindSafe for TessellationError
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