Trait EdgeWeight

Source
pub trait EdgeWeight:
    Clone
    + PartialOrd
    + Send
    + Sync { }
Expand description

A trait for edge weights in a graph

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: Clone + PartialOrd + Send + Sync> EdgeWeight for T

Implements EdgeWeight for common types