pub trait FluentDisplay {
// Required method
fn fluent_fmt(&self, f: &mut Formatter<'_>) -> Result;
}Expand description
This trait is similar to std::fmt::Display, but it is used for formatting
types that can be displayed in a Fluent message.
Required Methods§
Sourcefn fluent_fmt(&self, f: &mut Formatter<'_>) -> Result
fn fluent_fmt(&self, f: &mut Formatter<'_>) -> Result
Formats the value using the given formatter.