2022-09-02 08:32:04 -07:00
<!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 individual polynomial constraint." > < meta name = "keywords" content = "rust, rustlang, rust-lang, Constraint" > < title > Constraint in halo2_proofs::plonk - Rust< / title > < link rel = "preload" as = "font" type = "font/woff2" crossorigin href = "../../SourceSerif4-Regular.ttf.woff2" > < link rel = "preload" as = "font" type = "font/woff2" crossorigin href = "../../FiraSans-Regular.woff2" > < link rel = "preload" as = "font" type = "font/woff2" crossorigin href = "../../FiraSans-Medium.woff2" > < link rel = "preload" as = "font" type = "font/woff2" crossorigin href = "../../SourceCodePro-Regular.ttf.woff2" > < link rel = "preload" as = "font" type = "font/woff2" crossorigin href = "../../SourceSerif4-Bold.ttf.woff2" > < link rel = "preload" as = "font" type = "font/woff2" crossorigin href = "../../SourceCodePro-Semibold.ttf.woff2" > < link rel = "stylesheet" href = "../../normalize.css" > < link rel = "stylesheet" href = "../../rustdoc.css" id = "mainThemeStyle" > < link rel = "stylesheet" href = "../../ayu.css" disabled > < link rel = "stylesheet" href = "../../dark.css" disabled > < link rel = "stylesheet" href = "../../light.css" id = "themeStyle" > < script id = "default-settings" > < / script > < script src = "../../storage.js" > < / script > < script defer src = "sidebar-items.js" > < / script > < script defer src = "../../main.js" > < / script > < noscript > < link rel = "stylesheet" href = "../../noscript.css" > < / noscript > < link rel = "alternate icon" type = "image/png" href = "../../favicon-16x16.png" > < link rel = "alternate icon" type = "image/png" href = "../../favicon-32x32.png" > < link rel = "icon" type = "image/svg+xml" href = "../../favicon.svg" > < link rel = "stylesheet" href = "https://cdn.jsdelivr.net/npm/katex@0.10.0/dist/katex.min.css" integrity = "sha384-9eLZqc9ds8eNjO3TmqPeYcDj8n+Qfa4nuSiGYa6DjLNcv9BtN69ZIulL9+8CqC9Y" crossorigin = "anonymous" >
2021-07-09 12:30:49 -07:00
< 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 >
2022-09-26 05:20:20 -07:00
< / 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_proofs/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_proofs/index.html" > < div class = "logo-container" > < img class = "rust-logo" src = "../../rust-logo.svg" alt = "logo" > < / div > < / a > < h2 class = "location" > < a href = "#" > Constraint< / a > < / h2 > < div class = "sidebar-elems" > < section > < div class = "block" > < h3 class = "sidebar-title" > < a href = "#trait-implementations" > Trait Implementations< / a > < / h3 > < ul > < li > < a href = "#impl-Debug-for-Constraint%3CF%3E" > Debug< / a > < / li > < li > < a href = "#impl-From%3C(%26%27static%20str%2C%20Expression%3CF%3E)%3E-for-Constraint%3CF%3E" > From< (& ' static str, Expression< F> )> < / a > < / li > < li > < a href = "#impl-From%3CExpression%3CF%3E%3E-for-Constraint%3CF%3E" > From< Expression< F> > < / 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-for-Constraint%3CF%3E" > RefUnwindSafe< / a > < / li > < li > < a href = "#impl-Send-for-Constraint%3CF%3E" > Send< / a > < / li > < li > < a href = "#impl-Sync-for-Constraint%3CF%3E" > Sync< / a > < / li > < li > < a href = "#impl-Unpin-for-Constraint%3CF%3E" > Unpin< / a > < / li > < li > < a href = "#impl-UnwindSafe-for-Constraint%3CF%3E" > 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-for-Constraint%3CF%3E" > Any< / a > < / li > < li > < a href = "#impl-Borrow%3CT%3E-for-Constraint%3CF%3E" > Borrow< T> < / a > < / li > < li > < a href = "#impl-BorrowMut%3CT%3E-for-Constraint%3CF%3E" > BorrowMut< T> < / a > < / li > < li > < a href = "#impl-Conv-for-Constraint%3CF%3E" > Conv< / a > < / li > < li > < a href = "#impl-FmtForward-for-Constraint%3CF%3E" > FmtForward< / a > < / li > < li > < a href = "#impl-From%3CT%3E-for-Constraint%3CF%3E" > From< T> < / a > < / li > < li > < a href = "#impl-Instrument-for-Constraint%3CF%3E" > Instrument< / a > < / li > < li > < a href = "#impl-Into%3CU%3E-for-Constraint%3CF%3E" > Into< U> < / a > < / li > < li > < a href = "#impl-Pipe-for-Constraint%3CF%3E" > Pipe< / a > < / li > < li > < a href = "#impl-Pointable-for-Constraint%3CF%3E" > Pointable< / a > < / li > < li > < a href = "#impl-Tap-for-Constraint%3CF%3E" > Tap< / a > < / li > < li > < a href = "#impl-TryConv-for-Constraint%3CF%3E" > TryConv< / a > < / li > < li > < a href = "#impl-TryFrom%3CU%3E-for-Constraint%3CF%3E" > TryFrom< U> < / a > < / li > < li > < a href = "#impl-TryInto%3CU%3E-for-Constraint%3CF%3E" > TryInto< U> < / a > < / li > < li > < a href = "#impl-VZip%3CV%3E-for-Constraint%3CF%3E" > VZip< V> < / a > < / li > < li > < a href = "#impl-WithSubscriber-for-Constraint%3CF%3E" > WithSubscriber< / a > < / li > < / ul > < / div > < / section > < h2 class = "location" > < a href = "index.html" > In halo2_proofs::plonk< / a > < / h2 > < / div > < / nav > < main > < div class = "width-limiter" > < div class = "sub-container" > < a class = "sub-logo-container" href = "../../halo2_proofs/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" > < div id = "help-button" title = "help" tabindex = "-1" > < button type = "button" > ?< / button > < / div > < div id = "settings-menu" tabindex = "-1" > < a href = "../../settings.html" title = "settings" > < img width = "22" height = "22" alt = "Change settings" src = "../../wheel.svg" > < / a > < / div > < / div > < / form > < / nav > < / div > < section id = "main-content" class = "content" > < div class = "main-heading" > < h1 class = "fqn" > < span class = "in-band" > Struct < a href = "../index.html" > halo2_proofs< / a > ::< wbr > < a href = "index.html" > plonk< / a > ::< wbr > < a class = "struct" href = "#" > Constraint< / a > < button id = "copy-path" onclick = "copy_path(this)" title = "Copy item path to clipboard" > < img src = "../../clipboard.svg" width = "19" he
2021-07-09 12:30:49 -07:00
< p > These are returned by the closures passed to < code > ConstraintSystem::create_gate< / code > .< / p >
2022-09-26 05:20:20 -07:00
< / div > < / details > < 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-Debug-for-Constraint%3CF%3E" class = "impl has-srclink" > < a class = "srclink rightside" href = "../../src/halo2_proofs/plonk/circuit.rs.html#792" > source< / a > < a href = "#impl-Debug-for-Constraint%3CF%3E" class = "anchor" > < / a > < h3 class = "code-header in-band" > impl< F: < 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 = "../arithmetic/trait.Field.html" title = "trait halo2_proofs::arithmetic::Field" > Field< / a > > < 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.Constraint.html" title = "struct halo2_proofs::plonk::Constraint" > Constraint< / a > < F> < / 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" > < a class = "srclink rightside" href = "../../src/halo2_proofs/plonk/circuit.rs.html#792" > source< / a > < 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' > 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 > < / div > < / details > < / div > < / details > < details class = "rustdoc-toggle implementors-toggle" open > < summary > < section id = "impl-From%3C(%26%27static%20str%2C%20Expression%3CF%3E)%3E-for-Constraint%3CF%3E" class = "impl has-srclink" > < a class = "srclink rightside" href = "../../src/halo2_proofs/plonk/circuit.rs.html#804-808" > source< / a > < a href = "#impl-From%3C(%26%27static%20str%2C%20Expression%3CF%3E)%3E-for-Constraint%3CF%3E" class = "anchor" > < / a > < h3 class = "code-header in-band" > impl< F: < a class = "trait" href = "../arithmetic/trait.Field.html" title = "trait halo2_proofs::arithmetic::Field" > Field< / a > > < a class = "trait" href = "https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title = "trait core::convert::From" > From< / a > < (& 'static < a class = "primitive" href = "https://doc.rust-lang.org/nightly/std/primitive.str.html" > str< / a > , < a class = "enum" href = "enum.Expression.html" title = "enum halo2_proofs::plonk::Expression" > Expression< / a > < F> )> for < a class = "struct" href = "struct.Constraint.html" title = "struct halo2_proofs::plonk::Constraint" > Constraint< / a > < F> < / h3 > < / section > < / summary > < div class = "impl-items" > < details class = "rustdoc-toggle method-toggle" open > < summary > < section id = "method.from-1" class = "method trait-impl has-srclink" > < a class = "srclink rightside" href = "../../src/halo2_proofs/plonk/circuit.rs.html#805-807" > source< / a > < a href = "#method.from-1" 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 > ((name, poly): (& 'static < a class = "primitive" href = "https://doc.rust-lang.org/nightly/std/primitive.str.html" > str< / a > , < a class = "enum" href = "enum.Expression.html" title = "enum halo2_proofs::plonk::Expression" > Expression< / a > < F> )) -> Self< / h4 > < / section > < / summary > < div class = 'docblock' > Converts to this type from the input type.< / div > < / details > < / div > < / details > < details class = "rustdoc-toggle implementors-toggle" open > < summary > < section id = "impl-From%3CExpression%3CF%3E%3E-for-Constraint%3CF%3E" class = "impl has-srclink" > < a class = "srclink rightside" href = "../../src/halo2_proofs/plonk/circuit.rs.html#79
2022-09-20 15:38:17 -07:00
< code > Debug< / code > -formatted. < a > Read more< / a > < / 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' > Causes < code > self< / code > to use its < code > LowerExp< / code > implementation when
< code > Debug< / code > -formatted. < a > Read more< / a > < / 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' > Causes < code > self< / code > to use its < code > LowerHex< / code > implementation when
< code > Debug< / code > -formatted. < a > Read more< / a > < / 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' > Causes < code > self< / code > to use its < code > Octal< / code > implementation when < code > Debug< / code > -formatted. < a > Read more< / a > < / 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' > Causes < code > self< / code > to use its < code > Pointer< / code > implementation when
< code > Debug< / code > -formatted. < a > Read more< / a > < / 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' > Causes < code > self< / code > to use its < code > UpperExp< / code > implementation when
< code > Debug< / code > -formatted. < a > Read more< / a > < / 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' > Causes < code > self< / code > to use its < code > UpperHex< / code > implementation when
2022-09-26 05:20:20 -07:00
< code > Debug< / code > -formatted. < a > Read more< / a > < / 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' > Formats each item in a sequence. < a > Read more< / a > < / div > < / details > < / div > < / details > < details class = "rustdoc-toggle implementors-toggle" > < summary > < section id = "impl-From%3CT%3E-for-Constraint%3CF%3E" class = "impl has-srclink" > < a class = "srclink rightside" href = "https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#565" > source< / a > < a href = "#impl-From%3CT%3E-for-Constraint%3CF%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-2" 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#568" > source< / a > < / span > < a href = "#method.from-2" 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 >
2022-09-20 15:38:17 -07:00
< / div > < / details > < / div > < / details > < details class = "rustdoc-toggle implementors-toggle" > < summary > < section id = "impl-Instrument-for-Constraint%3CF%3E" class = "impl has-srclink" > < a class = "srclink rightside" href = "https://docs.rs/tracing/0.1.36/src/tracing/instrument.rs.html#276" > source< / a > < a href = "#impl-Instrument-for-Constraint%3CF%3E" class = "anchor" > < / a > < h3 class = "code-header in-band" > impl< T> < a class = "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 > < div class = "impl-items" > < details class = "rustdoc-toggle method-toggle" open > < summary > < section id = "method.instrument" class = "method trait-impl has-srclink" > < a class = "srclink rightside" href = "https://docs.rs/tracing/0.1.36/src/tracing/instrument.rs.html#82" > source< / a > < a href = "#method.instrument" class = "anchor" > < / a > < h4 class = "code-header" > fn < a href = "https://docs.rs/tracing/0.1.36/tracing/instrument/trait.Instrument.html#method.instrument" class = "fnname" > instrument< / a > (self, span: < a class = "struct" href = "https://docs.rs/tracing/0.1.36/tracing/span/struct.Span.html" title = "struct tracing::span::Span" > Span< / a > ) -> < a class = "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 > < div class = 'docblock' > Instruments this type with the provided < a href = "https://docs.rs/tracing/0.1.36/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.36/tracing/instrument/trait.Instrument.html#method.instrument" > Read more< / a > < / div > < / details > < details class = "rustdoc-toggle method-toggle" open > < summary > < section id = "method.in_current_span" class = "method trait-impl has-srclink" > < a class = "srclink rightside" href = "https://docs.rs/tracing/0.1.36/src/tracing/instrument.rs.html#121" > source< / a > < a href = "#method.in_current_span" class = "anchor" > < / a > < h4 class = "code-header" > fn < a href = "https://docs.rs/tracing/0.1.36/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.36/tracing/instrument/struct.Instrumented.html" title = "struct tracing::instrument::Instrumented" > Instrumented< / a > < Self> < / h4 > < / section > < / summary > < div class = 'docblock' > Instruments this type with the < a href = "https://docs.rs/tracing/0.1.36/tracing/span/struct.Span.html#method.current" > current< / a > < a href = "https://docs.rs/tracing/0.1.36/tracing/span/struct.Span.html" > < code > Span< / code > < / a > , returning an
2022-09-26 05:20:20 -07:00
< code > Instrumented< / code > wrapper. < a href = "https://docs.rs/tracing/0.1.36/tracing/instrument/trait.Instrument.html#method.in_current_span" > Read more< / a > < / div > < / details > < / div > < / details > < details class = "rustdoc-toggle implementors-toggle" > < summary > < section id = "impl-Into%3CU%3E-for-Constraint%3CF%3E" class = "impl has-srclink" > < a class = "srclink rightside" href = "https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#549" > source< / a > < a href = "#impl-Into%3CU%3E-for-Constraint%3CF%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#557" > 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 >
2022-04-24 16:22:22 -07:00
< 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 >
2022-09-20 15:38:17 -07:00
< / div > < / details > < / div > < / details > < details class = "rustdoc-toggle implementors-toggle" > < summary > < section id = "impl-Pipe-for-Constraint%3CF%3E" class = "impl has-srclink" > < a href = "#impl-Pipe-for-Constraint%3CF%3E" 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' > Pipes by value. This is generally the method you want to use. < a > Read more< / a > < / 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' > Borrows < code > self< / code > and passes that borrow into the pipe function. < a > Read more< / a > < / 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' > Mutably borrows < code > self< / code > and passes that borrow into the pipe function. < a > Read more< / a > < / 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' > Borrows < code > self< / code > , then passes < code > self.borrow()< / code > into the pipe function. < a > Read more< / a > < / 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 > &
function. < a > Read more< / a > < / 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' > Borrows < code > self< / code > , then passes < code > self.as_ref()< / code > into the pipe function.< / 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' > Mutably borrows < code > self< / code > , then passes < code > self.as_mut()< / code > into the pipe
function. < a > Read more< / a > < / 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' > Borrows < code > self< / code > , then passes < code > self.deref()< / code > into the pipe function.< / 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> (& '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 > 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.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' > Mutably borrows < code > self< / code > , then passes < code > self.deref_mut()< / code > into the pipe
function. < a > Read more< / a > < / div > < / details > < / div > < / details > < details class = "rustdoc-toggle implementors-toggle" > < summary > < section id = "impl-Pointable-for-Constraint%3CF%3E" class = "impl has-srclink" > < a href = "#impl-Pointable-for-Constraint%3CF%3E" 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' > The alignment of pointer.< / 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' > The type for initializers.< / 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' > Initializes a with the given initializer. < a > Read more< / a > < / 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' > Dereferences the given pointer. < a > Read more< / a > < / 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' > Mutably dereferences the given pointer. < a > Read more< / a > < / 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' > Drops the object pointed to by the given pointer. < a > Read more< / a > < / div > < / details > < / div > < / details > < details class = "rustdoc-toggle implementors-toggle" > < summary > < section id = "impl-Tap-for-Constraint%3CF%3E" class = "impl has-srclink" > < a href = "#impl-Tap-for-Constraint%3CF%3E" 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 < 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 > < /summ
builds. < a > Read more< / a > < / 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 < 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' > Calls < code > .tap_borrow()< / code > only in debug builds, and is erased in release
builds. < a > Read more< / a > < / 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 < 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' > Calls < code > .tap_borrow_mut()< / code > only in debug builds, and is erased in release
builds. < a > Read more< / a > < / 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 < 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' > Calls < code > .tap_ref()< / code > only in debug builds, and is erased in release
builds. < a > Read more< / a > < / 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 < 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' > Calls < code > .tap_ref_mut()< / code > only in debug builds, and is erased in release
builds. < a > Read more< / a > < / 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 < 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' > Calls < code > .tap_deref()< / code > only in debug builds, and is erased in release
builds. < a > Read more< / a > < / 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 < 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' > Calls < code > .tap_deref_mut()< / code > only in debug builds, and is erased in release
2022-09-26 05:20:20 -07:00
builds. < a > Read more< / a > < / div > < / details > < / div > < / details > < details class = "rustdoc-toggle implementors-toggle" > < summary > < section id = "impl-TryConv-for-Constraint%3CF%3E" class = "impl has-srclink" > < a href = "#impl-TryConv-for-Constraint%3CF%3E" 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' > Attempts to convert < code > self< / code > into < code > T< / code > using < code > TryInto< T> < / code > . < a > Read more< / a > < / div > < / details > < / div > < / details > < details class = "rustdoc-toggle implementors-toggle" > < summary > < section id = "impl-TryFrom%3CU%3E-for-Constraint%3CF%3E" class = "impl has-srclink" > < a class = "srclink rightside" href = "https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#607" > source< / a > < a href = "#impl-TryFrom%3CU%3E-for-Constraint%3CF%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-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.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' > The type returned in the event of a conversion error.< / 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#613" > 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' > Performs the conversion.< / div > < / details > < / div > < / details > < details class = "rustdoc-toggle implementors-toggle" > < summary > < section id = "impl-TryInto%3CU%3E-for-Constraint%3CF%3E" class = "im
2022-09-20 15:38:17 -07:00
< a href = "https://docs.rs/tracing/0.1.36/tracing/instrument/struct.WithDispatch.html" title = "WithDispatch" > < code > WithDispatch< / code > < / a > wrapper. < a href = "https://docs.rs/tracing/0.1.36/tracing/instrument/trait.WithSubscriber.html#method.with_subscriber" > Read more< / a > < / div > < / details > < details class = "rustdoc-toggle method-toggle" open > < summary > < section id = "method.with_current_subscriber" class = "method trait-impl has-srclink" > < a class = "srclink rightside" href = "https://docs.rs/tracing/0.1.36/src/tracing/instrument.rs.html#221" > source< / a > < a href = "#method.with_current_subscriber" class = "anchor" > < / a > < h4 class = "code-header" > fn < a href = "https://docs.rs/tracing/0.1.36/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.36/tracing/instrument/struct.WithDispatch.html" title = "struct tracing::instrument::WithDispatch" > WithDispatch< / a > < Self> < / h4 > < / section > < / summary > < div class = 'docblock' > Attaches the current < a href = "https://docs.rs/tracing/0.1.36/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
2022-09-26 05:20:20 -07:00
< a href = "https://docs.rs/tracing/0.1.36/tracing/instrument/struct.WithDispatch.html" title = "WithDispatch" > < code > WithDispatch< / code > < / a > wrapper. < a href = "https://docs.rs/tracing/0.1.36/tracing/instrument/trait.WithSubscriber.html#method.with_current_subscriber" > Read more< / a > < / div > < / details > < / div > < / details > < / div > < / section > < / div > < / main > < div id = "rustdoc-vars" data-root-path = "../../" data-current-crate = "halo2_proofs" data-themes = "ayu,dark,light" data-resource-suffix = "" data-rustdoc-version = "1.66.0-nightly (f5193a9fc 2022-09-25)" > < / div > < / body > < / html >