Skip to main content

IKey

Trait IKey 

Source
pub trait IKey<K> {
    // Required method
    fn key(&self) -> K;
}
Expand description

An object that knows its key (IKey<out T>): StartWithItem(item) and the groups read it.

Required Methods§

Source

fn key(&self) -> K

The key (Key).

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§