separator/
lib.rs

1#[macro_use]
2mod macros;
3
4pub mod float;
5pub mod signed_int;
6pub mod unsigned_int;
7pub mod usize;
8
9pub use crate::float::FixedPlaceSeparatable;
10
11/// Used for numbers that can be printed with separators for the thousands places.
12pub trait Separatable {
13
14    /// Converts the number to a string with thousands separator.
15    fn separated_string(&self) -> String;
16}