<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="API documentation for the Rust `INAME_RE` struct in crate `kanidmd_lib`."><metaname="keywords"content="rust, rustlang, rust-lang, INAME_RE"><title>INAME_RE in kanidmd_lib::value - Rust</title><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../../SourceSerif4-Regular.ttf.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../../FiraSans-Regular.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../../FiraSans-Medium.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../../SourceCodePro-Regular.ttf.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../../SourceSerif4-Bold.ttf.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../../SourceCodePro-Semibold.ttf.woff2"><linkrel="stylesheet"type="text/css"href="../../normalize.css"><linkrel="stylesheet"type="text/css"href="../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"type="text/css"href="../../ayu.css"disabled><linkrel="stylesheet"type="text/css"href="../../dark.css"disabled><linkrel="stylesheet"type="text/css"href="../../light.css"id="themeStyle"><scriptid="default-settings"></script><scriptsrc="../../storage.js"></script><scriptdefersrc="sidebar-items.js"></script><scriptdefersrc="../../main.js"></script><noscript><linkrel="stylesheet"href="../../noscript.css"></noscript><linkrel="alternate icon"type="image/png"href="../../favicon-16x16.png"><linkrel="alternate icon"type="image/png"href="../../favicon-32x32.png"><linkrel="icon"type="image/svg+xml"href="../../favicon.svg"></head><bodyclass="rustdoc struct"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="mobile-topbar"><buttonclass="sidebar-menu-toggle">☰</button><aclass="sidebar-logo"href="../../kanidmd_lib/index.html"><divclass="logo-container"><imgclass="rust-logo"src="../../rust-logo.svg"alt="logo"></div></a><h2class="location"></h2></nav><navclass="sidebar"><aclass="sidebar-logo"href="../../kanidmd_lib/index.html"><divclass="logo-container"><imgclass="rust-logo"src="../../rust-logo.svg"alt="logo"></div></a><h2class="location"><ahref="#">INAME_RE</a></h2><divclass="sidebar-elems"><section><divclass="block"><h3class="sidebar-title"><ahref="#deref-methods-Regex">Methods from Deref<Target=Regex></a></h3><ul><li><ahref="#method.as_str">as_str</a></li><li><ahref="#method.capture_locations">capture_locations</a></li><li><ahref="#method.capture_names">capture_names</a></li><li><ahref="#method.captures">captures</a></li><li><ahref="#method.captures_iter">captures_iter</a></li><li><ahref="#method.captures_len">captures_len</a></li><li><ahref="#method.captures_read">captures_read</a></li><li><ahref="#method.captures_read_at">captures_read_at</a></li><li><ahref="#method.find">find</a></li><li><ahref="#method.find_at">find_at</a></li><li><ahref="#method.find_iter">find_iter</a></li><li><ahref="#method.is_match">is_match</a></li><li><ahref="#method.is_match_at">is_match_at</a></li><li><ahref="#method.replace">replace</a></li><li><ahref="#method.replace_all">replace_all</a></li><li><ahref="#method.replacen">replacen</a></li><li><ahref="#method.shortest_match">shortest_match</a></li><li><ahref="#method.shortest_match_at">shortest_match_at</a></li><li><ahref="#method.split">split</a></li><li><ahref="#method.splitn">splitn</a></li></ul></div><divclass="block"><h3class="sidebar-title"><ahref="#trait-implementations">Trait Implementations</a></h3><ul><li><ahref="#impl-Deref-for-INAME_RE">Deref</a></li><li><ahref="#impl-LazyStatic-for-INAME_RE">LazyStatic</a></li></ul></div><divclass="block"><h3class="sidebar-title"><ahref="#synthetic-implementations">Auto Trait Implementations</a></h3><ul><li><ahref="#impl-Re
string given.</p>
<p>It is recommended to use this method if all you need to do is test
a match, since the underlying matching engine may be able to do less
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.find"class="method has-srclink"><h4class="code-header">pub fn <ahref="#method.find"class="fnname">find</a>(&self, text: &'t <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>) -><aclass="enum"href="https://doc.rust-lang.org/1.64.0/core/option/enum.Option.html"title="enum core::option::Option">Option</a><Match<'t>></h4></section></summary><divclass="docblock"><p>Returns the start and end byte range of the leftmost-first match in
<code>text</code>. If no match exists, then <code>None</code> is returned.</p>
<p>Note that this should only be used if you want to discover the position
of the match. Testing the existence of a match is faster if you use
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.find_iter"class="method has-srclink"><h4class="code-header">pub fn <ahref="#method.find_iter"class="fnname">find_iter</a>(&'r self, text: &'t <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>) -> Matches<'r, 't></h4></section></summary><divclass="docblock"><p>Returns an iterator for each successive non-overlapping match in
<code>text</code>, returning the start and end byte indices with respect to
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.captures"class="method has-srclink"><h4class="code-header">pub fn <ahref="#method.captures"class="fnname">captures</a>(&self, text: &'t <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>) -><aclass="enum"href="https://doc.rust-lang.org/1.64.0/core/option/enum.Option.html"title="enum core::option::Option">Option</a><Captures<'t>></h4></section></summary><divclass="docblock"><p>Returns the capture groups corresponding to the leftmost-first
match in <code>text</code>. Capture group <code>0</code> always corresponds to the entire
match. If no match is found, then <code>None</code> is returned.</p>
<p>You should only use <code>captures</code> if you need access to the location of
capturing group matches. Otherwise, <code>find</code> is faster for discovering
<p>Here we name the capture groups, which we can access with the <code>name</code>
method or the <code>Index</code> notation with a <code>&str</code>. Note that the named
capture groups are still accessible with <code>get</code> or the <code>Index</code> notation
with a <code>usize</code>.</p>
<p>The <code>0</code>th capture group is always unnamed, so it must always be
accessed with <code>get(0)</code> or <code>[0]</code>.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.captures_iter"class="method has-srclink"><h4class="code-header">pub fn <ahref="#method.captures_iter"class="fnname">captures_iter</a>(&'r self, text: &'t <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>) -> CaptureMatches<'r, 't></h4></section></summary><divclass="docblock"><p>Returns an iterator over all the non-overlapping capture groups matched
in <code>text</code>. This is operationally the same as <code>find_iter</code>, except it
yields information about capturing group matches.</p>
<spanclass="comment">// Movie: The Wizard of Oz, Released: 1939</span>
<spanclass="comment">// Movie: M, Released: 1931</span></code></pre></div>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.split"class="method has-srclink"><h4class="code-header">pub fn <ahref="#method.split"class="fnname">split</a>(&'r self, text: &'t <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>) -> Split<'r, 't></h4></section></summary><divclass="docblock"><p>Returns an iterator of substrings of <code>text</code> delimited by a match of the
regular expression. Namely, each element of the iterator corresponds to
text that <em>isn’t</em> matched by the regular expression.</p>
<p>This method will <em>not</em> copy the text given.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.splitn"class="method has-srclink"><h4class="code-header">pub fn <ahref="#method.splitn"class="fnname">splitn</a>(&'r self, text: &'t <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>, limit: <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.usize.html">usize</a>) -> SplitN<'r, 't></h4></section></summary><divclass="docblock"><p>Returns an iterator of at most <code>limit</code> substrings of <code>text</code> delimited
by a match of the regular expression. (A <code>limit</code> of <code>0</code> will return no
substrings.) Namely, each element of the iterator corresponds to text
that <em>isn’t</em> matched by the regular expression. The remainder of the
string that is not split will be the last element in the iterator.</p>
<p>This method will <em>not</em> copy the text given.</p>
<spanclass="kw">let</span><spanclass="ident">fields</span>: <spanclass="ident">Vec</span><spanclass="op"><</span><spanclass="kw-2">&</span><spanclass="ident">str</span><spanclass="op">></span><spanclass="op">=</span><spanclass="ident">re</span>.<spanclass="ident">splitn</span>(<spanclass="string">"Hey! How are you?"</span>, <spanclass="number">3</span>).<spanclass="ident">collect</span>();
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.replace_all"class="method has-srclink"><h4class="code-header">pub fn <ahref="#method.replace_all"class="fnname">replace_all</a><R>(&self, text: &'t <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>, rep: R) -><aclass="enum"href="https://doc.rust-lang.org/1.64.0/alloc/borrow/enum.Cow.html"title="enum alloc::borrow::Cow">Cow</a><'t, <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>><spanclass="where fmt-newline">where<br> R: Replacer, </span></h4></section></summary><divclass="docblock"><p>Replaces all non-overlapping matches in <code>text</code> with the replacement
provided. This is the same as calling <code>replacen</code> with <code>limit</code> set to
<code>0</code>.</p>
<p>See the documentation for <code>replace</code> for details on how to access
capturing group matches in the replacement string.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.replacen"class="method has-srclink"><h4class="code-header">pub fn <ahref="#method.replacen"class="fnname">replacen</a><R>(&self, text: &'t <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>, limit: <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.usize.html">usize</a>, rep: R) -><aclass="enum"href="https://doc.rust-lang.org/1.64.0/alloc/borrow/enum.Cow.html"title="enum alloc::borrow::Cow">Cow</a><'t, <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>><spanclass="where fmt-newline">where<br> R: Replacer, </span></h4></section></summary><divclass="docblock"><p>Replaces at most <code>limit</code> non-overlapping matches in <code>text</code> with the
replacement provided. If <code>limit</code> is 0, then all non-overlapping matches
are replaced.</p>
<p>See the documentation for <code>replace</code> for details on how to access
capturing group matches in the replacement string.</p>
</div></details></div><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.shortest_match"class="method has-srclink"><h4class="code-header">pub fn <ahref="#method.shortest_match"class="fnname">shortest_match</a>(&self, text: &<aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>) -><aclass="enum"href="https://doc.rust-lang.org/1.64.0/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.usize.html">usize</a>></h4></section></summary><divclass="docblock"><p>Returns the end location of a match in the text given.</p>
<p>This method may have the same performance characteristics as
<code>is_match</code>, except it provides an end location for a match. In
particular, the location returned <em>may be shorter</em> than the proper end
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.shortest_match_at"class="method has-srclink"><h4class="code-header">pub fn <ahref="#method.shortest_match_at"class="fnname">shortest_match_at</a>(&self, text: &<aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>, start: <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.usize.html">usize</a>) -><aclass="enum"href="https://doc.rust-lang.org/1.64.0/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.usize.html">usize</a>></h4></section></summary><divclass="docblock"><p>Returns the same as shortest_match, but starts the search at the given
offset.</p>
<p>The significance of the starting point is that it takes the surrounding
context into consideration. For example, the <code>\A</code> anchor can only
match when <code>start == 0</code>.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.is_match_at"class="method has-srclink"><h4class="code-header">pub fn <ahref="#method.is_match_at"class="fnname">is_match_at</a>(&self, text: &<aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>, start: <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.usize.html">usize</a>) -><aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a></h4></section></summary><divclass="docblock"><p>Returns the same as is_match, but starts the search at the given
offset.</p>
<p>The significance of the starting point is that it takes the surrounding
context into consideration. For example, the <code>\A</code> anchor can only
match when <code>start == 0</code>.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.find_at"class="method has-srclink"><h4class="code-header">pub fn <ahref="#method.find_at"class="fnname">find_at</a>(&self, text: &'t <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>, start: <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.usize.html">usize</a>) -><aclass="enum"href="https://doc.rust-lang.org/1.64.0/core/option/enum.Option.html"title="enum core::option::Option">Option</a><Match<'t>></h4></section></summary><divclass="docblock"><p>Returns the same as find, but starts the search at the given
offset.</p>
<p>The significance of the starting point is that it takes the surrounding
context into consideration. For example, the <code>\A</code> anchor can only
match when <code>start == 0</code>.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.captures_read"class="method has-srclink"><h4class="code-header">pub fn <ahref="#method.captures_read"class="fnname">captures_read</a>(<br> &self,<br> locs: &mut CaptureLocations,<br> text: &'t <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a><br>) -><aclass="enum"href="https://doc.rust-lang.org/1.64.0/core/option/enum.Option.html"title="enum core::option::Option">Option</a><Match<'t>></h4></section></summary><divclass="docblock"><p>This is like <code>captures</code>, but uses
<ahref="struct.Captures.html"><code>Captures</code></a> in order to amortize allocations.</p>
<p>To create a <code>CaptureLocations</code> value, use the
<code>Regex::capture_locations</code> method.</p>
<p>This returns the overall match if this was successful, which is always
equivalence to the <code>0</code>th capture group.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.captures_read_at"class="method has-srclink"><h4class="code-header">pub fn <ahref="#method.captures_read_at"class="fnname">captures_read_at</a>(<br> &self,<br> locs: &mut CaptureLocations,<br> text: &'t <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a>,<br> start: <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.usize.html">usize</a><br>) -><aclass="enum"href="https://doc.rust-lang.org/1.64.0/core/option/enum.Option.html"title="enum core::option::Option">Option</a><Match<'t>></h4></section></summary><divclass="docblock"><p>Returns the same as captures, but starts the search at the given
offset and populates the capture locations given.</p>
<p>The significance of the starting point is that it takes the surrounding
context into consideration. For example, the <code>\A</code> anchor can only
match when <code>start == 0</code>.</p>
</div></details></div><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.as_str"class="method has-srclink"><h4class="code-header">pub fn <ahref="#method.as_str"class="fnname">as_str</a>(&self) ->&<aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.str.html">str</a></h4></section></summary><divclass="docblock"><p>Returns the original string of this regex.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.capture_names"class="method has-srclink"><h4class="code-header">pub fn <ahref="#method.capture_names"class="fnname">capture_names</a>(&self) -> CaptureNames<'_></h4></section></summary><divclass="docblock"><p>Returns an iterator over the capture names.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.captures_len"class="method has-srclink"><h4class="code-header">pub fn <ahref="#method.captures_len"class="fnname">captures_len</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.usize.html">usize</a></h4></section></summary><divclass="docblock"><p>Returns the number of captures.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.capture_locations"class="method has-srclink"><h4class="code-header">pub fn <ahref="#method.capture_locations"class="fnname">capture_locations</a>(&self) -> CaptureLocations</h4></section></summary><divclass="docblock"><p>Returns an empty set of capture locations that can be reused in
multiple calls to <code>captures_read</code> or <code>captures_read_at</code>.</p>
</div></details></div></div><h2id="trait-implementations"class="small-section-header">Trait Implementations<ahref="#trait-implementations"class="anchor"></a></h2><divid="trait-implementations-list"><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-Deref-for-INAME_RE"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../src/kanidmd_lib/value.rs.html#28-61">source</a></span><ahref="#impl-Deref-for-INAME_RE"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/ops/deref/trait.Deref.html"title="trait core::ops::deref::Deref">Deref</a> for <aclass="struct"href="struct.INAME_RE.html"title="struct kanidmd_lib::value::INAME_RE">INAME_RE</a></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle"open><summary><sectionid="associatedtype.Target"class="associatedtype trait-impl has-srclink"><ahref="#associatedtype.Target"class="anchor"></a><h4class="code-header">type <ahref="https://doc.rust-lang.org/1.64.0/core/ops/deref/trait.Deref.html#associatedtype.Target"class="associatedtype">Target</a> = Regex</h4></section></summary><divclass='docblock'><p>The resulting type after dereferencing.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.deref"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../src/kanidmd_lib/value.rs.html#28-61">source</a></span><ahref="#method.deref"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.64.0/core/ops/deref/trait.Deref.html#tymethod.deref"class="fnname">deref</a>(&self) ->&Regex</h4></section></summary><divclass='docblock'><p>Dereferences the value.</p>
</div></details></div></details><sectionid="impl-LazyStatic-for-INAME_RE"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="../../src/kanidmd_lib/value.rs.html#28-61">source</a></span><ahref="#impl-LazyStatic-for-INAME_RE"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://docs.rs/lazy_static/1.4.0/lazy_static/trait.LazyStatic.html"title="trait lazy_static::LazyStatic">LazyStatic</a> for <aclass="struct"href="struct.INAME_RE.html"title="struct kanidmd_lib::value::INAME_RE">INAME_RE</a></h3></section></div><h2id="synthetic-implementations"class="small-section-header">Auto Trait Implementations<ahref="#synthetic-implementations"class="anchor"></a></h2><divid="synthetic-implementations-list"><sectionid="impl-RefUnwindSafe-for-INAME_RE"class="impl has-srclink"><ahref="#impl-RefUnwindSafe-for-INAME_RE"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/panic/unwind_safe/trait.RefUnwindSafe.html"title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <aclass="struct"href="struct.INAME_RE.html"title="struct kanidmd_lib::value::INAME_RE">INAME_RE</a></h3></section><sectionid="impl-Send-for-INAME_RE"class="impl has-srclink"><ahref="#impl-Send-for-INAME_RE"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Send.html"title="trait core::marker::Send">Send</a> for <aclass="struct"href="struct.INAME_RE.html"title="struct kanidmd_lib::value::INAME_RE">INAME_RE</a></h3></section><sectionid="impl-Sync-for-INAME_RE"class="impl has-srclink"><ahref="#impl-Sync-for-INAME_RE"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Sync.html"title="trait core::marker::Sync">Sync</a> for <aclass="struct"href="struct.INAME_RE.html"title="struct kanidmd_lib::value::INAME_RE">INAME_RE</a></h3></section><sectionid="impl-Unpin-for-INAME_RE"class="impl has-srclink"><ahref="#impl-Unpin-for-INAME_RE"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Unpin.html"title="trait core::marker::Unpin">Unpin</a> for <aclass="struct"href="struct.INAME_RE.html"title="struct kanidmd_lib::value::INAME_RE">INAME_RE</a></h3></section><sectionid="impl-UnwindSafe-for-INAME_RE"class="impl has-srclink"><ahref="#impl-UnwindSafe-for-INAME_RE"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/panic/unwind_safe/trait.UnwindSafe.html"title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <aclass="struct"href="struct.INAME_RE.html"title="struct kanidmd_lib::value::INAME_RE">INAME_RE</a></h3></section></div><h2id="blanket-implementations"class="small-section-header">Blanket Implementations<ahref="#blanket-implementations"class="anchor"></a></h2><divid="blanket-implementations-list"><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-Any-for-INAME_RE"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/1.64.0/src/core/any.rs.html#203">source</a></span><ahref="#impl-Any-for-INAME_RE"class="anchor"></a><h3class="code-header in-band">impl<T><aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/any/trait.Any.html"title="trait core::any::Any">Any</a> for T <spanclass="where fmt-newline">where<br> T: 'static + ?<aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>, </span></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.type_id"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/1.64.0/src/core/any.rs.html#204">source</a></span><ahref="#method.ty
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-AsTaggedExplicit%3C%27a%3E-for-INAME_RE"class="impl has-srclink"><ahref="#impl-AsTaggedExplicit%3C%27a%3E-for-INAME_RE"class="anchor"></a><h3class="code-header in-band">impl<'a, T> AsTaggedExplicit<'a> for T <spanclass="where fmt-newline">where<br> T: 'a, </span></h3></section></summary><divclass="impl-items"><sectionid="method.explicit"class="method trait-impl has-srclink"><ahref="#method.explicit"class="anchor"></a><h4class="code-header">fn <aclass="fnname">explicit</a>(self, class: Class, tag: <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.u32.html">u32</a>) -> TaggedParser<'a, Explicit, Self></h4></section></div></details><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-AsTaggedImplicit%3C%27a%3E-for-INAME_RE"class="impl has-srclink"><ahref="#impl-AsTaggedImplicit%3C%27a%3E-for-INAME_RE"class="anchor"></a><h3class="code-header in-band">impl<'a, T> AsTaggedImplicit<'a> for T <spanclass="where fmt-newline">where<br> T: 'a, </span></h3></section></summary><divclass="impl-items"><sectionid="method.implicit"class="method trait-impl has-srclink"><ahref="#method.implicit"class="anchor"></a><h4class="code-header">fn <aclass="fnname">implicit</a>(<br> self,<br> class: Class,<br> constructed: <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.bool.html">bool</a>,<br> tag: <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.u32.html">u32</a><br>) -> TaggedParser<'a, Implicit, Self></h4></section></div></details><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-Borrow%3CT%3E-for-INAME_RE"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/1.64.0/src/core/borrow.rs.html#209">source</a></span><ahref="#impl-Borrow%3CT%3E-for-INAME_RE"class="anchor"></a><h3class="code-header in-band">impl<T><aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/borrow/trait.Borrow.html"title="trait core::borrow::Borrow">Borrow</a><T> for T <spanclass="where fmt-newline">where<br> T: ?<aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>, </span></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.borrow"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="const unstable">const: <ahref="https://github.com/rust-lang/rust/issues/91522"title="Tracking issue for const_borrow">unstable</a></span> · <aclass="srclink"href="https://doc.rust-lang.org/1.64.0/src/core/borrow.rs.html#211">source</a></span><ahref="#method.borrow"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.64.0/core/borrow/trait.Borrow.html#tymethod.borrow"class="fnname">borrow</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.reference.html">&</a>T</h4></section></summary><divclass='docblock'><p>Immutably borrows from an owned value. <ahref="https://doc.rust-lang.org/1.64.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-BorrowMut%3CT%3E-for-INAME_RE"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/1.64.0/src/core/borrow.rs.html#218">source</a></span><ahref="#impl-BorrowMut%3CT%3E-for-INAME_RE"class="anchor"></a><h3class="code-header in-band">impl<T><aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/borrow/trait.BorrowMut.html"title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T <spanclass="where fmt-newline">where<br> T: ?<aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>, </span></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.borrow_mut"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="const unstable">const: <ahref="https://github.com/rust-lang/rust/issues/91522"title="Tracking issue for const_borrow">unstable</a></span> · <aclass="srclink"href="https://doc.rust-lang.org/1.64.0/src/core/borrow.rs.html#219">source</a></span><ahref="#method.borrow_mut"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.64.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"class="fnname">borrow_mut</a>(&mut self) -><aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.reference.html">&mut </a>T</h4></section></summary><divclass='docblock'><p>Mutably borrows from an owned value. <ahref="https://doc.rust-lang.org/1.64.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-From%3CT%3E-for-INAME_RE"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/1.64.0/src/core/convert/mod.rs.html#557">source</a></span><ahref="#impl-From%3CT%3E-for-INAME_RE"class="anchor"></a><h3class="code-header in-band">impl<T><aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html"title="trait core::convert::From">From</a><T> for T</h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.from"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="const unstable">const: <ahref="https://github.com/rust-lang/rust/issues/88674"title="Tracking issue for const_convert">unstable</a></span> · <aclass="srclink"href="https://doc.rust-lang.org/1.64.0/src/core/convert/mod.rs.html#559">source</a></span><ahref="#method.from"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html#tymethod.from"class="fnname">from</a>(t: T) -> T</h4></section></summary><divclass="docblock"><p>Returns the argument unchanged.</p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-Instrument-for-INAME_RE"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/tracing/0.1.37/src/tracing/instrument.rs.html#276">source</a></span><ahref="#impl-Instrument-for-INAME_RE"class="anchor"></a><h3class="code-header in-band">impl<T><aclass="trait"href="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.Instrument.html"title="trait tracing::instrument::Instrument">Instrument</a> for T</h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.instrument"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/tracing/0.1.37/src/tracing/instrument.rs.html#82">source</a></span><ahref="#method.instrument"class="anchor"></a><h4class="code-header">fn <ahref="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.Instrument.html#method.instrument"class="fnname">instrument</a>(self, span: <aclass="struct"href="https://docs.rs/tracing/0.1.37/tracing/span/struct.Span.html"title="struct tracing::span::Span">Span</a>) -><aclass="struct"href="https://docs.rs/tracing/0.1.37/tracing/instrument/struct.Instrumented.html"title="struct tracing::instrument::Instrumented">Instrumented</a><Self></h4></section></summary><divclass='docblock'><p>Instruments this type with the provided <ahref="https://docs.rs/tracing/0.1.37/tracing/span/struct.Span.html"title="Span"><code>Span</code></a>, returning an
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.in_current_span"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/tracing/0.1.37/src/tracing/instrument.rs.html#121">source</a></span><ahref="#method.in_current_span"class="anchor"></a><h4class="code-header">fn <ahref="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.Instrument.html#method.in_current_span"class="fnname">in_current_span</a>(self) -><aclass="struct"href="https://docs.rs/tracing/0.1.37/tracing/instrument/struct.Instrumented.html"title="struct tracing::instrument::Instrumented">Instrumented</a><Self></h4></section></summary><divclass='docblock'><p>Instruments this type with the <ahref="https://docs.rs/tracing/0.1.37/tracing/span/struct.Span.html#method.current">current</a><ahref="https://docs.rs/tracing/0.1.37/tracing/span/struct.Span.html"><code>Span</code></a>, returning an
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-Into%3CU%3E-for-INAME_RE"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/1.64.0/src/core/convert/mod.rs.html#541">source</a></span><ahref="#impl-Into%3CU%3E-for-INAME_RE"class="anchor"></a><h3class="code-header in-band">impl<T, U><aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/convert/trait.Into.html"title="trait core::convert::Into">Into</a><U> for T <spanclass="where fmt-newline">where<br> U: <aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html"title="trait core::convert::From">From</a><T>, </span></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.into"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="const unstable">const: <ahref="https://github.com/rust-lang/rust/issues/88674"title="Tracking issue for const_convert">unstable</a></span> · <aclass="srclink"href="https://doc.rust-lang.org/1.64.0/src/core/convert/mod.rs.html#549">source</a></span><ahref="#method.into"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.64.0/core/convert/trait.Into.html#tymethod.into"class="fnname">into</a>(self) -> U</h4></section></summary><divclass="docblock"><p>Calls <code>U::from(self)</code>.</p>
<p>That is, this conversion is whatever the implementation of
<code><ahref="https://doc.rust-lang.org/1.64.0/core/convert/trait.From.html"title="From">From</a><T> for U</code> chooses to do.</p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-Pointable-for-INAME_RE"class="impl has-srclink"><ahref="#impl-Pointable-for-INAME_RE"class="anchor"></a><h3class="code-header in-band">impl<T> Pointable for T</h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle"open><summary><sectionid="associatedconstant.ALIGN"class="associatedconstant trait-impl has-srclink"><ahref="#associatedconstant.ALIGN"class="anchor"></a><h4class="code-header">const <aclass="constant">ALIGN</a>: <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.usize.html">usize</a> = mem::align_of::<T>()</h4></section></summary><divclass='docblock'><p>The alignment of pointer.</p>
</div></details><detailsclass="rustdoc-toggle"open><summary><sectionid="associatedtype.Init"class="associatedtype trait-impl has-srclink"><ahref="#associatedtype.Init"class="anchor"></a><h4class="code-header">type <aclass="associatedtype">Init</a> = T</h4></section></summary><divclass='docblock'><p>The type for initializers.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.init"class="method trait-impl has-srclink"><ahref="#method.init"class="anchor"></a><h4class="code-header">unsafe fn <aclass="fnname">init</a>(init: <T as Pointable>::Init) -><aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.usize.html">usize</a></h4></section></summary><divclass='docblock'><p>Initializes a with the given initializer. <a>Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.deref-1"class="method trait-impl has-srclink"><ahref="#method.deref-1"class="anchor"></a><h4class="code-header">unsafe fn <aclass="fnname">deref</a><'a>(ptr: <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.usize.html">usize</a>) -><aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.reference.html">&'a </a>T</h4></section></summary><divclass='docblock'><p>Dereferences the given pointer. <a>Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.deref_mut"class="method trait-impl has-srclink"><ahref="#method.deref_mut"class="anchor"></a><h4class="code-header">unsafe fn <aclass="fnname">deref_mut</a><'a>(ptr: <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.usize.html">usize</a>) -><aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.reference.html">&'a mut </a>T</h4></section></summary><divclass='docblock'><p>Mutably dereferences the given pointer. <a>Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.drop"class="method trait-impl has-srclink"><ahref="#method.drop"class="anchor"></a><h4class="code-header">unsafe fn <aclass="fnname">drop</a>(ptr: <aclass="primitive"href="https://doc.rust-lang.org/1.64.0/std/primitive.usize.html">usize</a>)</h4></section></summary><divclass='docblock'><p>Drops the object pointed to by the given pointer. <a>Read more</a></p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-Same%3CT%3E-for-INAME_RE"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/typenum/1.15.0/src/typenum/type_operators.rs.html#34">source</a></span><ahref="#impl-Same%3CT%3E-for-INAME_RE"class="anchor"></a><h3class="code-header in-band">impl<T><aclass="trait"href="https://docs.rs/typenum/1.15.0/typenum/type_operators/trait.Same.html"title="trait typenum::type_operators::Same">Same</a><T> for T</h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle"open><summary><sectionid="associatedtype.Output"class="associatedtype trait-impl has-srclink"><ahref="#associatedtype.Output"class="anchor"></a><h4class="code-header">type <ahref="https://docs.rs/typenum/1.15.0/typenum/type_operators/trait.Same.html#associatedtype.Output"class="associatedtype">Output</a> = T</h4></section></summary><divclass='docblock'><p>Should always be <code>Self</code></p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-TryFrom%3CU%3E-for-INAME_RE"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/1.64.0/src/core/convert/mod.rs.html#598">source</a></span><ahref="#impl-TryFrom%3CU%3E-for-INAME_RE"class="anchor"></a><h3class="code-header in-band">impl<T, U><aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><U> for T <spanclass="where fmt-newline">where<br> U: <aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/convert/trait.Into.html"title="trait core::convert::Into">Into</a><T>, </span></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle"open><summary><sectionid="associatedtype.Error"class="associatedtype trait-impl has-srclink"><ahref="#associatedtype.Error"class="anchor"></a><h4class="code-header">type <ahref="https://doc.rust-lang.org/1.64.0/core/convert/trait.TryFrom.html#associatedtype.Error"class="associatedtype">Error</a> = <aclass="enum"href="https://doc.rust-lang.org/1.64.0/core/convert/enum.Infallible.html"title="enum core::convert::Infallible">Infallible</a></h4></section></summary><divclass='docblock'><p>The type returned in the event of a conversion error.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.try_from"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="const unstable">const: <ahref="https://github.com/rust-lang/rust/issues/88674"title="Tracking issue for const_convert">unstable</a></span> · <aclass="srclink"href="https://doc.rust-lang.org/1.64.0/src/core/convert/mod.rs.html#604">source</a></span><ahref="#method.try_from"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.64.0/core/convert/trait.TryFrom.html#tymethod.try_from"class="fnname">try_from</a>(value: U) -><aclass="enum"href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html"title="enum core::result::Result">Result</a><T, <T as <aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><U>>::<aclass="associatedtype"href="https://doc.rust-lang.org/1.64.0/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><divclass='docblock'><p>Performs the conversion.</p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-TryInto%3CU%3E-for-INAME_RE"class="impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://doc.rust-lang.org/1.64.0/src/core/convert/mod.rs.html#583">source</a></span><ahref="#impl-TryInto%3CU%3E-for-INAME_RE"class="anchor"></a><h3class="code-header in-band">impl<T, U><aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/convert/trait.TryInto.html"title="trait core::convert::TryInto">TryInto</a><U> for T <spanclass="where fmt-newline">where<br> U: <aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>, </span></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle"open><summary><sectionid="associatedtype.Error-1"class="associatedtype trait-impl has-srclink"><ahref="#associatedtype.Error-1"class="anchor"></a><h4class="code-header">type <ahref="https://doc.rust-lang.org/1.64.0/core/convert/trait.TryInto.html#associatedtype.Error"class="associatedtype">Error</a> = <U as <aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>>::<aclass="associatedtype"href="https://doc.rust-lang.org/1.64.0/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a></h4></section></summary><divclass='docblock'><p>The type returned in the event of a conversion error.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.try_into"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="const unstable">const: <ahref="https://github.com/rust-lang/rust/issues/88674"title="Tracking issue for const_convert">unstable</a></span> · <aclass="srclink"href="https://doc.rust-lang.org/1.64.0/src/core/convert/mod.rs.html#589">source</a></span><ahref="#method.try_into"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.64.0/core/convert/trait.TryInto.html#tymethod.try_into"class="fnname">try_into</a>(self) -><aclass="enum"href="https://doc.rust-lang.org/1.64.0/core/result/enum.Result.html"title="enum core::result::Result">Result</a><U, <U as <aclass="trait"href="https://doc.rust-lang.org/1.64.0/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>>::<aclass="associatedtype"href="https://doc.rust-lang.org/1.64.0/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><divclass='docblock'><p>Performs the conversion.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.with_current_subscriber"class="method trait-impl has-srclink"><spanclass="rightside"><aclass="srclink"href="https://docs.rs/tracing/0.1.37/src/tracing/instrument.rs.html#221">source</a></span><ahref="#method.with_current_subscriber"class="anchor"></a><h4class="code-header">fn <ahref="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.WithSubscriber.html#method.with_current_subscriber"class="fnname">with_current_subscriber</a>(self) -><aclass="struct"href="https://docs.rs/tracing/0.1.37/tracing/instrument/struct.WithDispatch.html"title="struct tracing::instrument::WithDispatch">WithDispatch</a><Self></h4></section></summary><divclass='docblock'><p>Attaches the current <ahref="https://docs.rs/tracing/0.1.37/tracing/dispatcher/index.html#setting-the-default-subscriber">default</a><ahref="https://docs.rs/tracing-core/0.1.22/tracing_core/subscriber/trait.Subscriber.html"><code>Subscriber</code></a> to this type, returning a