pub trait LangItem<L> where
    L: Lang,
    Self: 'static + Clone + Eq + Ord + Hash + Debug
{ fn format(
        &self,
        fmt: &mut Formatter<'_>,
        config: &L::Config,
        format: &L::Format
    ) -> Result; }
Expand description

A type-erased holder for language-specific items.

Carries formatting and coercion functions like LangItem to allow language specific processing to work.

Required methods

Format the language item appropriately.

Implementations on Foreign Types

Implementors