Formattable

Trait Formattable 

Source
pub trait Formattable {
    // Required method
    fn format(&self, value: &f32) -> String;
}
Expand description

Trait for types that can format transformed values for display

Formatting converts numeric values into human-readable strings, typically using scientific notation for large numbers.

Required Methods§

Source

fn format(&self, value: &f32) -> String

Implementors§