Trait IdKind

Source
pub trait IdKind {
    // Required method
    fn name() -> &'static str;
}
Expand description

Trait for kinds of Ids.

Required Methods§

Source

fn name() -> &'static str

The name of the id kind.

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§