Struct regex::ReplacerRef
[−]
[src]
pub struct ReplacerRef<'a, R: ?Sized + 'a>(_);
By-reference adaptor for a Replacer
Returned by Replacer::by_ref
.
Trait Implementations
impl<'a, R: Debug + ?Sized + 'a> Debug for ReplacerRef<'a, R>
[src]
impl<'a, R: Debug + ?Sized + 'a> Debug for ReplacerRef<'a, R>
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'a, R: Replacer + ?Sized + 'a> Replacer for ReplacerRef<'a, R>
[src]
impl<'a, R: Replacer + ?Sized + 'a> Replacer for ReplacerRef<'a, R>
fn replace_append(&mut self, caps: &Captures, dst: &mut String)
[src]
fn replace_append(&mut self, caps: &Captures, dst: &mut String)
Appends text to dst
to replace the current match. Read more
fn no_expansion(&mut self) -> Option<Cow<str>>
[src]
fn no_expansion(&mut self) -> Option<Cow<str>>
Return a fixed unchanging replacement string. Read more
fn by_ref<'r>(&'r mut self) -> ReplacerRef<'r, Self>
[src]
fn by_ref<'r>(&'r mut self) -> ReplacerRef<'r, Self>
Return a Replacer
that borrows and wraps this Replacer
. Read more
Auto Trait Implementations
impl<'a, R: ?Sized> Send for ReplacerRef<'a, R> where
R: Send,
impl<'a, R: ?Sized> Send for ReplacerRef<'a, R> where
R: Send,
impl<'a, R: ?Sized> Sync for ReplacerRef<'a, R> where
R: Sync,
impl<'a, R: ?Sized> Sync for ReplacerRef<'a, R> where
R: Sync,