Crate out

source ·
Expand description

Provides an iterator extension for easy string generation.

let s = (0..3).prefix("f").suffix(".jpg").join(", ");
assert_eq!(&s, "f0.jpg, f1.jpg, f2.jpg");

Requires nightly for now.

Structs

Created with the method prefix.
Created with the method replace.
Created with the method split.
Created with the method suffix.
Created with the method trim.

Traits

Provides easy string generation.