pub trait FluentType: Debug + AnyEq + 'static {
    // Required methods
    fn duplicate(&self) -> Box<dyn FluentType + Send, Global>;
    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, Global>

source

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

source

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

Implementors§