Struct ReplacerRef
pub struct ReplacerRef<'a, R: ?Sized>(/* private field */);
A by-reference adaptor for a Replacer.
This permits reusing the same Replacer value in multiple calls to a
replacement routine like Regex::replace_all.
This type is created by Replacer::by_ref.
Trait Implementations
impl<'a, R: Debug + ?Sized> Debug for ReplacerRef<'a, R>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<'a, R: Replacer + ?Sized + 'a> Replacer for ReplacerRef<'a, R>
fn replace_append(&mut self, caps: &Captures<'_>, dst: &mut String)fn no_expansion(&mut self) -> Option<Cow<'_, str>>