Trait IDLike

Source
pub trait IDLike:
    Eq
    + Hash
    + Borrow<str>
    + Clone
    + Display { }
Expand description

A trait alias for ID types

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> IDLike for T
where T: Eq + Hash + Borrow<str> + Clone + Display,