<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="Type marker representing a full-width scalar for use in fixed-base scalar multiplication."><metaname="keywords"content="rust, rustlang, rust-lang, FullScalar"><title>FullScalar in halo2_gadgets::ecc::chip - Rust</title><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../../../SourceSerif4-Regular.ttf.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../../../FiraSans-Regular.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../../../FiraSans-Medium.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../../../SourceCodePro-Regular.ttf.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../../../SourceSerif4-Bold.ttf.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../../../SourceCodePro-Semibold.ttf.woff2"><linkrel="stylesheet"href="../../../normalize.css"><linkrel="stylesheet"href="../../../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"href="../../../ayu.css"disabled><linkrel="stylesheet"href="../../../dark.css"disabled><linkrel="stylesheet"href="../../../light.css"id="themeStyle"><scriptid="default-settings"></script><scriptsrc="../../../storage.js"></script><scriptdefersrc="sidebar-items.js"></script><scriptdefersrc="../../../main.js"></script><noscript><linkrel="stylesheet"href="../../../noscript.css"></noscript><linkrel="alternate icon"type="image/png"href="../../../favicon-16x16.png"><linkrel="alternate icon"type="image/png"href="../../../favicon-32x32.png"><linkrel="icon"type="image/svg+xml"href="../../../favicon.svg"><linkrel="stylesheet"href="https://cdn.jsdelivr.net/npm/katex@0.10.0/dist/katex.min.css"integrity="sha384-9eLZqc9ds8eNjO3TmqPeYcDj8n+Qfa4nuSiGYa6DjLNcv9BtN69ZIulL9+8CqC9Y"crossorigin="anonymous">
</head><bodyclass="rustdoc enum"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="mobile-topbar"><buttonclass="sidebar-menu-toggle">☰</button><aclass="sidebar-logo"href="../../../halo2_gadgets/index.html"><divclass="logo-container"><imgclass="rust-logo"src="../../../rust-logo.svg"alt="logo"></div></a><h2class="location"></h2></nav><navclass="sidebar"><aclass="sidebar-logo"href="../../../halo2_gadgets/index.html"><divclass="logo-container"><imgclass="rust-logo"src="../../../rust-logo.svg"alt="logo"></div></a><h2class="location"><ahref="#">FullScalar</a></h2><divclass="sidebar-elems"><section><divclass="block"><h3class="sidebar-title"><ahref="#trait-implementations">Trait Implementations</a></h3><ul><li><ahref="#impl-Debug-for-FullScalar">Debug</a></li><li><ahref="#impl-FixedScalarKind-for-FullScalar">FixedScalarKind</a></li></ul></div><divclass="block"><h3class="sidebar-title"><ahref="#synthetic-implementations">Auto Trait Implementations</a></h3><ul><li><ahref="#impl-RefUnwindSafe-for-FullScalar">RefUnwindSafe</a></li><li><ahref="#impl-Send-for-FullScalar">Send</a></li><li><ahref="#impl-Sync-for-FullScalar">Sync</a></li><li><ahref="#impl-Unpin-for-FullScalar">Unpin</a></li><li><ahref="#impl-UnwindSafe-for-FullScalar">UnwindSafe</a></li></ul></div><divclass="block"><h3class="sidebar-title"><ahref="#blanket-implementations">Blanket Implementations</a></h3><ul><li><ahref="#impl-Any-for-FullScalar">Any</a></li><li><ahref="#impl-Borrow%3CT%3E-for-FullScalar">Borrow<T></a></li><li><ahref="#impl-BorrowMut%3CT%3E-for-FullScalar">BorrowMut<T></a></li><li><ahref="#impl-Conv-for-FullScalar">Conv</a></li><li><ahref="#impl-FmtForward-for-FullScalar">FmtForward</a></li><li><ahref="#impl-From%3CT%3E-for-FullScalar">From<T></a></li><li><ahref="#impl-Instrument-for-FullScalar">Instrument</a></li><li><ahref="#impl-Into%3CU%3E-for-FullScalar">Into<U></a></li><li><ahref="#impl-Pipe-for-FullScalar">Pipe</a></li><li><ahref="#impl-Pointable-for-FullScalar">Pointable</a></li><li><ahref="#impl-Tap-for-FullScalar">Tap</a></li><li><ahref="#impl-TryConv-for-FullScalar">TryConv</a></li><li><ahref="#impl-TryFrom%3CU%3E-for-FullScalar">TryFrom<U></a></li><li><ahref="#impl-TryInto%3CU%3E-for-FullScalar">TryInto<U></a></li><li><ahref="#impl-VZip%3CV%3E-for-FullScalar">VZip<V></a></li><li><ahref="#impl-WithSubscriber-for-FullScalar">WithSubscriber</a></li></ul></div></section><h2class="location"><ahref="index.html">In halo2_gadgets::ecc::chip</a></h2></div></nav><main><divclass="width-limiter"><divclass="sub-container"><aclass="sub-logo-container"href="../../../halo2_gadgets/index.html"><imgclass="rust-logo"src="../../../rust-logo.svg"alt="logo"></a><navclass="sub"><formclass="search-form"><divclass="search-container"><span></span><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"><divid="help-button"title="help"tabindex="-1"><buttontype="button">?</button></div><divid="settings-menu"tabindex="-1"><ahref="../../../settings.html"title="settings"><imgwidth="22"height="22"alt="Change settings"src="../../../wheel.svg"></a></div></div></form></nav></div><sectionid="main-content"class="content"><divclass="main-heading"><h1class="fqn"><spanclass="in-band">Enum <ahref="../../index.html">halo2_gadgets</a>::<wbr><ahref="../index.html">ecc</a>::<wbr><ahref="index.html">chip</a>::<wbr><aclass="enum"href="#">FullScalar</a><buttonid="copy-path"onclick="copy_path(this)"title="Copy item path to clipboard"><imgsrc="../../../clipboard.svg"width="19"height="18"alt="Copy item path"></button></span></h1><spanclass="out-of-band"><aclass="srclink"href="../../../src/halo2_gadgets/ecc/chip.rs.html#178">source</a> · <aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass="inner">−</span>]
</div></details><h2id="trait-implementations"class="small-section-header">Trait Implementations<ahref="#trait-implementations"class="anchor"></a></h2><divid="trait-implementations-list"><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-Debug-for-FullScalar"class="impl has-srclink"><aclass="srclink rightside"href="../../../src/halo2_gadgets/ecc/chip.rs.html#177">source</a><ahref="#impl-Debug-for-FullScalar"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html"title="trait core::fmt::Debug">Debug</a> for <aclass="enum"href="enum.FullScalar.html"title="enum halo2_gadgets::ecc::chip::FullScalar">FullScalar</a></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.fmt"class="method trait-impl has-srclink"><aclass="srclink rightside"href="../../../src/halo2_gadgets/ecc/chip.rs.html#177">source</a><ahref="#method.fmt"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt"class="fnname">fmt</a>(&self, f: &mut <aclass="struct"href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html"title="struct core::fmt::Formatter">Formatter</a><'_>) -><aclass="type"href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html"title="type core::fmt::Result">Result</a></h4></section></summary><divclass='docblock'>Formats the value using the given formatter. <ahref="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-FixedScalarKind-for-FullScalar"class="impl has-srclink"><aclass="srclink rightside"href="../../../src/halo2_gadgets/ecc/chip.rs.html#179-181">source</a><ahref="#impl-FixedScalarKind-for-FullScalar"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="trait.FixedScalarKind.html"title="trait halo2_gadgets::ecc::chip::FixedScalarKind">FixedScalarKind</a> for <aclass="enum"href="enum.FullScalar.html"title="enum halo2_gadgets::ecc::chip::FullScalar">FullScalar</a></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle"open><summary><sectionid="associatedconstant.NUM_WINDOWS"class="associatedconstant trait-impl has-srclink"><aclass="srclink rightside"href="../../../src/halo2_gadgets/ecc/chip.rs.html#180">source</a><ahref="#associatedconstant.NUM_WINDOWS"class="anchor"></a><h4class="code-header">const <ahref="trait.FixedScalarKind.html#associatedconstant.NUM_WINDOWS"class="constant">NUM_WINDOWS</a>: <aclass="primitive"href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a> = 85usize</h4></section></summary><divclass='docblock'>The number of windows that this scalar kind requires.</div></details></div></details></div><h2id="synthetic-implementations"class="small-section-header">Auto Trait Implementations<ahref="#synthetic-implementations"class="anchor"></a></h2><divid="synthetic-implementations-list"><sectionid="impl-RefUnwindSafe-for-FullScalar"class="impl has-srclink"><ahref="#impl-RefUnwindSafe-for-FullScalar"class="anchor"></a><h3class="code-header in-band">impl <aclass="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 <aclass="enum"href="enum.FullScalar.html"title="enum halo2_gadgets::ecc::chip::FullScalar">FullScalar</a></h3></section><sectionid="impl-Send-for-FullScalar"class="impl has-srclink"><ahref="#impl-Send-for-FullScalar"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html"title="trait core::marker::Send">Send</a> for <aclass="enum"href="enum.FullScalar.html"title="enum halo2_gadgets::ecc::chip::FullScalar">FullScalar</a></h3></section><
<code>Debug</code>-formatted. <a>Read more</a></div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.fmt_lower_exp"class="method trait-impl has-srclink"><ahref="#method.fmt_lower_exp"class="anchor"></a><h4class="code-header">fn <aclass="fnname">fmt_lower_exp</a>(self) -> FmtLowerExp<Self><spanclass="where fmt-newline">where<br> Self: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/fmt/trait.LowerExp.html"title="trait core::fmt::LowerExp">LowerExp</a>,</span></h4></section></summary><divclass='docblock'>Causes <code>self</code> to use its <code>LowerExp</code> implementation when
<code>Debug</code>-formatted. <a>Read more</a></div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.fmt_lower_hex"class="method trait-impl has-srclink"><ahref="#method.fmt_lower_hex"class="anchor"></a><h4class="code-header">fn <aclass="fnname">fmt_lower_hex</a>(self) -> FmtLowerHex<Self><spanclass="where fmt-newline">where<br> Self: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/fmt/trait.LowerHex.html"title="trait core::fmt::LowerHex">LowerHex</a>,</span></h4></section></summary><divclass='docblock'>Causes <code>self</code> to use its <code>LowerHex</code> implementation when
<code>Debug</code>-formatted. <a>Read more</a></div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.fmt_octal"class="method trait-impl has-srclink"><ahref="#method.fmt_octal"class="anchor"></a><h4class="code-header">fn <aclass="fnname">fmt_octal</a>(self) -> FmtOctal<Self><spanclass="where fmt-newline">where<br> Self: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/fmt/trait.Octal.html"title="trait core::fmt::Octal">Octal</a>,</span></h4></section></summary><divclass='docblock'>Causes <code>self</code> to use its <code>Octal</code> implementation when <code>Debug</code>-formatted. <a>Read more</a></div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.fmt_pointer"class="method trait-impl has-srclink"><ahref="#method.fmt_pointer"class="anchor"></a><h4class="code-header">fn <aclass="fnname">fmt_pointer</a>(self) -> FmtPointer<Self><spanclass="where fmt-newline">where<br> Self: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/fmt/trait.Pointer.html"title="trait core::fmt::Pointer">Pointer</a>,</span></h4></section></summary><divclass='docblock'>Causes <code>self</code> to use its <code>Pointer</code> implementation when
<code>Debug</code>-formatted. <a>Read more</a></div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.fmt_upper_exp"class="method trait-impl has-srclink"><ahref="#method.fmt_upper_exp"class="anchor"></a><h4class="code-header">fn <aclass="fnname">fmt_upper_exp</a>(self) -> FmtUpperExp<Self><spanclass="where fmt-newline">where<br> Self: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/fmt/trait.UpperExp.html"title="trait core::fmt::UpperExp">UpperExp</a>,</span></h4></section></summary><divclass='docblock'>Causes <code>self</code> to use its <code>UpperExp</code> implementation when
<code>Debug</code>-formatted. <a>Read more</a></div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.fmt_upper_hex"class="method trait-impl has-srclink"><ahref="#method.fmt_upper_hex"class="anchor"></a><h4class="code-header">fn <aclass="fnname">fmt_upper_hex</a>(self) -> FmtUpperHex<Self><spanclass="where fmt-newline">where<br> Self: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/fmt/trait.UpperHex.html"title="trait core::fmt::UpperHex">UpperHex</a>,</span></h4></section></summary><divclass='docblock'>Causes <code>self</code> to use its <code>UpperHex</code> implementation when
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-Instrument-for-FullScalar"class="impl has-srclink"><aclass="srclink rightside"href="https://docs.rs/tracing/0.1.36/src/tracing/instrument.rs.html#276">source</a><ahref="#impl-Instrument-for-FullScalar"class="anchor"></a><h3class="code-header in-band">impl<T><aclass="trait"href="https://docs.rs/tracing/0.1.36/tracing/instrument/trait.Instrument.html"title="trait tracing::instrument::Instrument">Instrument</a> for T</h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.instrument"class="method trait-impl has-srclink"><aclass="srclink rightside"href="https://docs.rs/tracing/0.1.36/src/tracing/instrument.rs.html#82">source</a><ahref="#method.instrument"class="anchor"></a><h4class="code-header">fn <ahref="https://docs.rs/tracing/0.1.36/tracing/instrument/trait.Instrument.html#method.instrument"class="fnname">instrument</a>(self, span: <aclass="struct"href="https://docs.rs/tracing/0.1.36/tracing/span/struct.Span.html"title="struct tracing::span::Span">Span</a>) -><aclass="struct"href="https://docs.rs/tracing/0.1.36/tracing/instrument/struct.Instrumented.html"title="struct tracing::instrument::Instrumented">Instrumented</a><Self></h4></section></summary><divclass='docblock'>Instruments this type with the provided <ahref="https://docs.rs/tracing/0.1.36/tracing/span/struct.Span.html"title="Span"><code>Span</code></a>, returning an
<code>Instrumented</code> wrapper. <ahref="https://docs.rs/tracing/0.1.36/tracing/instrument/trait.Instrument.html#method.instrument">Read more</a></div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.in_current_span"class="method trait-impl has-srclink"><aclass="srclink rightside"href="https://docs.rs/tracing/0.1.36/src/tracing/instrument.rs.html#121">source</a><ahref="#method.in_current_span"class="anchor"></a><h4class="code-header">fn <ahref="https://docs.rs/tracing/0.1.36/tracing/instrument/trait.Instrument.html#method.in_current_span"class="fnname">in_current_span</a>(self) -><aclass="struct"href="https://docs.rs/tracing/0.1.36/tracing/instrument/struct.Instrumented.html"title="struct tracing::instrument::Instrumented">Instrumented</a><Self></h4></section></summary><divclass='docblock'>Instruments this type with the <ahref="https://docs.rs/tracing/0.1.36/tracing/span/struct.Span.html#method.current">current</a><ahref="https://docs.rs/tracing/0.1.36/tracing/span/struct.Span.html"><code>Span</code></a>, returning an
<ahref="https://docs.rs/tracing/0.1.36/tracing/instrument/struct.WithDispatch.html"title="WithDispatch"><code>WithDispatch</code></a> wrapper. <ahref="https://docs.rs/tracing/0.1.36/tracing/instrument/trait.WithSubscriber.html#method.with_subscriber">Read more</a></div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.with_current_subscriber"class="method trait-impl has-srclink"><aclass="srclink rightside"href="https://docs.rs/tracing/0.1.36/src/tracing/instrument.rs.html#221">source</a><ahref="#method.with_current_subscriber"class="anchor"></a><h4class="code-header">fn <ahref="https://docs.rs/tracing/0.1.36/tracing/instrument/trait.WithSubscriber.html#method.with_current_subscriber"class="fnname">with_current_subscriber</a>(self) -><aclass="struct"href="https://docs.rs/tracing/0.1.36/tracing/instrument/struct.WithDispatch.html"title="struct tracing::instrument::WithDispatch">WithDispatch</a><Self></h4></section></summary><divclass='docblock'>Attaches the current <ahref="https://docs.rs/tracing/0.1.36/tracing/dispatcher/index.html#setting-the-default-subscriber">default</a><ahref="https://docs.rs/tracing-core/0.1.22/tracing_core/subscriber/trait.Subscriber.html"><code>Subscriber</code></a> to this type, returning a