Trait Keyed

Source
pub trait Keyed<C> {
    // Required method
    fn key(&self, c: C) -> String;
}

Required Methods§

Source

fn key(&self, c: C) -> String

Implementations on Foreign Types§

Source§

impl Keyed<usize> for (String, String)

Source§

fn key(&self, _: usize) -> String

Source§

impl Keyed<usize> for Value

Source§

fn key(&self, idx: usize) -> String

Source§

impl Keyed<usize> for bool

Source§

fn key(&self, _: usize) -> String

Source§

impl Keyed<usize> for f32

Source§

fn key(&self, _: usize) -> String

Source§

impl Keyed<usize> for f64

Source§

fn key(&self, _: usize) -> String

Source§

impl Keyed<usize> for i32

Source§

fn key(&self, _: usize) -> String

Source§

impl Keyed<usize> for i64

Source§

fn key(&self, _: usize) -> String

Source§

impl Keyed<usize> for u32

Source§

fn key(&self, _: usize) -> String

Source§

impl Keyed<usize> for u64

Source§

fn key(&self, _: usize) -> String

Source§

impl Keyed<usize> for usize

Source§

fn key(&self, _: usize) -> String

Source§

impl Keyed<usize> for String

Source§

fn key(&self, _: usize) -> String

Source§

impl<'a> Keyed<usize> for &'a str

Source§

fn key(&self, _: usize) -> String

Source§

impl<V> Keyed<usize> for IndexMap<String, V>

Source§

fn key(&self, idx: usize) -> String

Implementors§