Trait IdType

Source
pub trait IdType:
    Debug
    + Clone
    + Copy
    + Hash
    + PartialEq
    + Eq
    + PartialOrd
    + Ord {
    const NAME: &'static str;
}

Required Associated Constants§

Source

const NAME: &'static str

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§