# Trait rustc_error_messages::FluentType

source ·

    pub trait FluentType: Debug + AnyEq + 'static {
        // Required methods
        fn duplicate(&self) -> Box<dyn FluentType + Send>;
        fn as_string(&self, intls: &IntlLangMemoizer) -> Cow<'static, str>;
        fn as_string_threadsafe(
            &self,
            intls: &IntlLangMemoizer
        ) -> Cow<'static, str>;
    }

## Required Methods§

source

#### fn duplicate(&self) -> Box<dyn FluentType + Send>

source

#### fn as_string(&self, intls: &IntlLangMemoizer) -> Cow<'static, str>

source

#### fn as_string_threadsafe(&self, intls: &IntlLangMemoizer) -> Cow<'static, str>

## Implementors§