Trait ItemKey

Source
pub trait ItemKey {
    type Key: Debug + PartialEq + Eq + Hash;

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

Required Associated Types§

Required Methods§

Source

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

Implementations on Foreign Types§

Source§

impl ItemKey for i8

Source§

type Key = i8

Source§

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

Source§

impl ItemKey for i16

Source§

type Key = i16

Source§

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

Source§

impl ItemKey for i32

Source§

type Key = i32

Source§

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

Source§

impl ItemKey for i64

Source§

type Key = i64

Source§

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

Source§

impl ItemKey for i128

Source§

type Key = i128

Source§

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

Source§

impl ItemKey for isize

Source§

type Key = isize

Source§

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

Source§

impl ItemKey for u8

Source§

type Key = u8

Source§

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

Source§

impl ItemKey for u16

Source§

type Key = u16

Source§

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

Source§

impl ItemKey for u32

Source§

type Key = u32

Source§

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

Source§

impl ItemKey for u64

Source§

type Key = u64

Source§

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

Source§

impl ItemKey for u128

Source§

type Key = u128

Source§

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

Source§

impl ItemKey for usize

Source§

type Key = usize

Source§

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

Source§

impl ItemKey for String

Source§

type Key = String

Source§

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

Implementors§