Trait IdentityInterface

Source
pub trait IdentityInterface:
    'static
    + Copy
    + Hash
    + Debug
    + PartialEq
    + Eq
    + Hash { }
Expand description

Interface to identify an instance of somthing, for exampel a node.

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> IdentityInterface for T
where T: 'static + Copy + Hash + Debug + PartialEq + Eq,