pub enum IssueKind {
CurveVertexGap {
at_start: bool,
},
OpenEdge,
OverUsedEdge,
GenusMismatch,
Other,
}Expand description
The closed kind of a [ValidationIssue]. Only the kinds a dispatcher
needs are minted (the boolean’s endpoint-gap repair lane keys on
CurveVertexGap); everything else is Other and carries its message as
the payload. A dispatcher matches the kind, never the message text.
On the wire it is a nested object, "kind":{"name":"curve_vertex_gap", "at_start":true}, NOT flattened into the issue: serde’s default does not
apply to a flattened internally-tagged enum, and a report written before
kinds existed must still read back (as Other).
Variants§
CurveVertexGap
An edge curve’s start (at_start) or end does not land on its vertex.
OpenEdge
An edge used fewer than twice (a boundary the shell leaves open).
OverUsedEdge
An edge used more than twice.
GenusMismatch
The Euler formula does not close.
Other
Trait Implementations§
impl Copy for IssueKind
Source§impl<'de> Deserialize<'de> for IssueKind
impl<'de> Deserialize<'de> for IssueKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for IssueKind
impl StructuralPartialEq for IssueKind
Auto Trait Implementations§
impl Freeze for IssueKind
impl RefUnwindSafe for IssueKind
impl Send for IssueKind
impl Sync for IssueKind
impl Unpin for IssueKind
impl UnsafeUnpin for IssueKind
impl UnwindSafe for IssueKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.