pub enum EdgeCategory {
Structure,
Derivation,
Dependency,
Implementation,
Lateral,
Annotation,
}Expand description
The 6 structural categories that group the 13 canonical edge relations.
Exposed via EdgeRelation::category for query planners and UI rendering.
Variants§
Structure
Composition: contains, part_of, instance_of
Derivation
Intellectual lineage: extends, variant_of, introduced_by, supersedes
Dependency
Build/runtime needs: depends_on, enables
Implementation
Code ↔ concept: implements
Lateral
Peer relationships: competes_with, composed_with
Annotation
Cross-substrate annotation: annotates
Trait Implementations§
Source§impl Clone for EdgeCategory
impl Clone for EdgeCategory
Source§fn clone(&self) -> EdgeCategory
fn clone(&self) -> EdgeCategory
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 EdgeCategory
impl Debug for EdgeCategory
Source§impl<'de> Deserialize<'de> for EdgeCategory
impl<'de> Deserialize<'de> for EdgeCategory
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<EdgeCategory, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EdgeCategory, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for EdgeCategory
impl Hash for EdgeCategory
Source§impl PartialEq for EdgeCategory
impl PartialEq for EdgeCategory
Source§fn eq(&self, other: &EdgeCategory) -> bool
fn eq(&self, other: &EdgeCategory) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EdgeCategory
impl Serialize for EdgeCategory
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for EdgeCategory
impl Eq for EdgeCategory
impl StructuralPartialEq for EdgeCategory
Auto Trait Implementations§
impl Freeze for EdgeCategory
impl RefUnwindSafe for EdgeCategory
impl Send for EdgeCategory
impl Sync for EdgeCategory
impl Unpin for EdgeCategory
impl UnsafeUnpin for EdgeCategory
impl UnwindSafe for EdgeCategory
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