VertexTrait

Trait VertexTrait 

Source
pub trait VertexTrait:
    Copy
    + Debug
    + Display
    + Eq
    + Hash
    + Send
    + Sync { }
Expand description

Shared Trait for the vertices. Must be implemented to use the library.

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> VertexTrait for T
where T: Copy + Debug + Display + Eq + Hash + Send + Sync,