</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="../../../halo2_proofs/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="../../../halo2_proofs/index.html"><divclass="logo-container"><imgclass="rust-logo"src="../../../rust-logo.svg"alt="logo"></div></a><h2class="location"><ahref="#">MSM</a></h2><divclass="sidebar-elems"><section><divclass="block"><h3class="sidebar-title"><ahref="#implementations">Methods</a></h3><ul><li><ahref="#method.add_constant_term">add_constant_term</a></li><li><ahref="#method.add_msm">add_msm</a></li><li><ahref="#method.add_to_g_scalars">add_to_g_scalars</a></li><li><ahref="#method.add_to_u_scalar">add_to_u_scalar</a></li><li><ahref="#method.add_to_w_scalar">add_to_w_scalar</a></li><li><ahref="#method.append_term">append_term</a></li><li><ahref="#method.eval">eval</a></li><li><ahref="#method.new">new</a></li><li><ahref="#method.scale">scale</a></li></ul></div><divclass="block"><h3class="sidebar-title"><ahref="#trait-implementations">Trait Implementations</a></h3><ul><li><ahref="#impl-Clone-for-MSM%3C%27a%2C%20C%3E">Clone</a></li><li><ahref="#impl-Debug-for-MSM%3C%27a%2C%20C%3E">Debug</a></li></ul></div><divclass="block"><h3class="sidebar-title"><ahref="#synthetic-implementations">Auto Trait Implementations</a></h3><ul><li><ahref="#impl-RefUnwindSafe-for-MSM%3C%27a%2C%20C%3E">RefUnwindSafe</a></li><li><ahref="#impl-Send-for-MSM%3C%27a%2C%20C%3E">Send</a></li><li><ahref="#impl-Sync-for-MSM%3C%27a%2C%20C%3E">Sync</a></li><li><ahref="#impl-Unpin-for-MSM%3C%27a%2C%20C%3E">Unpin</a></li><li><ahref="#impl-UnwindSafe-for-MSM%3C%27a%2C%20C%3E">UnwindSafe</a></li></ul></div><divclass="block"><h3class="sidebar-title"><ahref="#blanket-implementations">Blanket Implementations</a></h3><ul><li><ahref="#impl-Any-for-MSM%3C%27a%2C%20C%3E">Any</a></li><li><ahref="#impl-Borrow%3CT%3E-for-MSM%3C%27a%2C%20C%3E">Borrow<T></a></li><li><ahref="#impl-BorrowMut%3CT%3E-for-MSM%3C%27a%2C%20C%3E">BorrowMut<T></a></li><li><ahref="#impl-Conv-for-MSM%3C%27a%2C%20C%3E">Conv</a></li><li><ahref="#impl-FmtForward-for-MSM%3C%27a%2C%20C%3E">FmtForward</a></li><li><ahref="#impl-From%3CT%3E-for-MSM%3C%27a%2C%20C%3E">From<T></a></li><li><ahref="#impl-Instrument-for-MSM%3C%27a%2C%20C%3E">Instrument</a></li><li><ahref="#impl-Into%3CU%3E-for-MSM%3C%27a%2C%20C%3E">Into<U></a></li><li><ahref="#impl-Pipe-for-MSM%3C%27a%2C%20C%3E">Pipe</a></li><li><ahref="#impl-Pointable-for-MSM%3C%27a%2C%20C%3E">Pointable</a></li><li><ahref="#impl-Tap-for-MSM%3C%27a%2C%20C%3E">Tap</a></li><li><ahref="#impl-ToOwned-for-MSM%3C%27a%2C%20C%3E">ToOwned</a></li><li><ahref="#impl-TryConv-for-MSM%3C%27a%2C%20C%3E">TryConv</a></li><li><ahref="#impl-TryFrom%3CU%3E-for-MSM%3C%27a%2C%20C%3E">TryFrom<U></a></li><li><ahref="#impl-TryInto%3CU%3E-for-MSM%3C%27a%2C%20C%3E">TryInto<U></a></li><li><ahref="#impl-VZip%3CV%3E-for-MSM%3C%27a%2C%20C%3E">VZip<V></a></li><li><ahref="#impl-WithSubscriber-for-MSM%3C%27a%2C%20C%3E">WithSubscriber</a></li></ul></div></section><h2class="location"><ahref="index.html">In halo2_proofs::poly::commitment</a></h2></div></nav><main><divclass="width-limiter"><divclass="sub-container"><aclass="sub-logo-container"href="../../../halo2_proofs/index.html"><imgclass="rust-logo"src="../../../rust-logo.svg"alt="logo"></a><navclass="sub"><formclass="search-form"><divclass="search-container"><span></span><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"><divid="help-button"title="help"tabindex="-1"><buttontype="button">?</button></div><divid="settings-menu"tabinde
</div></details><h2id="implementations"class="small-section-header">Implementations<ahref="#implementations"class="anchor"></a></h2><divid="implementations-list"><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-MSM%3C%27a%2C%20C%3E"class="impl has-srclink"><aclass="srclink rightside"href="../../../src/halo2_proofs/poly/commitment/msm.rs.html#19-171">source</a><ahref="#impl-MSM%3C%27a%2C%20C%3E"class="anchor"></a><h3class="code-header in-band">impl<'a, C: <aclass="trait"href="../../arithmetic/trait.CurveAffine.html"title="trait halo2_proofs::arithmetic::CurveAffine">CurveAffine</a>><aclass="struct"href="struct.MSM.html"title="struct halo2_proofs::poly::commitment::MSM">MSM</a><'a, C></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.new"class="method has-srclink"><aclass="srclink rightside"href="../../../src/halo2_proofs/poly/commitment/msm.rs.html#21-34">source</a><h4class="code-header">pub fn <ahref="#method.new"class="fnname">new</a>(params: &'a <aclass="struct"href="struct.Params.html"title="struct halo2_proofs::poly::commitment::Params">Params</a><C>) -> Self</h4></section></summary><divclass="docblock"><p>Create a new, empty MSM using the provided parameters.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.add_msm"class="method has-srclink"><aclass="srclink rightside"href="../../../src/halo2_proofs/poly/commitment/msm.rs.html#37-63">source</a><h4class="code-header">pub fn <ahref="#method.add_msm"class="fnname">add_msm</a>(&mut self, other: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Self)</h4></section></summary><divclass="docblock"><p>Add another multiexp into this one</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.append_term"class="method has-srclink"><aclass="srclink rightside"href="../../../src/halo2_proofs/poly/commitment/msm.rs.html#66-84">source</a><h4class="code-header">pub fn <ahref="#method.append_term"class="fnname">append_term</a>(&mut self, scalar: C::Scalar, point: C)</h4></section></summary><divclass="docblock"><p>Add arbitrary term (the scalar and the point)</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.add_constant_term"class="method has-srclink"><aclass="srclink rightside"href="../../../src/halo2_proofs/poly/commitment/msm.rs.html#87-95">source</a><h4class="code-header">pub fn <ahref="#method.add_constant_term"class="fnname">add_constant_term</a>(&mut self, constant: C::Scalar)</h4></section></summary><divclass="docblock"><p>Add a value to the first entry of <code>g_scalars</code>.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.add_to_g_scalars"class="method has-srclink"><aclass="srclink rightside"href="../../../src/halo2_proofs/poly/commitment/msm.rs.html#99-108">source</a><h4class="code-header">pub fn <ahref="#method.add_to_g_scalars"class="fnname">add_to_g_scalars</a>(&mut self, scalars: &[C::Scalar])</h4></section></summary><divclass="docblock"><p>Add a vector of scalars to <code>g_scalars</code>. This function will panic if the
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.scale"class="method has-srclink"><aclass="srclink rightside"href="../../../src/halo2_proofs/poly/commitment/msm.rs.html#121-134">source</a><h4class="code-header">pub fn <ahref="#method.scale"class="fnname">scale</a>(&mut self, factor: C::Scalar)</h4></section></summary><divclass="docblock"><p>Scale all scalars in the MSM by some scaling factor</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.eval"class="method has-srclink"><aclass="srclink rightside"href="../../../src/halo2_proofs/poly/commitment/msm.rs.html#137-170">source</a><h4class="code-header">pub fn <ahref="#method.eval"class="fnname">eval</a>(self) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><divclass="docblock"><p>Perform multiexp and check that it results in zero</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.fmt_display"class="method trait-impl has-srclink"><ahref="#method.fmt_display"class="anchor"></a><h4class="code-header">fn <aclass="fnname">fmt_display</a>(self) -> FmtDisplay<Self><spanclass="where fmt-newline">where<br> Self: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html"title="trait core::fmt::Display">Display</a>, </span></h4></section></summary><divclass='docblock'><p>Causes <code>self</code> to use its <code>Display</code> implementation when
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.fmt_lower_exp"class="method trait-impl has-srclink"><ahref="#method.fmt_lower_exp"class="anchor"></a><h4class="code-header">fn <aclass="fnname">fmt_lower_exp</a>(self) -> FmtLowerExp<Self><spanclass="where fmt-newline">where<br> Self: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/fmt/trait.LowerExp.html"title="trait core::fmt::LowerExp">LowerExp</a>, </span></h4></section></summary><divclass='docblock'><p>Causes <code>self</code> to use its <code>LowerExp</code> implementation when
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.fmt_lower_hex"class="method trait-impl has-srclink"><ahref="#method.fmt_lower_hex"class="anchor"></a><h4class="code-header">fn <aclass="fnname">fmt_lower_hex</a>(self) -> FmtLowerHex<Self><spanclass="where fmt-newline">where<br> Self: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/fmt/trait.LowerHex.html"title="trait core::fmt::LowerHex">LowerHex</a>, </span></h4></section></summary><divclass='docblock'><p>Causes <code>self</code> to use its <code>LowerHex</code> implementation when
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.fmt_octal"class="method trait-impl has-srclink"><ahref="#method.fmt_octal"class="anchor"></a><h4class="code-header">fn <aclass="fnname">fmt_octal</a>(self) -> FmtOctal<Self><spanclass="where fmt-newline">where<br> Self: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/fmt/trait.Octal.html"title="trait core::fmt::Octal">Octal</a>, </span></h4></section></summary><divclass='docblock'><p>Causes <code>self</code> to use its <code>Octal</code> implementation when <code>Debug</code>-formatted. <a>Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.fmt_pointer"class="method trait-impl has-srclink"><ahref="#method.fmt_pointer"class="anchor"></a><h4class="code-header">fn <aclass="fnname">fmt_pointer</a>(self) -> FmtPointer<Self><spanclass="where fmt-newline">where<br> Self: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/fmt/trait.Pointer.html"title="trait core::fmt::Pointer">Pointer</a>, </span></h4></section></summary><divclass='docblock'><p>Causes <code>self</code> to use its <code>Pointer</code> implementation when
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.fmt_upper_exp"class="method trait-impl has-srclink"><ahref="#method.fmt_upper_exp"class="anchor"></a><h4class="code-header">fn <aclass="fnname">fmt_upper_exp</a>(self) -> FmtUpperExp<Self><spanclass="where fmt-newline">where<br> Self: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/fmt/trait.UpperExp.html"title="trait core::fmt::UpperExp">UpperExp</a>, </span></h4></section></summary><divclass='docblock'><p>Causes <code>self</code> to use its <code>UpperExp</code> implementation when
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.fmt_upper_hex"class="method trait-impl has-srclink"><ahref="#method.fmt_upper_hex"class="anchor"></a><h4class="code-header">fn <aclass="fnname">fmt_upper_hex</a>(self) -> FmtUpperHex<Self><spanclass="where fmt-newline">where<br> Self: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/fmt/trait.UpperHex.html"title="trait core::fmt::UpperHex">UpperHex</a>, </span></h4></section></summary><divclass='docblock'><p>Causes <code>self</code> to use its <code>UpperHex</code> implementation when
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-From%3CT%3E-for-MSM%3C%27a%2C%20C%3E"class="impl has-srclink"><aclass="srclink rightside"href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#559">source</a><ahref="#impl-From%3CT%3E-for-MSM%3C%27a%2C%20C%3E"class="anchor"></a><h3class="code-header in-band">impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/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/nightly/src/core/convert/mod.rs.html#561">source</a></span><ahref="#method.from"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/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-MSM%3C%27a%2C%20C%3E"class="impl has-srclink"><aclass="srclink rightside"href="https://docs.rs/tracing/0.1.36/src/tracing/instrument.rs.html#276">source</a><ahref="#impl-Instrument-for-MSM%3C%27a%2C%20C%3E"class="anchor"></a><h3class="code-header in-band">impl<T><aclass="trait"href="https://docs.rs/tracing/0.1.36/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"><aclass="srclink rightside"href="https://docs.rs/tracing/0.1.36/src/tracing/instrument.rs.html#82">source</a><ahref="#method.instrument"class="anchor"></a><h4class="code-header">fn <ahref="https://docs.rs/tracing/0.1.36/tracing/instrument/trait.Instrument.html#method.instrument"class="fnname">instrument</a>(self, span: <aclass="struct"href="https://docs.rs/tracing/0.1.36/tracing/span/struct.Span.html"title="struct tracing::span::Span">Span</a>) -><aclass="struct"href="https://docs.rs/tracing/0.1.36/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.36/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"><aclass="srclink rightside"href="https://docs.rs/tracing/0.1.36/src/tracing/instrument.rs.html#121">source</a><ahref="#method.in_current_span"class="anchor"></a><h4class="code-header">fn <ahref="https://docs.rs/tracing/0.1.36/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.36/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.36/tracing/span/struct.Span.html#method.current">current</a><ahref="https://docs.rs/tracing/0.1.36/tracing/span/struct.Span.html"><code>Span</code></a>, returning an
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-Pipe-for-MSM%3C%27a%2C%20C%3E"class="impl has-srclink"><ahref="#impl-Pipe-for-MSM%3C%27a%2C%20C%3E"class="anchor"></a><h3class="code-header in-band">impl<T> Pipe for T <spanclass="where fmt-newline">where<br> T: ?<aclass="trait"href="https://doc.rust-lang.org/nightly/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.pipe"class="method trait-impl has-srclink"><ahref="#method.pipe"class="anchor"></a><h4class="code-header">fn <aclass="fnname">pipe</a><R>(self, func: impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html"title="trait core::ops::function::FnOnce">FnOnce</a>(Self) -> R) -> R</h4></section></summary><divclass='docblock'><p>Pipes by value. This is generally the method you want to use. <a>Read more</a></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/nightly/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"class="method trait-impl has-srclink"><ahref="#method.deref"class="anchor"></a><h4class="code-header">unsafe fn <aclass="fnname">deref</a><'a>(ptr: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/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/nightly/std/primitive.usize.html">usize</a>) -><aclass="primitive"href="https://doc.rust-lang.org/nightly/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/nightly/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-Tap-for-MSM%3C%27a%2C%20C%3E"class="impl has-srclink"><ahref="#impl-Tap-for-MSM%3C%27a%2C%20C%3E"class="anchor"></a><h3class="code-header in-band">impl<T> Tap for T</h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.tap"class="method trait-impl has-srclink"><ahref="#method.tap"class="anchor"></a><h4class="code-header">fn <aclass="fnname">tap</a>(self, func: impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html"title="trait core::ops::function::FnOnce">FnOnce</a>(<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Self)) -> Self</h4></section></summary><divclass='docblock'><p>Immutable access to a value. <a>Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.tap_mut"class="method trait-impl has-srclink"><ahref="#method.tap_mut"class="anchor"></a><h4class="code-header">fn <aclass="fnname">tap_mut</a>(self, func: impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html"title="trait core::ops::function::FnOnce">FnOnce</a>(<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>Self)) -> Self</h4></section></summary><divclass='docblock'><p>Mutable access to a value. <a>Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.tap_borrow"class="method trait-impl has-srclink"><ahref="#method.tap_borrow"class="anchor"></a><h4class="code-header">fn <aclass="fnname">tap_borrow</a><B>(self, func: impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html"title="trait core::ops::function::FnOnce">FnOnce</a>(<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>B)) -> Self <spanclass="where fmt-newline">where<br> Self: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html"title="trait core::borrow::Borrow">Borrow</a><B>,<br> B: ?<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>, </span></h4></section></summary><divclass='docblock'><p>Immutable access to the <code>Borrow<B></code> of a value. <a>Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.tap_borrow_mut"class="method trait-impl has-srclink"><ahref="#method.tap_borrow_mut"class="anchor"></a><h4class="code-header">fn <aclass="fnname">tap_borrow_mut</a><B>(self, func: impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html"title="trait core::ops::function::FnOnce">FnOnce</a>(<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>B)) -> Self <spanclass="where fmt-newline">where<br> Self: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html"title="trait core::borrow::BorrowMut">BorrowMut</a><B>,<br> B: ?<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>, </span></h4></section></summary><divclass='docblock'><p>Mutable access to the <code>BorrowMut<B></code> of a value. <a>Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.tap_ref"class="method trait-impl has-srclink"><ahref="#method.tap_ref"class="anchor"></a><h4class="code-header">fn <aclass="fnname">tap_ref</a><R>(self, func: impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html"title="trait core::ops::function::FnOnce">FnOnce</a>(<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>R)) -> Self <spanclass="where fmt-newline">where<br> Self: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html"title="trait core::convert::AsRef">AsRef</a><R>,<br> R: ?<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>, </span></h4></section></summary><divclass='docblock'><p>Immutable access to the <code>AsRef<R></code> view of a value. <a>Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.tap_ref_mut"class="method trait-impl has-srclink"><ahref="#method.tap_ref_mut"class="anchor"></a><h4class="code-header">fn <aclass="fnname">tap_ref_mut</a><R>(self, func: impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html"title="trait core::ops::function::FnOnce">FnOnce</a>(<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R)) -> Self <spanclass="where fmt-newline">where<br> Self: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.AsMut.html"title="trait core::convert::AsMut">AsMut</a><R>,<br> R: ?<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>, </span></h4></section></summary><divclass='docblock'><p>Mutable access to the <code>AsMut<R></code> view of a value. <a>Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.tap_deref"class="method trait-impl has-srclink"><ahref="#method.tap_deref"class="anchor"></a><h4class="code-header">fn <aclass="fnname">tap_deref</a><T>(self, func: impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html"title="trait core::ops::function::FnOnce">FnOnce</a>(<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>T)) -> Self <spanclass="where fmt-newline">where<br> Self: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html"title="trait core::ops::deref::Deref">Deref</a><Target = T>,<br> T: ?<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>, </span></h4></section></summary><divclass='docblock'><p>Immutable access to the <code>Deref::Target</code> of a value. <a>Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.tap_deref_mut"class="method trait-impl has-srclink"><ahref="#method.tap_deref_mut"class="anchor"></a><h4class="code-header">fn <aclass="fnname">tap_deref_mut</a><T>(self, func: impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html"title="trait core::ops::function::FnOnce">FnOnce</a>(<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>T)) -> Self <spanclass="where fmt-newline">where<br> Self: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.DerefMut.html"title="trait core::ops::deref::DerefMut">DerefMut</a><Target = T> + <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html"title="trait core::ops::deref::Deref">Deref</a>,<br> T: ?<aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>, </span></h4></section></summary><divclass='docblock'><p>Mutable access to the <code>Deref::Target</code> of a value. <a>Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.tap_dbg"class="method trait-impl has-srclink"><ahref="#method.tap_dbg"class="anchor"></a><h4class="code-header">fn <aclass="fnname">tap_dbg</a>(self, func: impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html"title="trait core::ops::function::FnOnce">FnOnce</a>(<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Self)) -> Self</h4></section></summary><divclass='docblock'><p>Calls <code>.tap()</code> only in debug builds, and is erased in release builds.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.tap_mut_dbg"class="method trait-impl has-srclink"><ahref="#method.tap_mut_dbg"class="anchor"></a><h4class="code-header">fn <aclass="fnname">tap_mut_dbg</a>(self, func: impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html"title="trait core::ops::function::FnOnce">FnOnce</a>(<aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>Self)) -> Self</h4></section></summary><divclass='docblock'><p>Calls <code>.tap_mut()</code> only in debug builds, and is erased in release
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-ToOwned-for-MSM%3C%27a%2C%20C%3E"class="impl has-srclink"><aclass="srclink rightside"href="https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#83">source</a><ahref="#impl-ToOwned-for-MSM%3C%27a%2C%20C%3E"class="anchor"></a><h3class="code-header in-band">impl<T><aclass="trait"href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html"title="trait alloc::borrow::ToOwned">ToOwned</a> for T <spanclass="where fmt-newline">where<br> T: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html"title="trait core::clone::Clone">Clone</a>, </span></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle"open><summary><sectionid="associatedtype.Owned"class="associatedtype trait-impl has-srclink"><ahref="#associatedtype.Owned"class="anchor"></a><h4class="code-header">type <ahref="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned"class="associatedtype">Owned</a> = T</h4></section></summary><divclass='docblock'><p>The resulting type after obtaining ownership.</p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.to_owned"class="method trait-impl has-srclink"><aclass="srclink rightside"href="https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#88">source</a><ahref="#method.to_owned"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned"class="fnname">to_owned</a>(&self) -> T</h4></section></summary><divclass='docblock'><p>Creates owned data from borrowed data, usually by cloning. <ahref="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></p>
</div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.clone_into"class="method trait-impl has-srclink"><aclass="srclink rightside"href="https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#92">source</a><ahref="#method.clone_into"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into"class="fnname">clone_into</a>(&self, target: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>T)</h4></section></summary><divclass='docblock'><p>Uses borrowed data to replace owned data, usually by cloning. <ahref="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-TryFrom%3CU%3E-for-MSM%3C%27a%2C%20C%3E"class="impl has-srclink"><aclass="srclink rightside"href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#600">source</a><ahref="#impl-TryFrom%3CU%3E-for-MSM%3C%27a%2C%20C%3E"class="anchor"></a><h3class="code-header in-band">impl<T, U><aclass="trait"href="https://doc.rust-lang.org/nightly/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/nightly/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/nightly/core/convert/trait.TryFrom.html#associatedtype.Error"class="associatedtype">Error</a> = <aclass="enum"href="https://doc.rust-lang.org/nightly/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></div></details><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-TryInto%3CU%3E-for-MSM%3C%27a%2C%20C%3E"class="impl has-srclink"><aclass="srclink rightside"href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#585">source</a><ahref="#impl-TryInto%3CU%3E-for-MSM%3C%27a%2C%20C%3E"class="anchor"></a><h3class="code-header in-band">impl<T, U><aclass="trait"href="https://doc.rust-lang.org/nightly/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/nightly/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/nightly/core/convert/trait.TryInto.html#associatedtype.Error"class="associatedtype">Error</a> = <U as <aclass="trait"href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>>::<aclass="associatedtype"href="https://doc.rust-lang.org/nightly/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.with_current_subscriber"class="method trait-impl has-srclink"><aclass="srclink rightside"href="https://docs.rs/tracing/0.1.36/src/tracing/instrument.rs.html#221">source</a><ahref="#method.with_current_subscriber"class="anchor"></a><h4class="code-header">fn <ahref="https://docs.rs/tracing/0.1.36/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.36/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.36/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