figura 3.0.0

A flexible string template formatting crate
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
pub trait ToAstring {
    fn to_astring(self) -> String;
}

impl ToAstring for i64 {
    fn to_astring(self) -> String {
        itoa::Buffer::new().format(self).to_owned()
    }
}

impl ToAstring for f64 {
    fn to_astring(self) -> String {
        zmij::Buffer::new().format(self).to_owned()
    }
}