Crate into_string

source ·
Expand description

into_string is a helper crate to convert values into strings avoiding extra allocations.

Note
Some of the functionality of this crate must be enabled with the max feature. When max is disabled, into_string uses the min_specialization API, which lacks some of the features of specialization, but is complete (currently, specialization is marked as an incomplete feature and shows a warning when enabled)

Traits

Helper trait to turn ToString-able values into strings, avoiding an allocation for &str
A similar trait to ToString, but for CStrs, and avoiding an extra allocation when applied to a CString
Helper trait to turn ToString-able values into strings, avoiding an allocation for Strings and &str
A similar trait to ToString, but for OsStrs, and avoiding an extra allocation when applied to a OsString.
A similar trait to ToString, but for Paths, and avoiding an extra allocation when applied to a PathBuf.
A similar trait to ToString, but avoiding an extra allocation when applied to a String