[][src]Trait gluon_base::ast::DisplayEnv

pub trait DisplayEnv {
    type Ident;
    fn string<'a>(&'a self, ident: &'a Self::Ident) -> &'a str;
}

Associated Types

type Ident

Loading content...

Required methods

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

Loading content...

Implementations on Foreign Types

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

type Ident = T::Ident

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

type Ident = T::Ident

Loading content...

Implementors

impl DisplayEnv for Symbols[src]

type Ident = Symbol

impl<'s> DisplayEnv for SymbolModule<'s>[src]

type Ident = Symbol

impl<T: AsRef<str>> DisplayEnv for EmptyEnv<T>[src]

type Ident = T

Loading content...