Trait libre_pvz_resources::cached::EntryWithKey

source ·
pub trait EntryWithKey {
    type Key: ?Sized;

    // Required method
    fn key(&self) -> &Self::Key;
}
Expand description

Entries in linear homogeneous collections.

Required Associated Types§

source

type Key: ?Sized

Key type of this entry.

Required Methods§

source

fn key(&self) -> &Self::Key

Get the key in this entry.

Implementors§