pub trait DisplayEnv {
    type Ident;

    // Required method
    fn string<'a>(&'a self, ident: &'a Self::Ident) -> &'a str;
}

Required Associated Types§

Required Methods§

source

fn string<'a>(&'a self, ident: &'a Self::Ident) -> &'a str

Implementations on Foreign Types§

source§

impl<'t, T: ?Sized + DisplayEnv> DisplayEnv for &'t T

§

type Ident = <T as DisplayEnv>::Ident

source§

fn string<'a>(&'a self, ident: &'a Self::Ident) -> &'a str

source§

impl<'t, T: ?Sized + DisplayEnv> DisplayEnv for &'t mut T

§

type Ident = <T as DisplayEnv>::Ident

source§

fn string<'a>(&'a self, ident: &'a Self::Ident) -> &'a str

Implementors§