Trait DijkstraNode

Source
pub trait DijkstraNode:
    Eq
    + Hash
    + Copy
    + Ord { }
Expand description

A simple trait encapsulating what other traits are needed for a type to be usable in Dijkstra’s Algorithm.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T> DijkstraNode for T
where T: Eq + Hash + Copy + Ord,