Fmttools
Tools for efficient modification of text as part of a single write! call.
- No allocation is performed
- Implemented using only safe Rust
Examples
Joining iterator elements
use join;
let elements = vec!;
assert_eq!;
assert_eq!;
Join elements with custom formatting
use join_fmt;
// Alternatively, a closure can be used
let elements = vec!;
assert_eq!;
Replace arbitrary patterns
use replace;
let value = FooBar ;
assert_eq!;
License
Licensed under the Apache License, Version 2.0 https://www.apache.org/licenses/LICENSE-2.0 or the MIT license https://opensource.org/licenses/MIT, at your option. This file may not be copied, modified, or distributed except according to those terms.