| <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Replacer describes types that can be used to replace matches in a byte string."><meta name="keywords" content="rust, rustlang, rust-lang, Replacer"><title>Replacer in regex::bytes - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" href="../../normalize.css"><link rel="stylesheet" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" href="../../ayu.css" disabled><link rel="stylesheet" href="../../dark.css" disabled><link rel="stylesheet" href="../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../storage.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../main.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../favicon.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">☰</button><a class="sidebar-logo" href="../../regex/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div></a><h2></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="../../regex/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div></a><h2 class="location"><a href="#">Replacer</a></h2><div class="sidebar-elems"><section><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.replace_append">replace_append</a></li></ul><h3><a href="#provided-methods">Provided Methods</a></h3><ul class="block"><li><a href="#method.by_ref">by_ref</a></li><li><a href="#method.no_expansion">no_expansion</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-Replacer-for-%26%27a%20Cow%3C%27a%2C%20%5Bu8%5D%3E">&'a Cow<'a, [u8]></a></li><li><a href="#impl-Replacer-for-%26%27a%20Vec%3Cu8%3E">&'a Vec<u8></a></li><li><a href="#impl-Replacer-for-%26%27a%20%5Bu8%5D">&'a [u8]</a></li><li><a href="#impl-Replacer-for-Cow%3C%27a%2C%20%5Bu8%5D%3E">Cow<'a, [u8]></a></li><li><a href="#impl-Replacer-for-Vec%3Cu8%3E">Vec<u8></a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><h2><a href="index.html">In regex::bytes</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1 class="fqn">Trait <a href="../index.html">regex</a>::<wbr><a href="index.html">bytes</a>::<wbr><a class="trait" href="#">Replacer</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="srclink" href="../../src/regex/re_bytes.rs.html#1223-1268">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span></div><div class="item-decl"><pre class="rust trait"><code>pub trait Replacer { |
| fn <a href="#tymethod.replace_append" class="fnname">replace_append</a>(&mut self, caps: &<a class="struct" href="struct.Captures.html" title="struct regex::bytes::Captures">Captures</a><'_>, dst: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>>); |
| |
| fn <a href="#method.no_expansion" class="fnname">no_expansion</a><'r>(&'r mut self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/nightly/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a><'r, [<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>]>> { ... } |
| <span class="item-spacer"></span> fn <a href="#method.by_ref" class="fnname">by_ref</a><'r>(&'r mut self) -> <a class="struct" href="struct.ReplacerRef.html" title="struct regex::bytes::ReplacerRef">ReplacerRef</a><'r, Self> { ... } |
| }</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Replacer describes types that can be used to replace matches in a byte |
| string.</p> |
| <p>In general, users of this crate shouldn’t need to implement this trait, |
| since implementations are already provided for <code>&[u8]</code> along with other |
| variants of bytes types and <code>FnMut(&Captures) -> Vec<u8></code> (or any |
| <code>FnMut(&Captures) -> T</code> where <code>T: AsRef<[u8]></code>), which covers most use cases.</p> |
| </div></details><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle method-toggle" open><summary><section id="tymethod.replace_append" class="method has-srclink"><a class="srclink rightside" href="../../src/regex/re_bytes.rs.html#1231">source</a><h4 class="code-header">fn <a href="#tymethod.replace_append" class="fnname">replace_append</a>(&mut self, caps: &<a class="struct" href="struct.Captures.html" title="struct regex::bytes::Captures">Captures</a><'_>, dst: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>>)</h4></section></summary><div class="docblock"><p>Appends text to <code>dst</code> to replace the current match.</p> |
| <p>The current match is represented by <code>caps</code>, which is guaranteed to |
| have a match at capture group <code>0</code>.</p> |
| <p>For example, a no-op replacement would be |
| <code>dst.extend(&caps[0])</code>.</p> |
| </div></details></div><h2 id="provided-methods" class="small-section-header">Provided Methods<a href="#provided-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.no_expansion" class="method has-srclink"><a class="srclink rightside" href="../../src/regex/re_bytes.rs.html#1240-1242">source</a><h4 class="code-header">fn <a href="#method.no_expansion" class="fnname">no_expansion</a><'r>(&'r mut self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/nightly/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a><'r, [<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>]>></h4></section></summary><div class="docblock"><p>Return a fixed unchanging replacement byte string.</p> |
| <p>When doing replacements, if access to <code>Captures</code> is not needed (e.g., |
| the replacement byte string does not need <code>$</code> expansion), then it can |
| be beneficial to avoid finding sub-captures.</p> |
| <p>In general, this is called once for every call to <code>replacen</code>.</p> |
| </div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.by_ref" class="method has-srclink"><a class="srclink rightside" href="../../src/regex/re_bytes.rs.html#1265-1267">source</a><h4 class="code-header">fn <a href="#method.by_ref" class="fnname">by_ref</a><'r>(&'r mut self) -> <a class="struct" href="struct.ReplacerRef.html" title="struct regex::bytes::ReplacerRef">ReplacerRef</a><'r, Self></h4></section></summary><div class="docblock"><p>Return a <code>Replacer</code> that borrows and wraps this <code>Replacer</code>.</p> |
| <p>This is useful when you want to take a generic <code>Replacer</code> (which might |
| not be cloneable) and use it without consuming it, so it can be used |
| more than once.</p> |
| <h5 id="example"><a href="#example">Example</a></h5> |
| <div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>regex::bytes::{Regex, Replacer}; |
| |
| <span class="kw">fn </span>replace_all_twice<R: Replacer>( |
| re: Regex, |
| src: <span class="kw-2">&</span>[u8], |
| <span class="kw-2">mut </span>rep: R, |
| ) -> Vec<u8> { |
| <span class="kw">let </span>dst = re.replace_all(src, rep.by_ref()); |
| <span class="kw">let </span>dst = re.replace_all(<span class="kw-2">&</span>dst, rep.by_ref()); |
| dst.into_owned() |
| }</code></pre></div> |
| </div></details></div><h2 id="foreign-impls" class="small-section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor"></a></h2><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Replacer-for-%26%27a%20%5Bu8%5D" class="impl has-srclink"><a class="srclink rightside" href="../../src/regex/re_bytes.rs.html#1285-1293">source</a><a href="#impl-Replacer-for-%26%27a%20%5Bu8%5D" class="anchor"></a><h3 class="code-header">impl<'a> <a class="trait" href="trait.Replacer.html" title="trait regex::bytes::Replacer">Replacer</a> for &'a [<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>]</h3></section></summary><div class="impl-items"><section id="method.replace_append" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/regex/re_bytes.rs.html#1286-1288">source</a><a href="#method.replace_append" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.replace_append" class="fnname">replace_append</a>(&mut self, caps: &<a class="struct" href="struct.Captures.html" title="struct regex::bytes::Captures">Captures</a><'_>, dst: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>>)</h4></section><section id="method.no_expansion-1" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/regex/re_bytes.rs.html#1290-1292">source</a><a href="#method.no_expansion-1" class="anchor"></a><h4 class="code-header">fn <a href="#method.no_expansion" class="fnname">no_expansion</a>(&mut self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/nightly/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a><'_, [<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>]>></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Replacer-for-%26%27a%20Vec%3Cu8%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/regex/re_bytes.rs.html#1295-1303">source</a><a href="#impl-Replacer-for-%26%27a%20Vec%3Cu8%3E" class="anchor"></a><h3 class="code-header">impl<'a> <a class="trait" href="trait.Replacer.html" title="trait regex::bytes::Replacer">Replacer</a> for &'a <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>></h3></section></summary><div class="impl-items"><section id="method.replace_append-1" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/regex/re_bytes.rs.html#1296-1298">source</a><a href="#method.replace_append-1" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.replace_append" class="fnname">replace_append</a>(&mut self, caps: &<a class="struct" href="struct.Captures.html" title="struct regex::bytes::Captures">Captures</a><'_>, dst: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>>)</h4></section><section id="method.no_expansion-2" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/regex/re_bytes.rs.html#1300-1302">source</a><a href="#method.no_expansion-2" class="anchor"></a><h4 class="code-header">fn <a href="#method.no_expansion" class="fnname">no_expansion</a>(&mut self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/nightly/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a><'_, [<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>]>></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Replacer-for-Vec%3Cu8%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/regex/re_bytes.rs.html#1305-1313">source</a><a href="#impl-Replacer-for-Vec%3Cu8%3E" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.Replacer.html" title="trait regex::bytes::Replacer">Replacer</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>></h3></section></summary><div class="impl-items"><section id="method.replace_append-2" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/regex/re_bytes.rs.html#1306-1308">source</a><a href="#method.replace_append-2" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.replace_append" class="fnname">replace_append</a>(&mut self, caps: &<a class="struct" href="struct.Captures.html" title="struct regex::bytes::Captures">Captures</a><'_>, dst: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>>)</h4></section><section id="method.no_expansion-3" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/regex/re_bytes.rs.html#1310-1312">source</a><a href="#method.no_expansion-3" class="anchor"></a><h4 class="code-header">fn <a href="#method.no_expansion" class="fnname">no_expansion</a>(&mut self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/nightly/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a><'_, [<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>]>></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Replacer-for-Cow%3C%27a%2C%20%5Bu8%5D%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/regex/re_bytes.rs.html#1315-1323">source</a><a href="#impl-Replacer-for-Cow%3C%27a%2C%20%5Bu8%5D%3E" class="anchor"></a><h3 class="code-header">impl<'a> <a class="trait" href="trait.Replacer.html" title="trait regex::bytes::Replacer">Replacer</a> for <a class="enum" href="https://doc.rust-lang.org/nightly/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a><'a, [<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>]></h3></section></summary><div class="impl-items"><section id="method.replace_append-3" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/regex/re_bytes.rs.html#1316-1318">source</a><a href="#method.replace_append-3" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.replace_append" class="fnname">replace_append</a>(&mut self, caps: &<a class="struct" href="struct.Captures.html" title="struct regex::bytes::Captures">Captures</a><'_>, dst: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>>)</h4></section><section id="method.no_expansion-4" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/regex/re_bytes.rs.html#1320-1322">source</a><a href="#method.no_expansion-4" class="anchor"></a><h4 class="code-header">fn <a href="#method.no_expansion" class="fnname">no_expansion</a>(&mut self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/nightly/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a><'_, [<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>]>></h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Replacer-for-%26%27a%20Cow%3C%27a%2C%20%5Bu8%5D%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/regex/re_bytes.rs.html#1325-1333">source</a><a href="#impl-Replacer-for-%26%27a%20Cow%3C%27a%2C%20%5Bu8%5D%3E" class="anchor"></a><h3 class="code-header">impl<'a> <a class="trait" href="trait.Replacer.html" title="trait regex::bytes::Replacer">Replacer</a> for &'a <a class="enum" href="https://doc.rust-lang.org/nightly/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a><'a, [<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>]></h3></section></summary><div class="impl-items"><section id="method.replace_append-4" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/regex/re_bytes.rs.html#1326-1328">source</a><a href="#method.replace_append-4" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.replace_append" class="fnname">replace_append</a>(&mut self, caps: &<a class="struct" href="struct.Captures.html" title="struct regex::bytes::Captures">Captures</a><'_>, dst: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>>)</h4></section><section id="method.no_expansion-5" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/regex/re_bytes.rs.html#1330-1332">source</a><a href="#method.no_expansion-5" class="anchor"></a><h4 class="code-header">fn <a href="#method.no_expansion" class="fnname">no_expansion</a>(&mut self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/nightly/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a><'_, [<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>]>></h4></section></div></details><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div id="implementors-list"><section id="impl-Replacer-for-ReplacerRef%3C%27a%2C%20R%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/regex/re_bytes.rs.html#1276-1283">source</a><a href="#impl-Replacer-for-ReplacerRef%3C%27a%2C%20R%3E" class="anchor"></a><h3 class="code-header">impl<'a, R: <a class="trait" href="trait.Replacer.html" title="trait regex::bytes::Replacer">Replacer</a> + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> + 'a> <a class="trait" href="trait.Replacer.html" title="trait regex::bytes::Replacer">Replacer</a> for <a class="struct" href="struct.ReplacerRef.html" title="struct regex::bytes::ReplacerRef">ReplacerRef</a><'a, R></h3></section><section id="impl-Replacer-for-NoExpand%3C%27t%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/regex/re_bytes.rs.html#1364-1372">source</a><a href="#impl-Replacer-for-NoExpand%3C%27t%3E" class="anchor"></a><h3 class="code-header">impl<'t> <a class="trait" href="trait.Replacer.html" title="trait regex::bytes::Replacer">Replacer</a> for <a class="struct" href="struct.NoExpand.html" title="struct regex::bytes::NoExpand">NoExpand</a><'t></h3></section><section id="impl-Replacer-for-F" class="impl has-srclink"><a class="srclink rightside" href="../../src/regex/re_bytes.rs.html#1343-1351">source</a><a href="#impl-Replacer-for-F" class="anchor"></a><h3 class="code-header">impl<F, T> <a class="trait" href="trait.Replacer.html" title="trait regex::bytes::Replacer">Replacer</a> for F<span class="where fmt-newline">where<br> F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnMut.html" title="trait core::ops::function::FnMut">FnMut</a>(&<a class="struct" href="struct.Captures.html" title="struct regex::bytes::Captures">Captures</a><'_>) -> T,<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a><[<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>]>,</span></h3></section></div><script src="../../implementors/regex/re_bytes/trait.Replacer.js" data-ignore-extern-crates="std,alloc" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="regex" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.66.0-nightly (5c8bff74b 2022-10-21)" ></div></body></html> |