pub trait ToFormattedString: Sealed + Sized {
    fn to_formatted_string<F>(&self, format: &F) -> String
        F: Format
, { ... } }
Expand description

A key trait. Gives numbers the to_formatted_string method.

This trait is sealed; so you may not implement it on your own types.

Provided Methods

Returns a string representation of the number formatted according to the provided format.