Struct regex::ReplacerRef [−][src]
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: Replacer + ?Sized + 'a> Replacer for ReplacerRef<'a, R>
[src]
fn replace_append(&mut self, caps: &Captures<'_>, dst: &mut String)
[src]
fn no_expansion(&mut self) -> Option<Cow<'_, str>>
[src]
fn by_ref<'r>(&'r mut self) -> ReplacerRef<'r, Self>
[src]
Auto Trait Implementations
impl<'a, R: ?Sized> RefUnwindSafe for ReplacerRef<'a, R> where
R: RefUnwindSafe,
R: RefUnwindSafe,
impl<'a, R: ?Sized> Send for ReplacerRef<'a, R> where
R: Send,
R: Send,
impl<'a, R: ?Sized> Sync for ReplacerRef<'a, R> where
R: Sync,
R: Sync,
impl<'a, R: ?Sized> Unpin for ReplacerRef<'a, R>
impl<'a, R> !UnwindSafe for ReplacerRef<'a, R>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,