Skip to main content

NodeTrait

Trait NodeTrait 

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

A trait group for Graph’s node identifier.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<N> NodeTrait for N
where N: Copy + Debug + Hash + Ord,

Implement the NodeTrait for all types satisfying bounds.