pub enum EdgeKind {
Supports,
Contradicts,
DependsOn,
DerivedFrom,
Improves,
Generalizes,
Specializes,
Supersedes,
Extends,
Replicates,
Discharges,
}Expand description
The canonical T7 relation vocabulary. Each variant maps to one or
more link_type strings from crate::bundle::VALID_LINK_TYPES.
Variants§
Supports
Contradicts
DependsOn
DerivedFrom
Improves
Generalizes
Specializes
Supersedes
Extends
Replicates
Discharges
A cross-domain transfer (vtr_): the source claim discharges a premise
of the target claim via a kernel-verified verifier-homomorphism.
Implementations§
Source§impl EdgeKind
impl EdgeKind
Sourcepub fn from_link_type(link_type: &str) -> Option<Self>
pub fn from_link_type(link_type: &str) -> Option<Self>
Map a stored link_type string to its canonical edge kind.
depends is DEPENDS_ON and synthesized_from is DERIVED_FROM;
unknown strings return None (the link is skipped from the
typed graph rather than silently mis-categorized).
Sourcepub fn parse(s: &str) -> Option<Self>
pub fn parse(s: &str) -> Option<Self>
Parse from either the canonical string (Self::as_str) or a
raw link_type (Self::from_link_type).
Trait Implementations§
impl Copy for EdgeKind
impl Eq for EdgeKind
Source§impl Ord for EdgeKind
impl Ord for EdgeKind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for EdgeKind
impl PartialOrd for EdgeKind
impl StructuralPartialEq for EdgeKind
Auto Trait Implementations§
impl Freeze for EdgeKind
impl RefUnwindSafe for EdgeKind
impl Send for EdgeKind
impl Sync for EdgeKind
impl Unpin for EdgeKind
impl UnsafeUnpin for EdgeKind
impl UnwindSafe for EdgeKind
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,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.