Trait rustc_error_messages::FluentType
source · 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>;
}