[−][src]Trait lazy_string_replace::LazyReplace
A convenience trait to allow you to call .lazy_replace
on anything that can deref to a &str
.
Required methods
fn lazy_replace<P, R>(&self, pat: P, replacement: R) -> ReplacedString<P, R>
Create a struct implementing Display
that will display this string with the specified pattern replaced with the specified replacement
Implementations on Foreign Types
impl LazyReplace for str
[src]
fn lazy_replace<P, R>(&self, needle: P, replacement: R) -> ReplacedString<P, R>
[src]
Implementors
impl<T> LazyReplace for T where
T: Deref<Target = str>,
[src]
T: Deref<Target = str>,