freya::prelude

Trait NodeKey

pub trait NodeKey:
    Clone
    + PartialEq
    + Eq
    + Hash
    + Copy
    + Debug { }

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.

Implementations on Foreign Types§

§

impl NodeKey for usize

§

impl NodeKey for NodeId

Implementors§