PrintableIndex

Trait PrintableIndex 

Source
pub trait PrintableIndex {
    // Required methods
    fn to_string() -> &'static str;
    fn to_possible_strings() -> &'static [&'static str];
}

Required Methods§

Source

fn to_string() -> &'static str

Source

fn to_possible_strings() -> &'static [&'static str]

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.

Implementations on Foreign Types§

Source§

impl PrintableIndex for usize

Source§

fn to_string() -> &'static str

Source§

fn to_possible_strings() -> &'static [&'static str]

Implementors§