petgraph::graphmap

Trait NodeTrait

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

A trait group for GraphMap’s node identifier.

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<N> NodeTrait for N
where N: Copy + Ord + Hash,