FluentDisplay

Trait FluentDisplay 

Source
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§

Source

fn fluent_fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter.

Implementors§