[][src]Trait lazy_string_replace::LazyReplace

pub trait LazyReplace {
    fn lazy_replace<P, D>(&self, pat: P, replacement: D) -> ReplacedString<P, D>;
}

A convenience trait to allow you to call .lazy_replace on anything that can deref to a &str.

Required methods

fn lazy_replace<P, D>(&self, pat: P, replacement: D) -> ReplacedString<P, D>

Create a struct implementing Display that will display this string with the specified pattern replaced with the specified replacement

Loading content...

Implementors

impl<T> LazyReplace for T where
    T: Deref<Target = str>, 
[src]

Loading content...