Skip to main content

ToFluentString

Trait ToFluentString 

Source
pub trait ToFluentString {
    // Required method
    fn to_fluent_string(&self) -> String;
}
Expand description

This trait is automatically implemented for any type that implements FluentDisplay.

Required Methods§

Source

fn to_fluent_string(&self) -> String

Converts the type into a Fluent (i18n translated) string.

Implementors§