pub trait Identity: Hash + PartialEq + Eq + PartialOrd + Ord + Clone + Display + Debug {
    fn escaped(&self) -> String { ... }
}
Expand description

Marker trait that some type corresponds to the identity of some value. Used for graph traversal book-keeping (seen set, querying, etc)

This type must be cheaply clonable. Clones that re-allocate will negatively affect performance of graph traversal

Provided Methods

Implementations on Foreign Types

Implementors