Struct regex::bytes::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 Vec<u8>)
[src]
fn replace_append(&mut self, caps: &Captures, dst: &mut Vec<u8>)
Appends text to dst
to replace the current match. Read more
fn no_expansion<'r>(&'r mut self) -> Option<Cow<'r, [u8]>>
[src]
fn no_expansion<'r>(&'r mut self) -> Option<Cow<'r, [u8]>>
Return a fixed unchanging replacement byte 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,