mirror of https://github.com/zcash/halo2.git
158 lines
127 KiB
HTML
158 lines
127 KiB
HTML
<!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="An [`EccInstructions`] chip that uses 10 advice columns."><meta name="keywords" content="rust, rustlang, rust-lang, EccChip"><title>EccChip in halo2_gadgets::ecc::chip - 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" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled><link rel="stylesheet" type="text/css" 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"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.10.0/dist/katex.min.css" integrity="sha384-9eLZqc9ds8eNjO3TmqPeYcDj8n+Qfa4nuSiGYa6DjLNcv9BtN69ZIulL9+8CqC9Y" crossorigin="anonymous">
|
||
<script src="https://cdn.jsdelivr.net/npm/katex@0.10.0/dist/katex.min.js" integrity="sha384-K3vbOmF2BtaVai+Qk37uypf7VrgBubhQreNQe9aGsz9lB63dIFiQVlJbr92dw2Lx" crossorigin="anonymous"></script>
|
||
<script src="https://cdn.jsdelivr.net/npm/katex@0.10.0/dist/contrib/auto-render.min.js" integrity="sha384-kmZOZB5ObwgQnS/DuDg6TScgOiWWBiVt0plIRkZCmE6rDZGrEOQeHM5PcHi+nyqe" crossorigin="anonymous"></script>
|
||
<script>
|
||
document.addEventListener("DOMContentLoaded", function() {
|
||
renderMathInElement(document.body, {
|
||
delimiters: [
|
||
{left: "$$", right: "$$", display: true},
|
||
{left: "\\(", right: "\\)", display: false},
|
||
{left: "$", right: "$", display: false},
|
||
{left: "\\[", right: "\\]", display: true}
|
||
]
|
||
});
|
||
});
|
||
</script>
|
||
</head><body class="rustdoc struct"><!--[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="../../../halo2_gadgets/index.html"><div class="logo-container"><img class="rust-logo" src="../../../rust-logo.svg" alt="logo"></div>
|
||
</a><h2 class="location"></h2>
|
||
</nav>
|
||
<nav class="sidebar"><a class="sidebar-logo" href="../../../halo2_gadgets/index.html"><div class="logo-container"><img class="rust-logo" src="../../../rust-logo.svg" alt="logo"></div>
|
||
</a><h2 class="location"><a href="#">EccChip</a></h2><div class="sidebar-elems"><section><div class="block"><h3 class="sidebar-title"><a href="#implementations">Methods</a></h3><ul><li><a href="#method.configure">configure</a></li><li><a href="#method.construct">construct</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#trait-implementations">Trait Implementations</a></h3><ul><li><a href="#impl-BaseFitsInScalarInstructions%3CEpAffine%3E">BaseFitsInScalarInstructions<EpAffine></a></li><li><a href="#impl-Chip%3CFp%3E">Chip<Fp></a></li><li><a href="#impl-Clone">Clone</a></li><li><a href="#impl-Debug">Debug</a></li><li><a href="#impl-EccInstructions%3CEpAffine%3E">EccInstructions<EpAffine></a></li><li><a href="#impl-Eq">Eq</a></li><li><a href="#impl-PartialEq%3CEccChip%3CFixedPoints%3E%3E">PartialEq<EccChip<FixedPoints>></a></li><li><a href="#impl-StructuralEq">StructuralEq</a></li><li><a href="#impl-StructuralPartialEq">StructuralPartialEq</a></li><li><a href="#impl-UtilitiesInstructions%3CFp%3E">UtilitiesInstructions<Fp></a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul><li><a href="#impl-RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Send">Send</a></li><li><a href="#impl-Sync">Sync</a></li><li><a href="#impl-Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe">UnwindSafe</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#blanket-implementations">Blanket Implementations</a></h3><ul><li><a href="#impl-Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E">Borrow<T></a></li><li><a href="#impl-BorrowMut%3CT%3E">BorrowMut<T></a></li><li><a href="#impl-Conv">Conv</a></li><li><a href="#impl-FmtForward">FmtForward</a></li><li><a href="#impl-From%3CT%3E">From<T></a></li><li><a href="#impl-Instrument">Instrument</a></li><li><a href="#impl-Into%3CU%3E">Into<U></a></li><li><a href="#impl-Pipe">Pipe</a></li><li><a href="#impl-Pointable">Pointable</a></li><li><a href="#impl-Tap">Tap</a></li><li><a href="#impl-ToOwned">ToOwned</a></li><li><a href="#impl-TryConv">TryConv</a></li><li><a href="#impl-TryFrom%3CU%3E">TryFrom<U></a></li><li><a href="#impl-TryInto%3CU%3E">TryInto<U></a></li><li><a href="#impl-VZip%3CV%3E">VZip<V></a></li><li><a href="#impl-WithSubscriber">WithSubscriber</a></li></ul></div></section><h2 class="location"><a href="index.html">In halo2_gadgets::ecc::chip</a></h2></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../../../halo2_gadgets/index.html"><img class="rust-logo" src="../../../rust-logo.svg" alt="logo"></a><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"><button type="button" id="help-button" title="help">?</button><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></div><section id="main-content" class="content"><div class="main-heading">
|
||
<h1 class="fqn"><span class="in-band">Struct <a href="../../index.html">halo2_gadgets</a>::<wbr><a href="../index.html">ecc</a>::<wbr><a href="index.html">chip</a>::<wbr><a class="struct" href="#">EccChip</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></span></h1><span class="out-of-band"><a class="srclink" href="../../../src/halo2_gadgets/ecc/chip.rs.html#231-233">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span></div><div class="docblock item-decl"><pre class="rust struct"><code>pub struct EccChip<FixedPoints: <a class="trait" href="../trait.FixedPoints.html" title="trait halo2_gadgets::ecc::FixedPoints">FixedPoints</a><Affine>> { /* private fields */ }</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>An <a href="../trait.EccInstructions.html" title="EccInstructions"><code>EccInstructions</code></a> chip that uses 10 advice columns.</p>
|
||
</div></details><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor"></a></h2><div id="implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/halo2_gadgets/ecc/chip.rs.html#254-324">source</a></span><a href="#impl" class="anchor"></a><h3 class="code-header in-band">impl<FixedPoints: <a class="trait" href="../trait.FixedPoints.html" title="trait halo2_gadgets::ecc::FixedPoints">FixedPoints</a><Affine>> <a class="struct" href="struct.EccChip.html" title="struct halo2_gadgets::ecc::chip::EccChip">EccChip</a><FixedPoints></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.construct" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../src/halo2_gadgets/ecc/chip.rs.html#256-258">source</a></span><a href="#method.construct" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.construct" class="fnname">construct</a>(config: <Self as <a class="trait" href="../../../halo2_proofs/circuit/trait.Chip.html" title="trait halo2_proofs::circuit::Chip">Chip</a><Base>>::<a class="associatedtype" href="../../../halo2_proofs/circuit/trait.Chip.html#associatedtype.Config" title="type halo2_proofs::circuit::Chip::Config">Config</a>) -> Self</h4></section></summary><div class="docblock"><p>Reconstructs this chip from the given config.</p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.configure" class="method has-srclink"><span class="rightside"><a class="srclink" href="../../../src/halo2_gadgets/ecc/chip.rs.html#264-323">source</a></span><a href="#method.configure" class="anchor"></a><h4 class="code-header">pub fn <a href="#method.configure" class="fnname">configure</a>(<br> meta: &mut <a class="struct" href="../../../halo2_proofs/plonk/circuit/struct.ConstraintSystem.html" title="struct halo2_proofs::plonk::circuit::ConstraintSystem">ConstraintSystem</a><Base>, <br> advices: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="struct" href="../../../halo2_proofs/plonk/circuit/struct.Column.html" title="struct halo2_proofs::plonk::circuit::Column">Column</a><<a class="struct" href="../../../halo2_proofs/plonk/circuit/struct.Advice.html" title="struct halo2_proofs::plonk::circuit::Advice">Advice</a>><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 10]</a>, <br> lagrange_coeffs: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">[</a><a class="struct" href="../../../halo2_proofs/plonk/circuit/struct.Column.html" title="struct halo2_proofs::plonk::circuit::Column">Column</a><<a class="struct" href="../../../halo2_proofs/plonk/circuit/struct.Fixed.html" title="struct halo2_proofs::plonk::circuit::Fixed">Fixed</a>><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.array.html">; 8]</a>, <br> range_check: <a class="struct" href="../../utilities/lookup_range_check/struct.LookupRangeCheckConfig.html" title="struct halo2_gadgets::utilities::lookup_range_check::LookupRangeCheckConfig">LookupRangeCheckConfig</a><Base, { sinsemilla::K }><br>) -> <Self as <a class="trait" href="../../../halo2_proofs/circuit/trait.Chip.html" title="trait halo2_proofs::circuit::Chip">Chip</a><Base>>::<a class="associatedtype" href="../../../halo2_proofs/circuit/trait.Chip.html#associatedtype.Config" title="type halo2_proofs::circuit::Chip::Config">Config</a></h4></section></summary><div class="docblock"><h5 id="side-effects"><a href="#side-effects">Side effects</a></h5>
|
||
<p>All columns in <code>advices</code> will be equality-enabled.</p>
|
||
</div></details></div></details></div><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor"></a></h2><div id="trait-implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-BaseFitsInScalarInstructions%3CEpAffine%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/halo2_gadgets/ecc/chip.rs.html#597-614">source</a></span><a href="#impl-BaseFitsInScalarInstructions%3CEpAffine%3E" class="anchor"></a><h3 class="code-header in-band">impl<Fixed: <a class="trait" href="../trait.FixedPoints.html" title="trait halo2_gadgets::ecc::FixedPoints">FixedPoints</a><Affine>> <a class="trait" href="../trait.BaseFitsInScalarInstructions.html" title="trait halo2_gadgets::ecc::BaseFitsInScalarInstructions">BaseFitsInScalarInstructions</a><EpAffine> for <a class="struct" href="struct.EccChip.html" title="struct halo2_gadgets::ecc::chip::EccChip">EccChip</a><Fixed> <span class="where fmt-newline">where<br> <Fixed as <a class="trait" href="../trait.FixedPoints.html" title="trait halo2_gadgets::ecc::FixedPoints">FixedPoints</a><Affine>>::<a class="associatedtype" href="../trait.FixedPoints.html#associatedtype.Base" title="type halo2_gadgets::ecc::FixedPoints::Base">Base</a>: <a class="trait" href="trait.FixedPoint.html" title="trait halo2_gadgets::ecc::chip::FixedPoint">FixedPoint</a><Affine, FixedScalarKind = <a class="enum" href="enum.BaseFieldElem.html" title="enum halo2_gadgets::ecc::chip::BaseFieldElem">BaseFieldElem</a>>,<br> <Fixed as <a class="trait" href="../trait.FixedPoints.html" title="trait halo2_gadgets::ecc::FixedPoints">FixedPoints</a><Affine>>::<a class="associatedtype" href="../trait.FixedPoints.html#associatedtype.FullScalar" title="type halo2_gadgets::ecc::FixedPoints::FullScalar">FullScalar</a>: <a class="trait" href="trait.FixedPoint.html" title="trait halo2_gadgets::ecc::chip::FixedPoint">FixedPoint</a><Affine, FixedScalarKind = <a class="enum" href="enum.FullScalar.html" title="enum halo2_gadgets::ecc::chip::FullScalar">FullScalar</a>>,<br> <Fixed as <a class="trait" href="../trait.FixedPoints.html" title="trait halo2_gadgets::ecc::FixedPoints">FixedPoints</a><Affine>>::<a class="associatedtype" href="../trait.FixedPoints.html#associatedtype.ShortScalar" title="type halo2_gadgets::ecc::FixedPoints::ShortScalar">ShortScalar</a>: <a class="trait" href="trait.FixedPoint.html" title="trait halo2_gadgets::ecc::chip::FixedPoint">FixedPoint</a><Affine, FixedScalarKind = <a class="enum" href="enum.ShortScalar.html" title="enum halo2_gadgets::ecc::chip::ShortScalar">ShortScalar</a>>, </span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.scalar_var_from_base" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/halo2_gadgets/ecc/chip.rs.html#607-613">source</a></span><a href="#method.scalar_var_from_base" class="anchor"></a><h4 class="code-header">fn <a href="../trait.BaseFitsInScalarInstructions.html#tymethod.scalar_var_from_base" class="fnname">scalar_var_from_base</a>(<br> &self, <br> _layouter: &mut impl <a class="trait" href="../../../halo2_proofs/circuit/trait.Layouter.html" title="trait halo2_proofs::circuit::Layouter">Layouter</a><Base>, <br> base: &Self::<a class="associatedtype" href="../../utilities/trait.UtilitiesInstructions.html#associatedtype.Var" title="type halo2_gadgets::utilities::UtilitiesInstructions::Var">Var</a><br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self::<a class="associatedtype" href="../trait.EccInstructions.html#associatedtype.ScalarVar" title="type halo2_gadgets::ecc::EccInstructions::ScalarVar">ScalarVar</a>, <a class="enum" href="../../../halo2_proofs/plonk/error/enum.Error.html" title="enum halo2_proofs::plonk::error::Error">Error</a>></h4></section></summary><div class='docblock'><p>Converts a base field element that exists as a variable in the circuit
|
||
into a scalar to be used in variable-base scalar multiplication. <a href="../trait.BaseFitsInScalarInstructions.html#tymethod.scalar_var_from_base">Read more</a></p>
|
||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Chip%3CFp%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/halo2_gadgets/ecc/chip.rs.html#235-246">source</a></span><a href="#impl-Chip%3CFp%3E" class="anchor"></a><h3 class="code-header in-band">impl<FixedPoints: <a class="trait" href="../trait.FixedPoints.html" title="trait halo2_gadgets::ecc::FixedPoints">FixedPoints</a><Affine>> <a class="trait" href="../../../halo2_proofs/circuit/trait.Chip.html" title="trait halo2_proofs::circuit::Chip">Chip</a><Fp> for <a class="struct" href="struct.EccChip.html" title="struct halo2_gadgets::ecc::chip::EccChip">EccChip</a><FixedPoints></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Config" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Config" class="anchor"></a><h4 class="code-header">type <a href="../../../halo2_proofs/circuit/trait.Chip.html#associatedtype.Config" class="associatedtype">Config</a> = <a class="struct" href="struct.EccConfig.html" title="struct halo2_gadgets::ecc::chip::EccConfig">EccConfig</a><FixedPoints></h4></section></summary><div class='docblock'><p>A type that holds the configuration for this chip, and any other state it may need
|
||
during circuit synthesis, that can be derived during <a href="../../../halo2_proofs/plonk/circuit/trait.Circuit.html#tymethod.configure"><code>Circuit::configure</code></a>. <a href="../../../halo2_proofs/circuit/trait.Chip.html#associatedtype.Config">Read more</a></p>
|
||
</div></details><details class="rustdoc-toggle" open><summary><section id="associatedtype.Loaded" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Loaded" class="anchor"></a><h4 class="code-header">type <a href="../../../halo2_proofs/circuit/trait.Chip.html#associatedtype.Loaded" class="associatedtype">Loaded</a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a></h4></section></summary><div class='docblock'><p>A type that holds any general chip state that needs to be loaded at the start of
|
||
<a href="../../../halo2_proofs/plonk/circuit/trait.Circuit.html#tymethod.synthesize"><code>Circuit::synthesize</code></a>. This might simply be <code>()</code> for some chips. <a href="../../../halo2_proofs/circuit/trait.Chip.html#associatedtype.Loaded">Read more</a></p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.config" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/halo2_gadgets/ecc/chip.rs.html#239-241">source</a></span><a href="#method.config" class="anchor"></a><h4 class="code-header">fn <a href="../../../halo2_proofs/circuit/trait.Chip.html#tymethod.config" class="fnname">config</a>(&self) -> &Self::<a class="associatedtype" href="../../../halo2_proofs/circuit/trait.Chip.html#associatedtype.Config" title="type halo2_proofs::circuit::Chip::Config">Config</a></h4></section></summary><div class='docblock'><p>The chip holds its own configuration.</p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.loaded" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/halo2_gadgets/ecc/chip.rs.html#243-245">source</a></span><a href="#method.loaded" class="anchor"></a><h4 class="code-header">fn <a href="../../../halo2_proofs/circuit/trait.Chip.html#tymethod.loaded" class="fnname">loaded</a>(&self) -> &Self::<a class="associatedtype" href="../../../halo2_proofs/circuit/trait.Chip.html#associatedtype.Loaded" title="type halo2_proofs::circuit::Chip::Loaded">Loaded</a></h4></section></summary><div class='docblock'><p>Provides access to general chip state loaded at the beginning of circuit
|
||
synthesis. <a href="../../../halo2_proofs/circuit/trait.Chip.html#tymethod.loaded">Read more</a></p>
|
||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Clone" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/halo2_gadgets/ecc/chip.rs.html#230">source</a></span><a href="#impl-Clone" class="anchor"></a><h3 class="code-header in-band">impl<FixedPoints: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="../trait.FixedPoints.html" title="trait halo2_gadgets::ecc::FixedPoints">FixedPoints</a><Affine>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="struct.EccChip.html" title="struct halo2_gadgets::ecc::chip::EccChip">EccChip</a><FixedPoints></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/halo2_gadgets/ecc/chip.rs.html#230">source</a></span><a href="#method.clone" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone" class="fnname">clone</a>(&self) -> <a class="struct" href="struct.EccChip.html" title="struct halo2_gadgets::ecc::chip::EccChip">EccChip</a><FixedPoints></h4></section></summary><div class='docblock'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.clone_from" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/clone.rs.html#133-135">source</a></span><a href="#method.clone_from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from" class="fnname">clone_from</a>(&mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Self)</h4></section></summary><div class='docblock'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
|
||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/halo2_gadgets/ecc/chip.rs.html#230">source</a></span><a href="#impl-Debug" class="anchor"></a><h3 class="code-header in-band">impl<FixedPoints: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> + <a class="trait" href="../trait.FixedPoints.html" title="trait halo2_gadgets::ecc::FixedPoints">FixedPoints</a><Affine>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.EccChip.html" title="struct halo2_gadgets::ecc::chip::EccChip">EccChip</a><FixedPoints></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/halo2_gadgets/ecc/chip.rs.html#230">source</a></span><a href="#method.fmt" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
|
||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-EccInstructions%3CEpAffine%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/halo2_gadgets/ecc/chip.rs.html#410-595">source</a></span><a href="#impl-EccInstructions%3CEpAffine%3E" class="anchor"></a><h3 class="code-header in-band">impl<Fixed: <a class="trait" href="../trait.FixedPoints.html" title="trait halo2_gadgets::ecc::FixedPoints">FixedPoints</a><Affine>> <a class="trait" href="../trait.EccInstructions.html" title="trait halo2_gadgets::ecc::EccInstructions">EccInstructions</a><EpAffine> for <a class="struct" href="struct.EccChip.html" title="struct halo2_gadgets::ecc::chip::EccChip">EccChip</a><Fixed> <span class="where fmt-newline">where<br> <Fixed as <a class="trait" href="../trait.FixedPoints.html" title="trait halo2_gadgets::ecc::FixedPoints">FixedPoints</a><Affine>>::<a class="associatedtype" href="../trait.FixedPoints.html#associatedtype.Base" title="type halo2_gadgets::ecc::FixedPoints::Base">Base</a>: <a class="trait" href="trait.FixedPoint.html" title="trait halo2_gadgets::ecc::chip::FixedPoint">FixedPoint</a><Affine, FixedScalarKind = <a class="enum" href="enum.BaseFieldElem.html" title="enum halo2_gadgets::ecc::chip::BaseFieldElem">BaseFieldElem</a>>,<br> <Fixed as <a class="trait" href="../trait.FixedPoints.html" title="trait halo2_gadgets::ecc::FixedPoints">FixedPoints</a><Affine>>::<a class="associatedtype" href="../trait.FixedPoints.html#associatedtype.FullScalar" title="type halo2_gadgets::ecc::FixedPoints::FullScalar">FullScalar</a>: <a class="trait" href="trait.FixedPoint.html" title="trait halo2_gadgets::ecc::chip::FixedPoint">FixedPoint</a><Affine, FixedScalarKind = <a class="enum" href="enum.FullScalar.html" title="enum halo2_gadgets::ecc::chip::FullScalar">FullScalar</a>>,<br> <Fixed as <a class="trait" href="../trait.FixedPoints.html" title="trait halo2_gadgets::ecc::FixedPoints">FixedPoints</a><Affine>>::<a class="associatedtype" href="../trait.FixedPoints.html#associatedtype.ShortScalar" title="type halo2_gadgets::ecc::FixedPoints::ShortScalar">ShortScalar</a>: <a class="trait" href="trait.FixedPoint.html" title="trait halo2_gadgets::ecc::chip::FixedPoint">FixedPoint</a><Affine, FixedScalarKind = <a class="enum" href="enum.ShortScalar.html" title="enum halo2_gadgets::ecc::chip::ShortScalar">ShortScalar</a>>, </span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.ScalarFixed" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.ScalarFixed" class="anchor"></a><h4 class="code-header">type <a href="../trait.EccInstructions.html#associatedtype.ScalarFixed" class="associatedtype">ScalarFixed</a> = <a class="struct" href="struct.EccScalarFixed.html" title="struct halo2_gadgets::ecc::chip::EccScalarFixed">EccScalarFixed</a></h4></section></summary><div class='docblock'><p>Variable representing a full-width element of the elliptic curve’s
|
||
scalar field, to be used for fixed-base scalar mul. <a href="../trait.EccInstructions.html#associatedtype.ScalarFixed">Read more</a></p>
|
||
</div></details><details class="rustdoc-toggle" open><summary><section id="associatedtype.ScalarFixedShort" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.ScalarFixedShort" class="anchor"></a><h4 class="code-header">type <a href="../trait.EccInstructions.html#associatedtype.ScalarFixedShort" class="associatedtype">ScalarFixedShort</a> = <a class="struct" href="struct.EccScalarFixedShort.html" title="struct halo2_gadgets::ecc::chip::EccScalarFixedShort">EccScalarFixedShort</a></h4></section></summary><div class='docblock'><p>Variable representing a signed short element of the elliptic curve’s
|
||
scalar field, to be used for fixed-base scalar mul. <a href="../trait.EccInstructions.html#associatedtype.ScalarFixedShort">Read more</a></p>
|
||
</div></details><details class="rustdoc-toggle" open><summary><section id="associatedtype.ScalarVar" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.ScalarVar" class="anchor"></a><h4 class="code-header">type <a href="../trait.EccInstructions.html#associatedtype.ScalarVar" class="associatedtype">ScalarVar</a> = <a class="enum" href="enum.ScalarVar.html" title="enum halo2_gadgets::ecc::chip::ScalarVar">ScalarVar</a></h4></section></summary><div class='docblock'><p>Variable representing a scalar used in variable-base scalar mul. <a href="../trait.EccInstructions.html#associatedtype.ScalarVar">Read more</a></p>
|
||
</div></details><details class="rustdoc-toggle" open><summary><section id="associatedtype.Point" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Point" class="anchor"></a><h4 class="code-header">type <a href="../trait.EccInstructions.html#associatedtype.Point" class="associatedtype">Point</a> = <a class="struct" href="struct.EccPoint.html" title="struct halo2_gadgets::ecc::chip::EccPoint">EccPoint</a></h4></section></summary><div class='docblock'><p>Variable representing an elliptic curve point.</p>
|
||
</div></details><details class="rustdoc-toggle" open><summary><section id="associatedtype.NonIdentityPoint" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.NonIdentityPoint" class="anchor"></a><h4 class="code-header">type <a href="../trait.EccInstructions.html#associatedtype.NonIdentityPoint" class="associatedtype">NonIdentityPoint</a> = <a class="struct" href="struct.NonIdentityEccPoint.html" title="struct halo2_gadgets::ecc::chip::NonIdentityEccPoint">NonIdentityEccPoint</a></h4></section></summary><div class='docblock'><p>Variable representing a non-identity elliptic curve point.</p>
|
||
</div></details><details class="rustdoc-toggle" open><summary><section id="associatedtype.X" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.X" class="anchor"></a><h4 class="code-header">type <a href="../trait.EccInstructions.html#associatedtype.X" class="associatedtype">X</a> = <a class="struct" href="../../../halo2_proofs/circuit/struct.AssignedCell.html" title="struct halo2_proofs::circuit::AssignedCell">AssignedCell</a><Fp, Fp></h4></section></summary><div class='docblock'><p>Variable representing the affine short Weierstrass x-coordinate of an
|
||
elliptic curve point. <a href="../trait.EccInstructions.html#associatedtype.X">Read more</a></p>
|
||
</div></details><details class="rustdoc-toggle" open><summary><section id="associatedtype.FixedPoints" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.FixedPoints" class="anchor"></a><h4 class="code-header">type <a href="../trait.EccInstructions.html#associatedtype.FixedPoints" class="associatedtype">FixedPoints</a> = Fixed</h4></section></summary><div class='docblock'><p>Enumeration of the set of fixed bases to be used in scalar mul.
|
||
TODO: When associated consts can be used as const generics, introduce
|
||
<code>Self::NUM_WINDOWS</code>, <code>Self::NUM_WINDOWS_BASE_FIELD</code>, <code>Self::NUM_WINDOWS_SHORT</code>
|
||
and use them to differentiate <code>FixedPoints</code> types. <a href="../trait.EccInstructions.html#associatedtype.FixedPoints">Read more</a></p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.constrain_equal" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/halo2_gadgets/ecc/chip.rs.html#427-442">source</a></span><a href="#method.constrain_equal" class="anchor"></a><h4 class="code-header">fn <a href="../trait.EccInstructions.html#tymethod.constrain_equal" class="fnname">constrain_equal</a>(<br> &self, <br> layouter: &mut impl <a class="trait" href="../../../halo2_proofs/circuit/trait.Layouter.html" title="trait halo2_proofs::circuit::Layouter">Layouter</a><Base>, <br> a: &Self::<a class="associatedtype" href="../trait.EccInstructions.html#associatedtype.Point" title="type halo2_gadgets::ecc::EccInstructions::Point">Point</a>, <br> b: &Self::<a class="associatedtype" href="../trait.EccInstructions.html#associatedtype.Point" title="type halo2_gadgets::ecc::EccInstructions::Point">Point</a><br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../../halo2_proofs/plonk/error/enum.Error.html" title="enum halo2_proofs::plonk::error::Error">Error</a>></h4></section></summary><div class='docblock'><p>Constrains point <code>a</code> to be equal in value to point <code>b</code>.</p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.witness_point" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/halo2_gadgets/ecc/chip.rs.html#444-454">source</a></span><a href="#method.witness_point" class="anchor"></a><h4 class="code-header">fn <a href="../trait.EccInstructions.html#tymethod.witness_point" class="fnname">witness_point</a>(<br> &self, <br> layouter: &mut impl <a class="trait" href="../../../halo2_proofs/circuit/trait.Layouter.html" title="trait halo2_proofs::circuit::Layouter">Layouter</a><Base>, <br> value: <a class="struct" href="../../../halo2_proofs/circuit/value/struct.Value.html" title="struct halo2_proofs::circuit::value::Value">Value</a><Affine><br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self::<a class="associatedtype" href="../trait.EccInstructions.html#associatedtype.Point" title="type halo2_gadgets::ecc::EccInstructions::Point">Point</a>, <a class="enum" href="../../../halo2_proofs/plonk/error/enum.Error.html" title="enum halo2_proofs::plonk::error::Error">Error</a>></h4></section></summary><div class='docblock'><p>Witnesses the given point as a private input to the circuit.
|
||
This allows the point to be the identity, mapped to (0, 0) in
|
||
affine coordinates. <a href="../trait.EccInstructions.html#tymethod.witness_point">Read more</a></p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.witness_point_non_id" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/halo2_gadgets/ecc/chip.rs.html#456-466">source</a></span><a href="#method.witness_point_non_id" class="anchor"></a><h4 class="code-header">fn <a href="../trait.EccInstructions.html#tymethod.witness_point_non_id" class="fnname">witness_point_non_id</a>(<br> &self, <br> layouter: &mut impl <a class="trait" href="../../../halo2_proofs/circuit/trait.Layouter.html" title="trait halo2_proofs::circuit::Layouter">Layouter</a><Base>, <br> value: <a class="struct" href="../../../halo2_proofs/circuit/value/struct.Value.html" title="struct halo2_proofs::circuit::value::Value">Value</a><Affine><br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self::<a class="associatedtype" href="../trait.EccInstructions.html#associatedtype.NonIdentityPoint" title="type halo2_gadgets::ecc::EccInstructions::NonIdentityPoint">NonIdentityPoint</a>, <a class="enum" href="../../../halo2_proofs/plonk/error/enum.Error.html" title="enum halo2_proofs::plonk::error::Error">Error</a>></h4></section></summary><div class='docblock'><p>Witnesses the given point as a private input to the circuit.
|
||
This returns an error if the point is the identity. <a href="../trait.EccInstructions.html#tymethod.witness_point_non_id">Read more</a></p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.witness_scalar_var" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/halo2_gadgets/ecc/chip.rs.html#468-475">source</a></span><a href="#method.witness_scalar_var" class="anchor"></a><h4 class="code-header">fn <a href="../trait.EccInstructions.html#tymethod.witness_scalar_var" class="fnname">witness_scalar_var</a>(<br> &self, <br> _layouter: &mut impl <a class="trait" href="../../../halo2_proofs/circuit/trait.Layouter.html" title="trait halo2_proofs::circuit::Layouter">Layouter</a><Base>, <br> _value: <a class="struct" href="../../../halo2_proofs/circuit/value/struct.Value.html" title="struct halo2_proofs::circuit::value::Value">Value</a><Scalar><br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self::<a class="associatedtype" href="../trait.EccInstructions.html#associatedtype.ScalarVar" title="type halo2_gadgets::ecc::EccInstructions::ScalarVar">ScalarVar</a>, <a class="enum" href="../../../halo2_proofs/plonk/error/enum.Error.html" title="enum halo2_proofs::plonk::error::Error">Error</a>></h4></section></summary><div class='docblock'><p>Witnesses a full-width scalar to be used in variable-base multiplication.</p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.witness_scalar_fixed" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/halo2_gadgets/ecc/chip.rs.html#477-487">source</a></span><a href="#method.witness_scalar_fixed" class="anchor"></a><h4 class="code-header">fn <a href="../trait.EccInstructions.html#tymethod.witness_scalar_fixed" class="fnname">witness_scalar_fixed</a>(<br> &self, <br> _layouter: &mut impl <a class="trait" href="../../../halo2_proofs/circuit/trait.Layouter.html" title="trait halo2_proofs::circuit::Layouter">Layouter</a><Base>, <br> value: <a class="struct" href="../../../halo2_proofs/circuit/value/struct.Value.html" title="struct halo2_proofs::circuit::value::Value">Value</a><Scalar><br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self::<a class="associatedtype" href="../trait.EccInstructions.html#associatedtype.ScalarFixed" title="type halo2_gadgets::ecc::EccInstructions::ScalarFixed">ScalarFixed</a>, <a class="enum" href="../../../halo2_proofs/plonk/error/enum.Error.html" title="enum halo2_proofs::plonk::error::Error">Error</a>></h4></section></summary><div class='docblock'><p>Witnesses a full-width scalar to be used in fixed-base multiplication.</p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.scalar_fixed_from_signed_short" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/halo2_gadgets/ecc/chip.rs.html#489-500">source</a></span><a href="#method.scalar_fixed_from_signed_short" class="anchor"></a><h4 class="code-header">fn <a href="../trait.EccInstructions.html#tymethod.scalar_fixed_from_signed_short" class="fnname">scalar_fixed_from_signed_short</a>(<br> &self, <br> _layouter: &mut impl <a class="trait" href="../../../halo2_proofs/circuit/trait.Layouter.html" title="trait halo2_proofs::circuit::Layouter">Layouter</a><Base>, <br> (magnitude, sign): (<a class="struct" href="../../../halo2_proofs/circuit/struct.AssignedCell.html" title="struct halo2_proofs::circuit::AssignedCell">AssignedCell</a><Base, Base>, <a class="struct" href="../../../halo2_proofs/circuit/struct.AssignedCell.html" title="struct halo2_proofs::circuit::AssignedCell">AssignedCell</a><Base, Base>)<br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self::<a class="associatedtype" href="../trait.EccInstructions.html#associatedtype.ScalarFixedShort" title="type halo2_gadgets::ecc::EccInstructions::ScalarFixedShort">ScalarFixedShort</a>, <a class="enum" href="../../../halo2_proofs/plonk/error/enum.Error.html" title="enum halo2_proofs::plonk::error::Error">Error</a>></h4></section></summary><div class='docblock'><p>Converts a magnitude and sign that exists as variables in the circuit into a
|
||
signed short scalar to be used in fixed-base scalar multiplication. <a href="../trait.EccInstructions.html#tymethod.scalar_fixed_from_signed_short">Read more</a></p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.extract_p" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/halo2_gadgets/ecc/chip.rs.html#502-505">source</a></span><a href="#method.extract_p" class="anchor"></a><h4 class="code-header">fn <a href="../trait.EccInstructions.html#tymethod.extract_p" class="fnname">extract_p</a><Point: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><Self::<a class="associatedtype" href="../trait.EccInstructions.html#associatedtype.Point" title="type halo2_gadgets::ecc::EccInstructions::Point">Point</a>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>>(point: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Point) -> Self::<a class="associatedtype" href="../trait.EccInstructions.html#associatedtype.X" title="type halo2_gadgets::ecc::EccInstructions::X">X</a></h4></section></summary><div class='docblock'><p>Extracts the x-coordinate of a point.</p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add_incomplete" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/halo2_gadgets/ecc/chip.rs.html#507-518">source</a></span><a href="#method.add_incomplete" class="anchor"></a><h4 class="code-header">fn <a href="../trait.EccInstructions.html#tymethod.add_incomplete" class="fnname">add_incomplete</a>(<br> &self, <br> layouter: &mut impl <a class="trait" href="../../../halo2_proofs/circuit/trait.Layouter.html" title="trait halo2_proofs::circuit::Layouter">Layouter</a><Base>, <br> a: &Self::<a class="associatedtype" href="../trait.EccInstructions.html#associatedtype.NonIdentityPoint" title="type halo2_gadgets::ecc::EccInstructions::NonIdentityPoint">NonIdentityPoint</a>, <br> b: &Self::<a class="associatedtype" href="../trait.EccInstructions.html#associatedtype.NonIdentityPoint" title="type halo2_gadgets::ecc::EccInstructions::NonIdentityPoint">NonIdentityPoint</a><br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self::<a class="associatedtype" href="../trait.EccInstructions.html#associatedtype.NonIdentityPoint" title="type halo2_gadgets::ecc::EccInstructions::NonIdentityPoint">NonIdentityPoint</a>, <a class="enum" href="../../../halo2_proofs/plonk/error/enum.Error.html" title="enum halo2_proofs::plonk::error::Error">Error</a>></h4></section></summary><div class='docblock'><p>Performs incomplete point addition, returning <code>a + b</code>. <a href="../trait.EccInstructions.html#tymethod.add_incomplete">Read more</a></p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.add" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/halo2_gadgets/ecc/chip.rs.html#520-533">source</a></span><a href="#method.add" class="anchor"></a><h4 class="code-header">fn <a href="../trait.EccInstructions.html#tymethod.add" class="fnname">add</a><A: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><Self::<a class="associatedtype" href="../trait.EccInstructions.html#associatedtype.Point" title="type halo2_gadgets::ecc::EccInstructions::Point">Point</a>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>, B: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><Self::<a class="associatedtype" href="../trait.EccInstructions.html#associatedtype.Point" title="type halo2_gadgets::ecc::EccInstructions::Point">Point</a>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>>(<br> &self, <br> layouter: &mut impl <a class="trait" href="../../../halo2_proofs/circuit/trait.Layouter.html" title="trait halo2_proofs::circuit::Layouter">Layouter</a><Base>, <br> a: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>A, <br> b: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>B<br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self::<a class="associatedtype" href="../trait.EccInstructions.html#associatedtype.Point" title="type halo2_gadgets::ecc::EccInstructions::Point">Point</a>, <a class="enum" href="../../../halo2_proofs/plonk/error/enum.Error.html" title="enum halo2_proofs::plonk::error::Error">Error</a>></h4></section></summary><div class='docblock'><p>Performs complete point addition, returning <code>a + b</code>.</p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.mul" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/halo2_gadgets/ecc/chip.rs.html#535-552">source</a></span><a href="#method.mul" class="anchor"></a><h4 class="code-header">fn <a href="../trait.EccInstructions.html#tymethod.mul" class="fnname">mul</a>(<br> &self, <br> layouter: &mut impl <a class="trait" href="../../../halo2_proofs/circuit/trait.Layouter.html" title="trait halo2_proofs::circuit::Layouter">Layouter</a><Base>, <br> scalar: &Self::<a class="associatedtype" href="../trait.EccInstructions.html#associatedtype.ScalarVar" title="type halo2_gadgets::ecc::EccInstructions::ScalarVar">ScalarVar</a>, <br> base: &Self::<a class="associatedtype" href="../trait.EccInstructions.html#associatedtype.NonIdentityPoint" title="type halo2_gadgets::ecc::EccInstructions::NonIdentityPoint">NonIdentityPoint</a><br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><(Self::<a class="associatedtype" href="../trait.EccInstructions.html#associatedtype.Point" title="type halo2_gadgets::ecc::EccInstructions::Point">Point</a>, Self::<a class="associatedtype" href="../trait.EccInstructions.html#associatedtype.ScalarVar" title="type halo2_gadgets::ecc::EccInstructions::ScalarVar">ScalarVar</a>), <a class="enum" href="../../../halo2_proofs/plonk/error/enum.Error.html" title="enum halo2_proofs::plonk::error::Error">Error</a>></h4></section></summary><div class='docblock'><p>Performs variable-base scalar multiplication, returning <code>[scalar] base</code>.</p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.mul_fixed" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/halo2_gadgets/ecc/chip.rs.html#554-566">source</a></span><a href="#method.mul_fixed" class="anchor"></a><h4 class="code-header">fn <a href="../trait.EccInstructions.html#tymethod.mul_fixed" class="fnname">mul_fixed</a>(<br> &self, <br> layouter: &mut impl <a class="trait" href="../../../halo2_proofs/circuit/trait.Layouter.html" title="trait halo2_proofs::circuit::Layouter">Layouter</a><Base>, <br> scalar: &Self::<a class="associatedtype" href="../trait.EccInstructions.html#associatedtype.ScalarFixed" title="type halo2_gadgets::ecc::EccInstructions::ScalarFixed">ScalarFixed</a>, <br> base: &<Self::<a class="associatedtype" href="../trait.EccInstructions.html#associatedtype.FixedPoints" title="type halo2_gadgets::ecc::EccInstructions::FixedPoints">FixedPoints</a> as <a class="trait" href="../trait.FixedPoints.html" title="trait halo2_gadgets::ecc::FixedPoints">FixedPoints</a><Affine>>::<a class="associatedtype" href="../trait.FixedPoints.html#associatedtype.FullScalar" title="type halo2_gadgets::ecc::FixedPoints::FullScalar">FullScalar</a><br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><(Self::<a class="associatedtype" href="../trait.EccInstructions.html#associatedtype.Point" title="type halo2_gadgets::ecc::EccInstructions::Point">Point</a>, Self::<a class="associatedtype" href="../trait.EccInstructions.html#associatedtype.ScalarFixed" title="type halo2_gadgets::ecc::EccInstructions::ScalarFixed">ScalarFixed</a>), <a class="enum" href="../../../halo2_proofs/plonk/error/enum.Error.html" title="enum halo2_proofs::plonk::error::Error">Error</a>></h4></section></summary><div class='docblock'><p>Performs fixed-base scalar multiplication using a full-width scalar, returning <code>[scalar] base</code>.</p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.mul_fixed_short" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/halo2_gadgets/ecc/chip.rs.html#568-580">source</a></span><a href="#method.mul_fixed_short" class="anchor"></a><h4 class="code-header">fn <a href="../trait.EccInstructions.html#tymethod.mul_fixed_short" class="fnname">mul_fixed_short</a>(<br> &self, <br> layouter: &mut impl <a class="trait" href="../../../halo2_proofs/circuit/trait.Layouter.html" title="trait halo2_proofs::circuit::Layouter">Layouter</a><Base>, <br> scalar: &Self::<a class="associatedtype" href="../trait.EccInstructions.html#associatedtype.ScalarFixedShort" title="type halo2_gadgets::ecc::EccInstructions::ScalarFixedShort">ScalarFixedShort</a>, <br> base: &<Self::<a class="associatedtype" href="../trait.EccInstructions.html#associatedtype.FixedPoints" title="type halo2_gadgets::ecc::EccInstructions::FixedPoints">FixedPoints</a> as <a class="trait" href="../trait.FixedPoints.html" title="trait halo2_gadgets::ecc::FixedPoints">FixedPoints</a><Affine>>::<a class="associatedtype" href="../trait.FixedPoints.html#associatedtype.ShortScalar" title="type halo2_gadgets::ecc::FixedPoints::ShortScalar">ShortScalar</a><br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><(Self::<a class="associatedtype" href="../trait.EccInstructions.html#associatedtype.Point" title="type halo2_gadgets::ecc::EccInstructions::Point">Point</a>, Self::<a class="associatedtype" href="../trait.EccInstructions.html#associatedtype.ScalarFixedShort" title="type halo2_gadgets::ecc::EccInstructions::ScalarFixedShort">ScalarFixedShort</a>), <a class="enum" href="../../../halo2_proofs/plonk/error/enum.Error.html" title="enum halo2_proofs::plonk::error::Error">Error</a>></h4></section></summary><div class='docblock'><p>Performs fixed-base scalar multiplication using a short signed scalar, returning
|
||
<code>[scalar] base</code>. <a href="../trait.EccInstructions.html#tymethod.mul_fixed_short">Read more</a></p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.mul_fixed_base_field_elem" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/halo2_gadgets/ecc/chip.rs.html#582-594">source</a></span><a href="#method.mul_fixed_base_field_elem" class="anchor"></a><h4 class="code-header">fn <a href="../trait.EccInstructions.html#tymethod.mul_fixed_base_field_elem" class="fnname">mul_fixed_base_field_elem</a>(<br> &self, <br> layouter: &mut impl <a class="trait" href="../../../halo2_proofs/circuit/trait.Layouter.html" title="trait halo2_proofs::circuit::Layouter">Layouter</a><Base>, <br> base_field_elem: <a class="struct" href="../../../halo2_proofs/circuit/struct.AssignedCell.html" title="struct halo2_proofs::circuit::AssignedCell">AssignedCell</a><Base, Base>, <br> base: &<Self::<a class="associatedtype" href="../trait.EccInstructions.html#associatedtype.FixedPoints" title="type halo2_gadgets::ecc::EccInstructions::FixedPoints">FixedPoints</a> as <a class="trait" href="../trait.FixedPoints.html" title="trait halo2_gadgets::ecc::FixedPoints">FixedPoints</a><Affine>>::<a class="associatedtype" href="../trait.FixedPoints.html#associatedtype.Base" title="type halo2_gadgets::ecc::FixedPoints::Base">Base</a><br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self::<a class="associatedtype" href="../trait.EccInstructions.html#associatedtype.Point" title="type halo2_gadgets::ecc::EccInstructions::Point">Point</a>, <a class="enum" href="../../../halo2_proofs/plonk/error/enum.Error.html" title="enum halo2_proofs::plonk::error::Error">Error</a>></h4></section></summary><div class='docblock'><p>Performs fixed-base scalar multiplication using a base field element as the scalar.
|
||
In the current implementation, this base field element must be output from another
|
||
instruction. <a href="../trait.EccInstructions.html#tymethod.mul_fixed_base_field_elem">Read more</a></p>
|
||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CEccChip%3CFixedPoints%3E%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/halo2_gadgets/ecc/chip.rs.html#230">source</a></span><a href="#impl-PartialEq%3CEccChip%3CFixedPoints%3E%3E" class="anchor"></a><h3 class="code-header in-band">impl<FixedPoints: <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a> + <a class="trait" href="../trait.FixedPoints.html" title="trait halo2_gadgets::ecc::FixedPoints">FixedPoints</a><Affine>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="struct.EccChip.html" title="struct halo2_gadgets::ecc::chip::EccChip">EccChip</a><FixedPoints>> for <a class="struct" href="struct.EccChip.html" title="struct halo2_gadgets::ecc::chip::EccChip">EccChip</a><FixedPoints></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/halo2_gadgets/ecc/chip.rs.html#230">source</a></span><a href="#method.eq" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fnname">eq</a>(&self, other: &<a class="struct" href="struct.EccChip.html" title="struct halo2_gadgets::ecc::chip::EccChip">EccChip</a><FixedPoints>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used
|
||
by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.ne" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/halo2_gadgets/ecc/chip.rs.html#230">source</a></span><a href="#method.ne" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fnname">ne</a>(&self, other: &<a class="struct" href="struct.EccChip.html" title="struct halo2_gadgets::ecc::chip::EccChip">EccChip</a><FixedPoints>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'><p>This method tests for <code>!=</code>.</p>
|
||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-UtilitiesInstructions%3CFp%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/halo2_gadgets/ecc/chip.rs.html#248-252">source</a></span><a href="#impl-UtilitiesInstructions%3CFp%3E" class="anchor"></a><h3 class="code-header in-band">impl<Fixed: <a class="trait" href="../trait.FixedPoints.html" title="trait halo2_gadgets::ecc::FixedPoints">FixedPoints</a><Affine>> <a class="trait" href="../../utilities/trait.UtilitiesInstructions.html" title="trait halo2_gadgets::utilities::UtilitiesInstructions">UtilitiesInstructions</a><Fp> for <a class="struct" href="struct.EccChip.html" title="struct halo2_gadgets::ecc::chip::EccChip">EccChip</a><Fixed></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Var" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Var" class="anchor"></a><h4 class="code-header">type <a href="../../utilities/trait.UtilitiesInstructions.html#associatedtype.Var" class="associatedtype">Var</a> = <a class="struct" href="../../../halo2_proofs/circuit/struct.AssignedCell.html" title="struct halo2_proofs::circuit::AssignedCell">AssignedCell</a><Fp, Fp></h4></section></summary><div class='docblock'><p>Variable in the circuit.</p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.load_private" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/halo2_gadgets/utilities.rs.html#59-73">source</a></span><a href="#method.load_private" class="anchor"></a><h4 class="code-header">fn <a href="../../utilities/trait.UtilitiesInstructions.html#method.load_private" class="fnname">load_private</a>(<br> &self, <br> layouter: impl <a class="trait" href="../../../halo2_proofs/circuit/trait.Layouter.html" title="trait halo2_proofs::circuit::Layouter">Layouter</a><F>, <br> column: <a class="struct" href="../../../halo2_proofs/plonk/circuit/struct.Column.html" title="struct halo2_proofs::plonk::circuit::Column">Column</a><<a class="struct" href="../../../halo2_proofs/plonk/circuit/struct.Advice.html" title="struct halo2_proofs::plonk::circuit::Advice">Advice</a>>, <br> value: <a class="struct" href="../../../halo2_proofs/circuit/value/struct.Value.html" title="struct halo2_proofs::circuit::value::Value">Value</a><F><br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self::<a class="associatedtype" href="../../utilities/trait.UtilitiesInstructions.html#associatedtype.Var" title="type halo2_gadgets::utilities::UtilitiesInstructions::Var">Var</a>, <a class="enum" href="../../../halo2_proofs/plonk/error/enum.Error.html" title="enum halo2_proofs::plonk::error::Error">Error</a>></h4></section></summary><div class='docblock'><p>Load a variable.</p>
|
||
</div></details></div></details><section id="impl-Eq" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/halo2_gadgets/ecc/chip.rs.html#230">source</a></span><a href="#impl-Eq" class="anchor"></a><h3 class="code-header in-band">impl<FixedPoints: <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> + <a class="trait" href="../trait.FixedPoints.html" title="trait halo2_gadgets::ecc::FixedPoints">FixedPoints</a><Affine>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="struct" href="struct.EccChip.html" title="struct halo2_gadgets::ecc::chip::EccChip">EccChip</a><FixedPoints></h3></section><section id="impl-StructuralEq" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/halo2_gadgets/ecc/chip.rs.html#230">source</a></span><a href="#impl-StructuralEq" class="anchor"></a><h3 class="code-header in-band">impl<FixedPoints: <a class="trait" href="../trait.FixedPoints.html" title="trait halo2_gadgets::ecc::FixedPoints">FixedPoints</a><Affine>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.StructuralEq.html" title="trait core::marker::StructuralEq">StructuralEq</a> for <a class="struct" href="struct.EccChip.html" title="struct halo2_gadgets::ecc::chip::EccChip">EccChip</a><FixedPoints></h3></section><section id="impl-StructuralPartialEq" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../../../src/halo2_gadgets/ecc/chip.rs.html#230">source</a></span><a href="#impl-StructuralPartialEq" class="anchor"></a><h3 class="code-header in-band">impl<FixedPoints: <a class="trait" href="../trait.FixedPoints.html" title="trait halo2_gadgets::ecc::FixedPoints">FixedPoints</a><Affine>> <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.StructuralPartialEq.html" title="trait core::marker::StructuralPartialEq">StructuralPartialEq</a> for <a class="struct" href="struct.EccChip.html" title="struct halo2_gadgets::ecc::chip::EccChip">EccChip</a><FixedPoints></h3></section></div><h2 id="synthetic-implementations" class="small-section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor"></a></h2><div id="synthetic-implementations-list"><section id="impl-RefUnwindSafe" class="impl has-srclink"><a href="#impl-RefUnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl<FixedPoints> <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.EccChip.html" title="struct halo2_gadgets::ecc::chip::EccChip">EccChip</a><FixedPoints> <span class="where fmt-newline">where<br> FixedPoints: <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>, </span></h3></section><section id="impl-Send" class="impl has-srclink"><a href="#impl-Send" class="anchor"></a><h3 class="code-header in-band">impl<FixedPoints> <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.EccChip.html" title="struct halo2_gadgets::ecc::chip::EccChip">EccChip</a><FixedPoints> <span class="where fmt-newline">where<br> FixedPoints: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>, </span></h3></section><section id="impl-Sync" class="impl has-srclink"><a href="#impl-Sync" class="anchor"></a><h3 class="code-header in-band">impl<FixedPoints> <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.EccChip.html" title="struct halo2_gadgets::ecc::chip::EccChip">EccChip</a><FixedPoints> <span class="where fmt-newline">where<br> FixedPoints: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>, </span></h3></section><section id="impl-Unpin" class="impl has-srclink"><a href="#impl-Unpin" class="anchor"></a><h3 class="code-header in-band">impl<FixedPoints> <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.EccChip.html" title="struct halo2_gadgets::ecc::chip::EccChip">EccChip</a><FixedPoints> <span class="where fmt-newline">where<br> FixedPoints: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>, </span></h3></section><section id="impl-UnwindSafe" class="impl has-srclink"><a href="#impl-UnwindSafe" class="anchor"></a><h3 class="code-header in-band">impl<FixedPoints> <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.EccChip.html" title="struct halo2_gadgets::ecc::chip::EccChip">EccChip</a><FixedPoints> <span class="where fmt-newline">where<br> FixedPoints: <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>, </span></h3></section></div><h2 id="blanket-implementations" class="small-section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor"></a></h2><div id="blanket-implementations-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Any" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#203-207">source</a></span><a href="#impl-Any" class="anchor"></a><h3 class="code-header in-band">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br> T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#204">source</a></span><a href="#method.type_id" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id" class="fnname">type_id</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
|
||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#209-214">source</a></span><a href="#impl-Borrow%3CT%3E" class="anchor"></a><h3 class="code-header in-band">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><T> for T <span class="where fmt-newline">where<br> T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for const_borrow">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#211">source</a></span><a href="#method.borrow" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow" class="fnname">borrow</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>T</h4></section></summary><div class='docblock'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
|
||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#218-222">source</a></span><a href="#impl-BorrowMut%3CT%3E" class="anchor"></a><h3 class="code-header in-band">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T <span class="where fmt-newline">where<br> T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for const_borrow">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#219">source</a></span><a href="#method.borrow_mut" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fnname">borrow_mut</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>T</h4></section></summary><div class='docblock'><p>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>
|
||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Conv" class="impl has-srclink"><a href="#impl-Conv" class="anchor"></a><h3 class="code-header in-band">impl<T> Conv for T</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.conv" class="method trait-impl has-srclink"><a href="#method.conv" class="anchor"></a><h4 class="code-header">fn <a class="fnname">conv</a><T>(self) -> T <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><T>, </span></h4></section></summary><div class='docblock'><p>Converts <code>self</code> into <code>T</code> using <code>Into<T></code>. <a>Read more</a></p>
|
||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-FmtForward" class="impl has-srclink"><a href="#impl-FmtForward" class="anchor"></a><h3 class="code-header in-band">impl<T> FmtForward for T</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt_binary" class="method trait-impl has-srclink"><a href="#method.fmt_binary" class="anchor"></a><h4 class="code-header">fn <a class="fnname">fmt_binary</a>(self) -> FmtBinary<Self> <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Binary.html" title="trait core::fmt::Binary">Binary</a>, </span></h4></section></summary><div class='docblock'><p>Causes <code>self</code> to use its <code>Binary</code> implementation when <code>Debug</code>-formatted. <a>Read more</a></p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt_display" class="method trait-impl has-srclink"><a href="#method.fmt_display" class="anchor"></a><h4 class="code-header">fn <a class="fnname">fmt_display</a>(self) -> FmtDisplay<Self> <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a>, </span></h4></section></summary><div class='docblock'><p>Causes <code>self</code> to use its <code>Display</code> implementation when
|
||
<code>Debug</code>-formatted. <a>Read more</a></p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt_lower_exp" class="method trait-impl has-srclink"><a href="#method.fmt_lower_exp" class="anchor"></a><h4 class="code-header">fn <a class="fnname">fmt_lower_exp</a>(self) -> FmtLowerExp<Self> <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.LowerExp.html" title="trait core::fmt::LowerExp">LowerExp</a>, </span></h4></section></summary><div class='docblock'><p>Causes <code>self</code> to use its <code>LowerExp</code> implementation when
|
||
<code>Debug</code>-formatted. <a>Read more</a></p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt_lower_hex" class="method trait-impl has-srclink"><a href="#method.fmt_lower_hex" class="anchor"></a><h4 class="code-header">fn <a class="fnname">fmt_lower_hex</a>(self) -> FmtLowerHex<Self> <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.LowerHex.html" title="trait core::fmt::LowerHex">LowerHex</a>, </span></h4></section></summary><div class='docblock'><p>Causes <code>self</code> to use its <code>LowerHex</code> implementation when
|
||
<code>Debug</code>-formatted. <a>Read more</a></p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt_octal" class="method trait-impl has-srclink"><a href="#method.fmt_octal" class="anchor"></a><h4 class="code-header">fn <a class="fnname">fmt_octal</a>(self) -> FmtOctal<Self> <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Octal.html" title="trait core::fmt::Octal">Octal</a>, </span></h4></section></summary><div class='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><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt_pointer" class="method trait-impl has-srclink"><a href="#method.fmt_pointer" class="anchor"></a><h4 class="code-header">fn <a class="fnname">fmt_pointer</a>(self) -> FmtPointer<Self> <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Pointer.html" title="trait core::fmt::Pointer">Pointer</a>, </span></h4></section></summary><div class='docblock'><p>Causes <code>self</code> to use its <code>Pointer</code> implementation when
|
||
<code>Debug</code>-formatted. <a>Read more</a></p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt_upper_exp" class="method trait-impl has-srclink"><a href="#method.fmt_upper_exp" class="anchor"></a><h4 class="code-header">fn <a class="fnname">fmt_upper_exp</a>(self) -> FmtUpperExp<Self> <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.UpperExp.html" title="trait core::fmt::UpperExp">UpperExp</a>, </span></h4></section></summary><div class='docblock'><p>Causes <code>self</code> to use its <code>UpperExp</code> implementation when
|
||
<code>Debug</code>-formatted. <a>Read more</a></p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt_upper_hex" class="method trait-impl has-srclink"><a href="#method.fmt_upper_hex" class="anchor"></a><h4 class="code-header">fn <a class="fnname">fmt_upper_hex</a>(self) -> FmtUpperHex<Self> <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.UpperHex.html" title="trait core::fmt::UpperHex">UpperHex</a>, </span></h4></section></summary><div class='docblock'><p>Causes <code>self</code> to use its <code>UpperHex</code> implementation when
|
||
<code>Debug</code>-formatted. <a>Read more</a></p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt_list" class="method trait-impl has-srclink"><a href="#method.fmt_list" class="anchor"></a><h4 class="code-header">fn <a class="fnname">fmt_list</a>(self) -> FmtList<Self> <span class="where fmt-newline">where<br> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a </a>Self: for<'a> <a class="trait" href="https://doc.rust-lang.org/nightly/core/iter/traits/collect/trait.IntoIterator.html" title="trait core::iter::traits::collect::IntoIterator">IntoIterator</a>, </span></h4></section></summary><div class='docblock'><p>Formats each item in a sequence. <a>Read more</a></p>
|
||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-From%3CT%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#557-562">source</a></span><a href="#impl-From%3CT%3E" class="anchor"></a><h3 class="code-header in-band">impl<T> <a class="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><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/88674" title="Tracking issue for const_convert">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#559">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(t: T) -> T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
|
||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Instrument" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://docs.rs/tracing/0.1.35/src/tracing/instrument.rs.html#276">source</a></span><a href="#impl-Instrument" class="anchor"></a><h3 class="code-header in-band">impl<T> <a class="trait" href="https://docs.rs/tracing/0.1.35/tracing/instrument/trait.Instrument.html" title="trait tracing::instrument::Instrument">Instrument</a> for T</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.instrument" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="https://docs.rs/tracing/0.1.35/src/tracing/instrument.rs.html#82">source</a></span><a href="#method.instrument" class="anchor"></a><h4 class="code-header">fn <a href="https://docs.rs/tracing/0.1.35/tracing/instrument/trait.Instrument.html#method.instrument" class="fnname">instrument</a>(self, span: <a class="struct" href="https://docs.rs/tracing/0.1.35/tracing/span/struct.Span.html" title="struct tracing::span::Span">Span</a>) -> <a class="struct" href="https://docs.rs/tracing/0.1.35/tracing/instrument/struct.Instrumented.html" title="struct tracing::instrument::Instrumented">Instrumented</a><Self></h4></section></summary><div class='docblock'><p>Instruments this type with the provided <a href="https://docs.rs/tracing/0.1.35/tracing/span/struct.Span.html" title="Span"><code>Span</code></a>, returning an
|
||
<code>Instrumented</code> wrapper. <a href="https://docs.rs/tracing/0.1.35/tracing/instrument/trait.Instrument.html#method.instrument">Read more</a></p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.in_current_span" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="https://docs.rs/tracing/0.1.35/src/tracing/instrument.rs.html#121">source</a></span><a href="#method.in_current_span" class="anchor"></a><h4 class="code-header">fn <a href="https://docs.rs/tracing/0.1.35/tracing/instrument/trait.Instrument.html#method.in_current_span" class="fnname">in_current_span</a>(self) -> <a class="struct" href="https://docs.rs/tracing/0.1.35/tracing/instrument/struct.Instrumented.html" title="struct tracing::instrument::Instrumented">Instrumented</a><Self></h4></section></summary><div class='docblock'><p>Instruments this type with the <a href="https://docs.rs/tracing/0.1.35/tracing/span/struct.Span.html#method.current">current</a> <a href="https://docs.rs/tracing/0.1.35/tracing/span/struct.Span.html"><code>Span</code></a>, returning an
|
||
<code>Instrumented</code> wrapper. <a href="https://docs.rs/tracing/0.1.35/tracing/instrument/trait.Instrument.html#method.in_current_span">Read more</a></p>
|
||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Into%3CU%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#541-552">source</a></span><a href="#impl-Into%3CU%3E" class="anchor"></a><h3 class="code-header in-band">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><U> for T <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><T>, </span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.into" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/88674" title="Tracking issue for const_convert">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#549">source</a></span><a href="#method.into" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into" class="fnname">into</a>(self) -> U</h4></section></summary><div class="docblock"><p>Calls <code>U::from(self)</code>.</p>
|
||
<p>That is, this conversion is whatever the implementation of
|
||
<code><a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="From">From</a><T> for U</code> chooses to do.</p>
|
||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Pipe" class="impl has-srclink"><a href="#impl-Pipe" class="anchor"></a><h3 class="code-header in-band">impl<T> Pipe for T <span class="where fmt-newline">where<br> T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.pipe" class="method trait-impl has-srclink"><a href="#method.pipe" class="anchor"></a><h4 class="code-header">fn <a class="fnname">pipe</a><R>(self, func: impl <a class="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><div class='docblock'><p>Pipes by value. This is generally the method you want to use. <a>Read more</a></p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.pipe_ref" class="method trait-impl has-srclink"><a href="#method.pipe_ref" class="anchor"></a><h4 class="code-header">fn <a class="fnname">pipe_ref</a><'a, R>(&'a self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a </a>Self) -> R) -> R <span class="where fmt-newline">where<br> R: 'a, </span></h4></section></summary><div class='docblock'><p>Borrows <code>self</code> and passes that borrow into the pipe function. <a>Read more</a></p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.pipe_ref_mut" class="method trait-impl has-srclink"><a href="#method.pipe_ref_mut" class="anchor"></a><h4 class="code-header">fn <a class="fnname">pipe_ref_mut</a><'a, R>(&'a mut self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>Self) -> R) -> R <span class="where fmt-newline">where<br> R: 'a, </span></h4></section></summary><div class='docblock'><p>Mutably borrows <code>self</code> and passes that borrow into the pipe function. <a>Read more</a></p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.pipe_borrow" class="method trait-impl has-srclink"><a href="#method.pipe_borrow" class="anchor"></a><h4 class="code-header">fn <a class="fnname">pipe_borrow</a><'a, B, R>(&'a self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a </a>B) -> R) -> R <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><B>,<br> B: 'a + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,<br> R: 'a, </span></h4></section></summary><div class='docblock'><p>Borrows <code>self</code>, then passes <code>self.borrow()</code> into the pipe function. <a>Read more</a></p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.pipe_borrow_mut" class="method trait-impl has-srclink"><a href="#method.pipe_borrow_mut" class="anchor"></a><h4 class="code-header">fn <a class="fnname">pipe_borrow_mut</a><'a, B, R>(<br> &'a mut self, <br> func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>B) -> R<br>) -> R <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><B>,<br> B: 'a + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,<br> R: 'a, </span></h4></section></summary><div class='docblock'><p>Mutably borrows <code>self</code>, then passes <code>self.borrow_mut()</code> into the pipe
|
||
function. <a>Read more</a></p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.pipe_as_ref" class="method trait-impl has-srclink"><a href="#method.pipe_as_ref" class="anchor"></a><h4 class="code-header">fn <a class="fnname">pipe_as_ref</a><'a, U, R>(&'a self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a </a>U) -> R) -> R <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a><U>,<br> U: 'a + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,<br> R: 'a, </span></h4></section></summary><div class='docblock'><p>Borrows <code>self</code>, then passes <code>self.as_ref()</code> into the pipe function.</p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.pipe_as_mut" class="method trait-impl has-srclink"><a href="#method.pipe_as_mut" class="anchor"></a><h4 class="code-header">fn <a class="fnname">pipe_as_mut</a><'a, U, R>(&'a mut self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>U) -> R) -> R <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsMut.html" title="trait core::convert::AsMut">AsMut</a><U>,<br> U: 'a + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,<br> R: 'a, </span></h4></section></summary><div class='docblock'><p>Mutably borrows <code>self</code>, then passes <code>self.as_mut()</code> into the pipe
|
||
function. <a>Read more</a></p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.pipe_deref" class="method trait-impl has-srclink"><a href="#method.pipe_deref" class="anchor"></a><h4 class="code-header">fn <a class="fnname">pipe_deref</a><'a, T, R>(&'a self, func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a </a>T) -> R) -> R <span class="where fmt-newline">where<br> Self: <a class="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: 'a + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,<br> R: 'a, </span></h4></section></summary><div class='docblock'><p>Borrows <code>self</code>, then passes <code>self.deref()</code> into the pipe function.</p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.pipe_deref_mut" class="method trait-impl has-srclink"><a href="#method.pipe_deref_mut" class="anchor"></a><h4 class="code-header">fn <a class="fnname">pipe_deref_mut</a><'a, T, R>(<br> &'a mut self, <br> func: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>T) -> R<br>) -> R <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.DerefMut.html" title="trait core::ops::deref::DerefMut">DerefMut</a><Target = T> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a>,<br> T: 'a + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,<br> R: 'a, </span></h4></section></summary><div class='docblock'><p>Mutably borrows <code>self</code>, then passes <code>self.deref_mut()</code> into the pipe
|
||
function. <a>Read more</a></p>
|
||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Pointable" class="impl has-srclink"><a href="#impl-Pointable" class="anchor"></a><h3 class="code-header in-band">impl<T> Pointable for T</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedconstant.ALIGN" class="associatedconstant trait-impl has-srclink"><a href="#associatedconstant.ALIGN" class="anchor"></a><h4 class="code-header">const <a class="constant">ALIGN</a>: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a> = mem::align_of::<T>()</h4></section></summary><div class='docblock'><p>The alignment of pointer.</p>
|
||
</div></details><details class="rustdoc-toggle" open><summary><section id="associatedtype.Init" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Init" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Init</a> = T</h4></section></summary><div class='docblock'><p>The type for initializers.</p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.init" class="method trait-impl has-srclink"><a href="#method.init" class="anchor"></a><h4 class="code-header">unsafe fn <a class="fnname">init</a>(init: <T as Pointable>::Init) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></h4></section></summary><div class='docblock'><p>Initializes a with the given initializer. <a>Read more</a></p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deref" class="method trait-impl has-srclink"><a href="#method.deref" class="anchor"></a><h4 class="code-header">unsafe fn <a class="fnname">deref</a><'a>(ptr: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a </a>T</h4></section></summary><div class='docblock'><p>Dereferences the given pointer. <a>Read more</a></p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deref_mut" class="method trait-impl has-srclink"><a href="#method.deref_mut" class="anchor"></a><h4 class="code-header">unsafe fn <a class="fnname">deref_mut</a><'a>(ptr: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>T</h4></section></summary><div class='docblock'><p>Mutably dereferences the given pointer. <a>Read more</a></p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.drop" class="method trait-impl has-srclink"><a href="#method.drop" class="anchor"></a><h4 class="code-header">unsafe fn <a class="fnname">drop</a>(ptr: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>)</h4></section></summary><div class='docblock'><p>Drops the object pointed to by the given pointer. <a>Read more</a></p>
|
||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Tap" class="impl has-srclink"><a href="#impl-Tap" class="anchor"></a><h3 class="code-header in-band">impl<T> Tap for T</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.tap" class="method trait-impl has-srclink"><a href="#method.tap" class="anchor"></a><h4 class="code-header">fn <a class="fnname">tap</a>(self, func: impl for<'_> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Self)) -> Self</h4></section></summary><div class='docblock'><p>Immutable access to a value. <a>Read more</a></p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.tap_mut" class="method trait-impl has-srclink"><a href="#method.tap_mut" class="anchor"></a><h4 class="code-header">fn <a class="fnname">tap_mut</a>(self, func: impl for<'_> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>Self)) -> Self</h4></section></summary><div class='docblock'><p>Mutable access to a value. <a>Read more</a></p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.tap_borrow" class="method trait-impl has-srclink"><a href="#method.tap_borrow" class="anchor"></a><h4 class="code-header">fn <a class="fnname">tap_borrow</a><B>(self, func: impl for<'_> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>B)) -> Self <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><B>,<br> B: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></h4></section></summary><div class='docblock'><p>Immutable access to the <code>Borrow<B></code> of a value. <a>Read more</a></p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.tap_borrow_mut" class="method trait-impl has-srclink"><a href="#method.tap_borrow_mut" class="anchor"></a><h4 class="code-header">fn <a class="fnname">tap_borrow_mut</a><B>(self, func: impl for<'_> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>B)) -> Self <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><B>,<br> B: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></h4></section></summary><div class='docblock'><p>Mutable access to the <code>BorrowMut<B></code> of a value. <a>Read more</a></p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.tap_ref" class="method trait-impl has-srclink"><a href="#method.tap_ref" class="anchor"></a><h4 class="code-header">fn <a class="fnname">tap_ref</a><R>(self, func: impl for<'_> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>R)) -> Self <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a><R>,<br> R: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></h4></section></summary><div class='docblock'><p>Immutable access to the <code>AsRef<R></code> view of a value. <a>Read more</a></p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.tap_ref_mut" class="method trait-impl has-srclink"><a href="#method.tap_ref_mut" class="anchor"></a><h4 class="code-header">fn <a class="fnname">tap_ref_mut</a><R>(self, func: impl for<'_> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R)) -> Self <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsMut.html" title="trait core::convert::AsMut">AsMut</a><R>,<br> R: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></h4></section></summary><div class='docblock'><p>Mutable access to the <code>AsMut<R></code> view of a value. <a>Read more</a></p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.tap_deref" class="method trait-impl has-srclink"><a href="#method.tap_deref" class="anchor"></a><h4 class="code-header">fn <a class="fnname">tap_deref</a><T>(self, func: impl for<'_> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>T)) -> Self <span class="where fmt-newline">where<br> Self: <a class="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: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></h4></section></summary><div class='docblock'><p>Immutable access to the <code>Deref::Target</code> of a value. <a>Read more</a></p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.tap_deref_mut" class="method trait-impl has-srclink"><a href="#method.tap_deref_mut" class="anchor"></a><h4 class="code-header">fn <a class="fnname">tap_deref_mut</a><T>(self, func: impl for<'_> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>T)) -> Self <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.DerefMut.html" title="trait core::ops::deref::DerefMut">DerefMut</a><Target = T> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a>,<br> T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></h4></section></summary><div class='docblock'><p>Mutable access to the <code>Deref::Target</code> of a value. <a>Read more</a></p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.tap_dbg" class="method trait-impl has-srclink"><a href="#method.tap_dbg" class="anchor"></a><h4 class="code-header">fn <a class="fnname">tap_dbg</a>(self, func: impl for<'_> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Self)) -> Self</h4></section></summary><div class='docblock'><p>Calls <code>.tap()</code> only in debug builds, and is erased in release builds.</p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.tap_mut_dbg" class="method trait-impl has-srclink"><a href="#method.tap_mut_dbg" class="anchor"></a><h4 class="code-header">fn <a class="fnname">tap_mut_dbg</a>(self, func: impl for<'_> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>Self)) -> Self</h4></section></summary><div class='docblock'><p>Calls <code>.tap_mut()</code> only in debug builds, and is erased in release
|
||
builds. <a>Read more</a></p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.tap_borrow_dbg" class="method trait-impl has-srclink"><a href="#method.tap_borrow_dbg" class="anchor"></a><h4 class="code-header">fn <a class="fnname">tap_borrow_dbg</a><B>(self, func: impl for<'_> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>B)) -> Self <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><B>,<br> B: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></h4></section></summary><div class='docblock'><p>Calls <code>.tap_borrow()</code> only in debug builds, and is erased in release
|
||
builds. <a>Read more</a></p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.tap_borrow_mut_dbg" class="method trait-impl has-srclink"><a href="#method.tap_borrow_mut_dbg" class="anchor"></a><h4 class="code-header">fn <a class="fnname">tap_borrow_mut_dbg</a><B>(self, func: impl for<'_> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>B)) -> Self <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><B>,<br> B: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></h4></section></summary><div class='docblock'><p>Calls <code>.tap_borrow_mut()</code> only in debug builds, and is erased in release
|
||
builds. <a>Read more</a></p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.tap_ref_dbg" class="method trait-impl has-srclink"><a href="#method.tap_ref_dbg" class="anchor"></a><h4 class="code-header">fn <a class="fnname">tap_ref_dbg</a><R>(self, func: impl for<'_> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>R)) -> Self <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a><R>,<br> R: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></h4></section></summary><div class='docblock'><p>Calls <code>.tap_ref()</code> only in debug builds, and is erased in release
|
||
builds. <a>Read more</a></p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.tap_ref_mut_dbg" class="method trait-impl has-srclink"><a href="#method.tap_ref_mut_dbg" class="anchor"></a><h4 class="code-header">fn <a class="fnname">tap_ref_mut_dbg</a><R>(self, func: impl for<'_> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>R)) -> Self <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsMut.html" title="trait core::convert::AsMut">AsMut</a><R>,<br> R: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></h4></section></summary><div class='docblock'><p>Calls <code>.tap_ref_mut()</code> only in debug builds, and is erased in release
|
||
builds. <a>Read more</a></p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.tap_deref_dbg" class="method trait-impl has-srclink"><a href="#method.tap_deref_dbg" class="anchor"></a><h4 class="code-header">fn <a class="fnname">tap_deref_dbg</a><T>(self, func: impl for<'_> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>T)) -> Self <span class="where fmt-newline">where<br> Self: <a class="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: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></h4></section></summary><div class='docblock'><p>Calls <code>.tap_deref()</code> only in debug builds, and is erased in release
|
||
builds. <a>Read more</a></p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.tap_deref_mut_dbg" class="method trait-impl has-srclink"><a href="#method.tap_deref_mut_dbg" class="anchor"></a><h4 class="code-header">fn <a class="fnname">tap_deref_mut_dbg</a><T>(self, func: impl for<'_> <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>T)) -> Self <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.DerefMut.html" title="trait core::ops::deref::DerefMut">DerefMut</a><Target = T> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a>,<br> T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></h4></section></summary><div class='docblock'><p>Calls <code>.tap_deref_mut()</code> only in debug builds, and is erased in release
|
||
builds. <a>Read more</a></p>
|
||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-ToOwned" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#83-95">source</a></span><a href="#impl-ToOwned" class="anchor"></a><h3 class="code-header in-band">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>, </span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Owned" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Owned" class="anchor"></a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned" class="associatedtype">Owned</a> = T</h4></section></summary><div class='docblock'><p>The resulting type after obtaining ownership.</p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.to_owned" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#88">source</a></span><a href="#method.to_owned" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned" class="fnname">to_owned</a>(&self) -> T</h4></section></summary><div class='docblock'><p>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.clone_into" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#92">source</a></span><a href="#method.clone_into" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into" class="fnname">clone_into</a>(&self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>T)</h4></section></summary><div class='docblock'><p>Uses borrowed data to replace owned data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></p>
|
||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-TryConv" class="impl has-srclink"><a href="#impl-TryConv" class="anchor"></a><h3 class="code-header in-band">impl<T> TryConv for T</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.try_conv" class="method trait-impl has-srclink"><a href="#method.try_conv" class="anchor"></a><h4 class="code-header">fn <a class="fnname">try_conv</a><T>(self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, Self::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error" title="type core::convert::TryInto::Error">Error</a>> <span class="where fmt-newline">where<br> Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a><T>, </span></h4></section></summary><div class='docblock'><p>Attempts to convert <code>self</code> into <code>T</code> using <code>TryInto<T></code>. <a>Read more</a></p>
|
||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-TryFrom%3CU%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#598-607">source</a></span><a href="#impl-TryFrom%3CU%3E" class="anchor"></a><h3 class="code-header in-band">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U> for T <span class="where fmt-newline">where<br> U: <a class="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><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Error" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error" class="anchor"></a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section></summary><div class='docblock'><p>The type returned in the event of a conversion error.</p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.try_from" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/88674" title="Tracking issue for const_convert">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#604">source</a></span><a href="#method.try_from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from" class="fnname">try_from</a>(value: U) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, <T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U>>::<a class="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><div class='docblock'><p>Performs the conversion.</p>
|
||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-TryInto%3CU%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#583-592">source</a></span><a href="#impl-TryInto%3CU%3E" class="anchor"></a><h3 class="code-header in-band">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a><U> for T <span class="where fmt-newline">where<br> U: <a class="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><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Error-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-1" class="anchor"></a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error" class="associatedtype">Error</a> = <U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="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><div class='docblock'><p>The type returned in the event of a conversion error.</p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.try_into" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/88674" title="Tracking issue for const_convert">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#589">source</a></span><a href="#method.try_into" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#tymethod.try_into" class="fnname">try_into</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><U, <U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="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><div class='docblock'><p>Performs the conversion.</p>
|
||
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-VZip%3CV%3E" class="impl has-srclink"><a href="#impl-VZip%3CV%3E" class="anchor"></a><h3 class="code-header in-band">impl<V, T> VZip<V> for T <span class="where fmt-newline">where<br> V: MultiLane<T>, </span></h3></section></summary><div class="impl-items"><section id="method.vzip" class="method trait-impl has-srclink"><a href="#method.vzip" class="anchor"></a><h4 class="code-header">fn <a class="fnname">vzip</a>(self) -> V</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-WithSubscriber" class="impl has-srclink"><span class="rightside"><a class="srclink" href="https://docs.rs/tracing/0.1.35/src/tracing/instrument.rs.html#334">source</a></span><a href="#impl-WithSubscriber" class="anchor"></a><h3 class="code-header in-band">impl<T> <a class="trait" href="https://docs.rs/tracing/0.1.35/tracing/instrument/trait.WithSubscriber.html" title="trait tracing::instrument::WithSubscriber">WithSubscriber</a> for T</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.with_subscriber" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="https://docs.rs/tracing/0.1.35/src/tracing/instrument.rs.html#169-171">source</a></span><a href="#method.with_subscriber" class="anchor"></a><h4 class="code-header">fn <a href="https://docs.rs/tracing/0.1.35/tracing/instrument/trait.WithSubscriber.html#method.with_subscriber" class="fnname">with_subscriber</a><S>(self, subscriber: S) -> <a class="struct" href="https://docs.rs/tracing/0.1.35/tracing/instrument/struct.WithDispatch.html" title="struct tracing::instrument::WithDispatch">WithDispatch</a><Self> <span class="where fmt-newline">where<br> S: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><<a class="struct" href="https://docs.rs/tracing-core/0.1.22/tracing_core/dispatcher/struct.Dispatch.html" title="struct tracing_core::dispatcher::Dispatch">Dispatch</a>>, </span></h4></section></summary><div class='docblock'><p>Attaches the provided <a href="https://docs.rs/tracing-core/0.1.22/tracing_core/subscriber/trait.Subscriber.html"><code>Subscriber</code></a> to this type, returning a
|
||
<a href="https://docs.rs/tracing/0.1.35/tracing/instrument/struct.WithDispatch.html" title="WithDispatch"><code>WithDispatch</code></a> wrapper. <a href="https://docs.rs/tracing/0.1.35/tracing/instrument/trait.WithSubscriber.html#method.with_subscriber">Read more</a></p>
|
||
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.with_current_subscriber" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="https://docs.rs/tracing/0.1.35/src/tracing/instrument.rs.html#221">source</a></span><a href="#method.with_current_subscriber" class="anchor"></a><h4 class="code-header">fn <a href="https://docs.rs/tracing/0.1.35/tracing/instrument/trait.WithSubscriber.html#method.with_current_subscriber" class="fnname">with_current_subscriber</a>(self) -> <a class="struct" href="https://docs.rs/tracing/0.1.35/tracing/instrument/struct.WithDispatch.html" title="struct tracing::instrument::WithDispatch">WithDispatch</a><Self></h4></section></summary><div class='docblock'><p>Attaches the current <a href="https://docs.rs/tracing/0.1.35/tracing/dispatcher/index.html#setting-the-default-subscriber">default</a> <a href="https://docs.rs/tracing-core/0.1.22/tracing_core/subscriber/trait.Subscriber.html"><code>Subscriber</code></a> to this type, returning a
|
||
<a href="https://docs.rs/tracing/0.1.35/tracing/instrument/struct.WithDispatch.html" title="WithDispatch"><code>WithDispatch</code></a> wrapper. <a href="https://docs.rs/tracing/0.1.35/tracing/instrument/trait.WithSubscriber.html#method.with_current_subscriber">Read more</a></p>
|
||
</div></details></div></details></div></section></div></main><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="halo2_gadgets" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.63.0-nightly (10f4ce324 2022-06-22)" ></div>
|
||
</body></html> |