Files
phy/const_panic/fmt/trait.PanicFmt.html
Orion Kindel 0ce894e6b0 doc
2025-03-18 10:30:23 -05:00

75 lines
52 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="Trait for types that can be formatted by const panics."><title>PanicFmt in const_panic::fmt - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../static.files/rustdoc-42caa33d.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="const_panic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.0 (9fc6b4312 2025-01-07)" data-channel="1.84.0" data-search-js="search-92e6798f.js" data-settings-js="settings-0f613d39.js" ><script src="../../static.files/storage-59e33391.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-5f194d8c.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-893ab5e7.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-044be391.svg"></head><body class="rustdoc trait"><!--[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" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../const_panic/index.html">const_<wbr>panic</a><span class="version">0.2.10</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Panic<wbr>Fmt</a></h2><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#implementor" title="Implementor">Implementor</a></li><li><a href="#implementation-examples" title="Implementation examples">Implementation examples</a><ul><li><a href="#macro-less-impl" title="Macro-less impl">Macro-less impl</a></li></ul></li></ul><h3><a href="#required-associated-consts">Required Associated Constants</a></h3><ul class="block"><li><a href="#associatedconstant.PV_COUNT" title="PV_COUNT">PV_COUNT</a></li></ul><h3><a href="#provided-associated-consts">Provided Associated Constants</a></h3><ul class="block"><li><a href="#associatedconstant.PROOF" title="PROOF">PROOF</a></li></ul><h3><a href="#required-associated-types">Required Associated Types</a></h3><ul class="block"><li><a href="#associatedtype.Kind" title="Kind">Kind</a></li><li><a href="#associatedtype.This" title="This">This</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-PanicFmt-for-%26T" title="&#38;&#39;a T">&#38;&#39;a T</a></li><li><a href="#impl-PanicFmt-for-%5BPanicVal%3C'a%3E;+N%5D" title="[PanicVal&#60;&#39;a&#62;; N]">[PanicVal&#60;&#39;a&#62;; N]</a></li><li><a href="#impl-PanicFmt-for-%5BPanicVal%3C'a%3E%5D" title="[PanicVal&#60;&#39;a&#62;]">[PanicVal&#60;&#39;a&#62;]</a></li><li><a href="#impl-PanicFmt-for-bool" title="bool">bool</a></li><li><a href="#impl-PanicFmt-for-char" title="char">char</a></li><li><a href="#impl-PanicFmt-for-i128" title="i128">i128</a></li><li><a href="#impl-PanicFmt-for-i16" title="i16">i16</a></li><li><a href="#impl-PanicFmt-for-i32" title="i32">i32</a></li><li><a href="#impl-PanicFmt-for-i64" title="i64">i64</a></li><li><a href="#impl-PanicFmt-for-i8" title="i8">i8</a></li><li><a href="#impl-PanicFmt-for-isize" title="isize">isize</a></li><li><a href="#impl-PanicFmt-for-str" title="str">str</a></li><li><a href="#impl-PanicFmt-for-u128" title="u128">u128</a></li><li><a href="#impl-PanicFmt-for-u16" title="u16">u16</a></li><li><a href="#impl-PanicFmt-for-u32" title="u32">u32</a></li><li><a href="#impl-PanicFmt-for-u64" title="u64">u64</a></li><li><a href="#impl-PanicFmt-for-u8" title="u8">u8</a></li><li><a href="#impl-PanicFmt-for-usize" title="usize">usize</a></li></ul><h3><a href="#dyn-compatibility">Dyn Compatibility</a></h3><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In const_<wbr>panic::<wbr>fmt</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../index.html">const_panic</a>::<wbr><a href="index.html">fmt</a></span><h1>Trait <span class="trait">PanicFmt</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/const_panic/fmt.rs.html#114-133">Source</a> </span></div><pre class="rust item-decl"><code>pub trait PanicFmt {
type <a href="#associatedtype.This" class="associatedtype">This</a>: ?<a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>;
type <a href="#associatedtype.Kind" class="associatedtype">Kind</a>;
const <a href="#associatedconstant.PV_COUNT" class="constant">PV_COUNT</a>: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a>;
const <a href="#associatedconstant.PROOF" class="constant">PROOF</a>: <a class="struct" href="struct.IsPanicFmt.html" title="struct const_panic::fmt::IsPanicFmt">IsPanicFmt</a>&lt;Self, Self::<a class="associatedtype" href="trait.PanicFmt.html#associatedtype.This" title="type const_panic::fmt::PanicFmt::This">This</a>, Self::<a class="associatedtype" href="trait.PanicFmt.html#associatedtype.Kind" title="type const_panic::fmt::PanicFmt::Kind">Kind</a>&gt; = IsPanicFmt::NEW;
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Trait for types that can be formatted by const panics.</p>
<h2 id="implementor"><a class="doc-anchor" href="#implementor">§</a>Implementor</h2>
<p>Implementors are expected to also define this inherent method to format the type:</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">const fn </span>to_panicvals&lt;<span class="lifetime">'a</span>&gt;(<span class="kw-2">&amp;</span><span class="lifetime">'a </span><span class="self">self</span>, f: FmtArg) -&gt; [PanicVal&lt;<span class="lifetime">'a</span>&gt;; &lt;<span class="self">Self </span><span class="kw">as </span>PanicFmt&gt;::PV_COUNT]</code></pre></div>
<p>The returned <a href="../struct.PanicVal.html" title="struct const_panic::PanicVal"><code>PanicVal</code></a> can also be <code>PanicVal&lt;'static&gt;</code>.</p>
<h2 id="implementation-examples"><a class="doc-anchor" href="#implementation-examples">§</a>Implementation examples</h2>
<p>This trait can be implemented in these ways (in increasing order of verbosity):</p>
<ul>
<li>Using the <a href="derive@crate::PanicFmt"><code>PanicFmt</code> derive</a> macro
(requires the opt-in <code>"derive"</code> feature)</li>
<li>Using the <a href="impl_panicfmt#examples"><code>impl_panicfmt</code></a> macro
(requires the default-enabled <code>"non_basic"</code> feature)</li>
<li>Using the <a href="flatten_panicvals#examples"><code>flatten_panicvals</code></a> macro
(requires the default-enabled <code>"non_basic"</code> feature)</li>
<li>Using no macros at all</li>
</ul>
<h4 id="macro-less-impl"><a class="doc-anchor" href="#macro-less-impl">§</a>Macro-less impl</h4>
<p>Implementing this trait for a simple enum without using macros.</p>
<div class="example-wrap ignore"><a href="#" class="tooltip" title="This example is not tested"></a><pre class="rust rust-example-rendered"><code><span class="kw">use </span>const_panic::{ArrayString, FmtArg, PanicFmt, PanicVal};
<span class="comment">// `ArrayString` requires the "non_basic" crate feature (enabled by default),
// everything else in this example works with no enabled crate features.
</span><span class="macro">assert_eq!</span>(
ArrayString::&lt;<span class="number">99</span>&gt;::concat_panicvals(<span class="kw-2">&amp;</span>[
<span class="kw-2">&amp;</span>Foo::Bar.to_panicvals(FmtArg::DEBUG),
<span class="kw-2">&amp;</span>[PanicVal::write_str(<span class="string">","</span>)],
<span class="kw-2">&amp;</span>Foo::Baz.to_panicvals(FmtArg::DEBUG),
<span class="kw-2">&amp;</span>[PanicVal::write_str(<span class="string">","</span>)],
<span class="kw-2">&amp;</span>Foo::Qux.to_panicvals(FmtArg::DEBUG),
]).unwrap(),
<span class="string">"Bar,Baz,Qux"</span>,
);
<span class="kw">enum </span>Foo {
Bar,
Baz,
Qux,
}
<span class="kw">impl </span>PanicFmt <span class="kw">for </span>Foo {
<span class="kw">type </span>This = <span class="self">Self</span>;
<span class="kw">type </span>Kind = const_panic::IsCustomType;
<span class="kw">const </span>PV_COUNT: usize = <span class="number">1</span>;
}
<span class="kw">impl </span>Foo {
<span class="kw">pub const fn </span>to_panicvals(<span class="self">self</span>, <span class="kw">_</span>: FmtArg) -&gt; [PanicVal&lt;<span class="lifetime">'static</span>&gt;; Foo::PV_COUNT] {
<span class="kw">match </span><span class="self">self </span>{
<span class="self">Self</span>::Bar =&gt; [PanicVal::write_str(<span class="string">"Bar"</span>)],
<span class="self">Self</span>::Baz =&gt; [PanicVal::write_str(<span class="string">"Baz"</span>)],
<span class="self">Self</span>::Qux =&gt; [PanicVal::write_str(<span class="string">"Qux"</span>)],
}
}
}
</code></pre></div>
</div></details><h2 id="required-associated-consts" class="section-header">Required Associated Constants<a href="#required-associated-consts" class="anchor">§</a></h2><div class="methods"><details class="toggle" open><summary><section id="associatedconstant.PV_COUNT" class="method"><a class="src rightside" href="../../src/const_panic/fmt.rs.html#126">Source</a><h4 class="code-header">const <a href="#associatedconstant.PV_COUNT" class="constant">PV_COUNT</a>: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a></h4></section></summary><div class="docblock"><p>The length of the array returned in <code>Self::to_panicvals</code>
(an inherent method that formats the type for panic messages).</p>
</div></details></div><h2 id="provided-associated-consts" class="section-header">Provided Associated Constants<a href="#provided-associated-consts" class="anchor">§</a></h2><div class="methods"><details class="toggle" open><summary><section id="associatedconstant.PROOF" class="method"><a class="src rightside" href="../../src/const_panic/fmt.rs.html#132">Source</a><h4 class="code-header">const <a href="#associatedconstant.PROOF" class="constant">PROOF</a>: <a class="struct" href="struct.IsPanicFmt.html" title="struct const_panic::fmt::IsPanicFmt">IsPanicFmt</a>&lt;Self, Self::<a class="associatedtype" href="trait.PanicFmt.html#associatedtype.This" title="type const_panic::fmt::PanicFmt::This">This</a>, Self::<a class="associatedtype" href="trait.PanicFmt.html#associatedtype.Kind" title="type const_panic::fmt::PanicFmt::Kind">Kind</a>&gt; = IsPanicFmt::NEW</h4></section></summary><div class="docblock"><p>A marker type that proves that <code>Self</code> implements <code>PanicFmt</code>.</p>
<p>Used by const_panic macros to coerce both standard library and
user-defined types into some type that has a <code>to_panicvals</code> method.</p>
</div></details></div><h2 id="required-associated-types" class="section-header">Required Associated Types<a href="#required-associated-types" class="anchor">§</a></h2><div class="methods"><details class="toggle" open><summary><section id="associatedtype.This" class="method"><a class="src rightside" href="../../src/const_panic/fmt.rs.html#118">Source</a><h4 class="code-header">type <a href="#associatedtype.This" class="associatedtype">This</a>: ?<a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></h4></section></summary><div class="docblock"><p>The type after dereferencing all references.</p>
<p>User-defined types should generally set this to <code>Self</code>.</p>
</div></details><details class="toggle" open><summary><section id="associatedtype.Kind" class="method"><a class="src rightside" href="../../src/const_panic/fmt.rs.html#122">Source</a><h4 class="code-header">type <a href="#associatedtype.Kind" class="associatedtype">Kind</a></h4></section></summary><div class="docblock"><p>Whether this is a user-defined type or standard library type.</p>
<p>User-defined types should generally set this to <a href="struct.IsCustomType.html" title="struct const_panic::fmt::IsCustomType"><code>IsCustomType</code></a>.</p>
</div></details></div><h2 id="dyn-compatibility" class="section-header">Dyn Compatibility<a href="#dyn-compatibility" class="anchor">§</a></h2><div class="dyn-compatibility-info"><p>This trait is <b>not</b> <a href="https://doc.rust-lang.org/1.84.0/reference/items/traits.html#object-safety">dyn compatible</a>.</p><p><i>In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.</i></p></div><h2 id="foreign-impls" class="section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor">§</a></h2><details class="toggle implementors-toggle"><summary><section id="impl-PanicFmt-for-bool" class="impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#134-138">Source</a><a href="#impl-PanicFmt-for-bool" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.PanicFmt.html" title="trait const_panic::fmt::PanicFmt">PanicFmt</a> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h3></section></summary><div class="impl-items"><section id="associatedconstant.PV_COUNT-1" class="associatedconstant trait-impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#134-138">Source</a><a href="#associatedconstant.PV_COUNT-1" class="anchor">§</a><h4 class="code-header">const <a href="#associatedconstant.PV_COUNT" class="constant">PV_COUNT</a>: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a> = 1usize</h4></section><section id="associatedtype.This-1" class="associatedtype trait-impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#134-138">Source</a><a href="#associatedtype.This-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.This" class="associatedtype">This</a> = <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section><section id="associatedtype.Kind-1" class="associatedtype trait-impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#134-138">Source</a><a href="#associatedtype.Kind-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Kind" class="associatedtype">Kind</a> = <a class="struct" href="struct.IsStdType.html" title="struct const_panic::fmt::IsStdType">IsStdType</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-PanicFmt-for-char" class="impl"><a class="src rightside" href="../../src/const_panic/fmt/char_formatting.rs.html#37-41">Source</a><a href="#impl-PanicFmt-for-char" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.PanicFmt.html" title="trait const_panic::fmt::PanicFmt">PanicFmt</a> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.char.html">char</a></h3></section></summary><div class="impl-items"><section id="associatedconstant.PV_COUNT-2" class="associatedconstant trait-impl"><a class="src rightside" href="../../src/const_panic/fmt/char_formatting.rs.html#37-41">Source</a><a href="#associatedconstant.PV_COUNT-2" class="anchor">§</a><h4 class="code-header">const <a href="#associatedconstant.PV_COUNT" class="constant">PV_COUNT</a>: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a> = 1usize</h4></section><section id="associatedtype.This-2" class="associatedtype trait-impl"><a class="src rightside" href="../../src/const_panic/fmt/char_formatting.rs.html#37-41">Source</a><a href="#associatedtype.This-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.This" class="associatedtype">This</a> = <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.char.html">char</a></h4></section><section id="associatedtype.Kind-2" class="associatedtype trait-impl"><a class="src rightside" href="../../src/const_panic/fmt/char_formatting.rs.html#37-41">Source</a><a href="#associatedtype.Kind-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Kind" class="associatedtype">Kind</a> = <a class="struct" href="struct.IsStdType.html" title="struct const_panic::fmt::IsStdType">IsStdType</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-PanicFmt-for-i8" class="impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#127">Source</a><a href="#impl-PanicFmt-for-i8" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.PanicFmt.html" title="trait const_panic::fmt::PanicFmt">PanicFmt</a> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a></h3></section></summary><div class="impl-items"><section id="associatedconstant.PV_COUNT-3" class="associatedconstant trait-impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#127">Source</a><a href="#associatedconstant.PV_COUNT-3" class="anchor">§</a><h4 class="code-header">const <a href="#associatedconstant.PV_COUNT" class="constant">PV_COUNT</a>: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a> = 1usize</h4></section><section id="associatedtype.This-3" class="associatedtype trait-impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#127">Source</a><a href="#associatedtype.This-3" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.This" class="associatedtype">This</a> = <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a></h4></section><section id="associatedtype.Kind-3" class="associatedtype trait-impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#127">Source</a><a href="#associatedtype.Kind-3" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Kind" class="associatedtype">Kind</a> = <a class="struct" href="struct.IsStdType.html" title="struct const_panic::fmt::IsStdType">IsStdType</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-PanicFmt-for-i16" class="impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#128">Source</a><a href="#impl-PanicFmt-for-i16" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.PanicFmt.html" title="trait const_panic::fmt::PanicFmt">PanicFmt</a> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a></h3></section></summary><div class="impl-items"><section id="associatedconstant.PV_COUNT-4" class="associatedconstant trait-impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#128">Source</a><a href="#associatedconstant.PV_COUNT-4" class="anchor">§</a><h4 class="code-header">const <a href="#associatedconstant.PV_COUNT" class="constant">PV_COUNT</a>: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a> = 1usize</h4></section><section id="associatedtype.This-4" class="associatedtype trait-impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#128">Source</a><a href="#associatedtype.This-4" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.This" class="associatedtype">This</a> = <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a></h4></section><section id="associatedtype.Kind-4" class="associatedtype trait-impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#128">Source</a><a href="#associatedtype.Kind-4" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Kind" class="associatedtype">Kind</a> = <a class="struct" href="struct.IsStdType.html" title="struct const_panic::fmt::IsStdType">IsStdType</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-PanicFmt-for-i32" class="impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#129">Source</a><a href="#impl-PanicFmt-for-i32" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.PanicFmt.html" title="trait const_panic::fmt::PanicFmt">PanicFmt</a> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a></h3></section></summary><div class="impl-items"><section id="associatedconstant.PV_COUNT-5" class="associatedconstant trait-impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#129">Source</a><a href="#associatedconstant.PV_COUNT-5" class="anchor">§</a><h4 class="code-header">const <a href="#associatedconstant.PV_COUNT" class="constant">PV_COUNT</a>: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a> = 1usize</h4></section><section id="associatedtype.This-5" class="associatedtype trait-impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#129">Source</a><a href="#associatedtype.This-5" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.This" class="associatedtype">This</a> = <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a></h4></section><section id="associatedtype.Kind-5" class="associatedtype trait-impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#129">Source</a><a href="#associatedtype.Kind-5" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Kind" class="associatedtype">Kind</a> = <a class="struct" href="struct.IsStdType.html" title="struct const_panic::fmt::IsStdType">IsStdType</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-PanicFmt-for-i64" class="impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#130">Source</a><a href="#impl-PanicFmt-for-i64" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.PanicFmt.html" title="trait const_panic::fmt::PanicFmt">PanicFmt</a> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html">i64</a></h3></section></summary><div class="impl-items"><section id="associatedconstant.PV_COUNT-6" class="associatedconstant trait-impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#130">Source</a><a href="#associatedconstant.PV_COUNT-6" class="anchor">§</a><h4 class="code-header">const <a href="#associatedconstant.PV_COUNT" class="constant">PV_COUNT</a>: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a> = 1usize</h4></section><section id="associatedtype.This-6" class="associatedtype trait-impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#130">Source</a><a href="#associatedtype.This-6" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.This" class="associatedtype">This</a> = <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html">i64</a></h4></section><section id="associatedtype.Kind-6" class="associatedtype trait-impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#130">Source</a><a href="#associatedtype.Kind-6" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Kind" class="associatedtype">Kind</a> = <a class="struct" href="struct.IsStdType.html" title="struct const_panic::fmt::IsStdType">IsStdType</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-PanicFmt-for-i128" class="impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#131">Source</a><a href="#impl-PanicFmt-for-i128" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.PanicFmt.html" title="trait const_panic::fmt::PanicFmt">PanicFmt</a> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html">i128</a></h3></section></summary><div class="impl-items"><section id="associatedconstant.PV_COUNT-7" class="associatedconstant trait-impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#131">Source</a><a href="#associatedconstant.PV_COUNT-7" class="anchor">§</a><h4 class="code-header">const <a href="#associatedconstant.PV_COUNT" class="constant">PV_COUNT</a>: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a> = 1usize</h4></section><section id="associatedtype.This-7" class="associatedtype trait-impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#131">Source</a><a href="#associatedtype.This-7" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.This" class="associatedtype">This</a> = <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html">i128</a></h4></section><section id="associatedtype.Kind-7" class="associatedtype trait-impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#131">Source</a><a href="#associatedtype.Kind-7" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Kind" class="associatedtype">Kind</a> = <a class="struct" href="struct.IsStdType.html" title="struct const_panic::fmt::IsStdType">IsStdType</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-PanicFmt-for-isize" class="impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#132">Source</a><a href="#impl-PanicFmt-for-isize" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.PanicFmt.html" title="trait const_panic::fmt::PanicFmt">PanicFmt</a> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html">isize</a></h3></section></summary><div class="impl-items"><section id="associatedconstant.PV_COUNT-8" class="associatedconstant trait-impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#132">Source</a><a href="#associatedconstant.PV_COUNT-8" class="anchor">§</a><h4 class="code-header">const <a href="#associatedconstant.PV_COUNT" class="constant">PV_COUNT</a>: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a> = 1usize</h4></section><section id="associatedtype.This-8" class="associatedtype trait-impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#132">Source</a><a href="#associatedtype.This-8" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.This" class="associatedtype">This</a> = <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html">isize</a></h4></section><section id="associatedtype.Kind-8" class="associatedtype trait-impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#132">Source</a><a href="#associatedtype.Kind-8" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Kind" class="associatedtype">Kind</a> = <a class="struct" href="struct.IsStdType.html" title="struct const_panic::fmt::IsStdType">IsStdType</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-PanicFmt-for-str" class="impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#147-151">Source</a><a href="#impl-PanicFmt-for-str" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.PanicFmt.html" title="trait const_panic::fmt::PanicFmt">PanicFmt</a> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.str.html">str</a></h3></section></summary><div class="impl-items"><section id="associatedconstant.PV_COUNT-9" class="associatedconstant trait-impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#150">Source</a><a href="#associatedconstant.PV_COUNT-9" class="anchor">§</a><h4 class="code-header">const <a href="#associatedconstant.PV_COUNT" class="constant">PV_COUNT</a>: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a> = 1usize</h4></section><section id="associatedtype.This-9" class="associatedtype trait-impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#148">Source</a><a href="#associatedtype.This-9" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.This" class="associatedtype">This</a> = <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.str.html">str</a></h4></section><section id="associatedtype.Kind-9" class="associatedtype trait-impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#149">Source</a><a href="#associatedtype.Kind-9" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Kind" class="associatedtype">Kind</a> = <a class="struct" href="struct.IsStdType.html" title="struct const_panic::fmt::IsStdType">IsStdType</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-PanicFmt-for-u8" class="impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#120">Source</a><a href="#impl-PanicFmt-for-u8" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.PanicFmt.html" title="trait const_panic::fmt::PanicFmt">PanicFmt</a> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a></h3></section></summary><div class="impl-items"><section id="associatedconstant.PV_COUNT-10" class="associatedconstant trait-impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#120">Source</a><a href="#associatedconstant.PV_COUNT-10" class="anchor">§</a><h4 class="code-header">const <a href="#associatedconstant.PV_COUNT" class="constant">PV_COUNT</a>: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a> = 1usize</h4></section><section id="associatedtype.This-10" class="associatedtype trait-impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#120">Source</a><a href="#associatedtype.This-10" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.This" class="associatedtype">This</a> = <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a></h4></section><section id="associatedtype.Kind-10" class="associatedtype trait-impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#120">Source</a><a href="#associatedtype.Kind-10" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Kind" class="associatedtype">Kind</a> = <a class="struct" href="struct.IsStdType.html" title="struct const_panic::fmt::IsStdType">IsStdType</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-PanicFmt-for-u16" class="impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#121">Source</a><a href="#impl-PanicFmt-for-u16" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.PanicFmt.html" title="trait const_panic::fmt::PanicFmt">PanicFmt</a> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html">u16</a></h3></section></summary><div class="impl-items"><section id="associatedconstant.PV_COUNT-11" class="associatedconstant trait-impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#121">Source</a><a href="#associatedconstant.PV_COUNT-11" class="anchor">§</a><h4 class="code-header">const <a href="#associatedconstant.PV_COUNT" class="constant">PV_COUNT</a>: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a> = 1usize</h4></section><section id="associatedtype.This-11" class="associatedtype trait-impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#121">Source</a><a href="#associatedtype.This-11" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.This" class="associatedtype">This</a> = <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html">u16</a></h4></section><section id="associatedtype.Kind-11" class="associatedtype trait-impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#121">Source</a><a href="#associatedtype.Kind-11" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Kind" class="associatedtype">Kind</a> = <a class="struct" href="struct.IsStdType.html" title="struct const_panic::fmt::IsStdType">IsStdType</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-PanicFmt-for-u32" class="impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#122">Source</a><a href="#impl-PanicFmt-for-u32" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.PanicFmt.html" title="trait const_panic::fmt::PanicFmt">PanicFmt</a> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a></h3></section></summary><div class="impl-items"><section id="associatedconstant.PV_COUNT-12" class="associatedconstant trait-impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#122">Source</a><a href="#associatedconstant.PV_COUNT-12" class="anchor">§</a><h4 class="code-header">const <a href="#associatedconstant.PV_COUNT" class="constant">PV_COUNT</a>: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a> = 1usize</h4></section><section id="associatedtype.This-12" class="associatedtype trait-impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#122">Source</a><a href="#associatedtype.This-12" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.This" class="associatedtype">This</a> = <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a></h4></section><section id="associatedtype.Kind-12" class="associatedtype trait-impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#122">Source</a><a href="#associatedtype.Kind-12" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Kind" class="associatedtype">Kind</a> = <a class="struct" href="struct.IsStdType.html" title="struct const_panic::fmt::IsStdType">IsStdType</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-PanicFmt-for-u64" class="impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#123">Source</a><a href="#impl-PanicFmt-for-u64" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.PanicFmt.html" title="trait const_panic::fmt::PanicFmt">PanicFmt</a> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html">u64</a></h3></section></summary><div class="impl-items"><section id="associatedconstant.PV_COUNT-13" class="associatedconstant trait-impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#123">Source</a><a href="#associatedconstant.PV_COUNT-13" class="anchor">§</a><h4 class="code-header">const <a href="#associatedconstant.PV_COUNT" class="constant">PV_COUNT</a>: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a> = 1usize</h4></section><section id="associatedtype.This-13" class="associatedtype trait-impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#123">Source</a><a href="#associatedtype.This-13" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.This" class="associatedtype">This</a> = <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html">u64</a></h4></section><section id="associatedtype.Kind-13" class="associatedtype trait-impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#123">Source</a><a href="#associatedtype.Kind-13" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Kind" class="associatedtype">Kind</a> = <a class="struct" href="struct.IsStdType.html" title="struct const_panic::fmt::IsStdType">IsStdType</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-PanicFmt-for-u128" class="impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#124">Source</a><a href="#impl-PanicFmt-for-u128" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.PanicFmt.html" title="trait const_panic::fmt::PanicFmt">PanicFmt</a> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html">u128</a></h3></section></summary><div class="impl-items"><section id="associatedconstant.PV_COUNT-14" class="associatedconstant trait-impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#124">Source</a><a href="#associatedconstant.PV_COUNT-14" class="anchor">§</a><h4 class="code-header">const <a href="#associatedconstant.PV_COUNT" class="constant">PV_COUNT</a>: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a> = 1usize</h4></section><section id="associatedtype.This-14" class="associatedtype trait-impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#124">Source</a><a href="#associatedtype.This-14" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.This" class="associatedtype">This</a> = <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html">u128</a></h4></section><section id="associatedtype.Kind-14" class="associatedtype trait-impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#124">Source</a><a href="#associatedtype.Kind-14" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Kind" class="associatedtype">Kind</a> = <a class="struct" href="struct.IsStdType.html" title="struct const_panic::fmt::IsStdType">IsStdType</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-PanicFmt-for-usize" class="impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#125">Source</a><a href="#impl-PanicFmt-for-usize" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.PanicFmt.html" title="trait const_panic::fmt::PanicFmt">PanicFmt</a> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a></h3></section></summary><div class="impl-items"><section id="associatedconstant.PV_COUNT-15" class="associatedconstant trait-impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#125">Source</a><a href="#associatedconstant.PV_COUNT-15" class="anchor">§</a><h4 class="code-header">const <a href="#associatedconstant.PV_COUNT" class="constant">PV_COUNT</a>: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a> = 1usize</h4></section><section id="associatedtype.This-15" class="associatedtype trait-impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#125">Source</a><a href="#associatedtype.This-15" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.This" class="associatedtype">This</a> = <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a></h4></section><section id="associatedtype.Kind-15" class="associatedtype trait-impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#125">Source</a><a href="#associatedtype.Kind-15" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Kind" class="associatedtype">Kind</a> = <a class="struct" href="struct.IsStdType.html" title="struct const_panic::fmt::IsStdType">IsStdType</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-PanicFmt-for-%5BPanicVal%3C'a%3E%5D" class="impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#171-176">Source</a><a href="#impl-PanicFmt-for-%5BPanicVal%3C'a%3E%5D" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="trait.PanicFmt.html" title="trait const_panic::fmt::PanicFmt">PanicFmt</a> for [<a class="struct" href="../struct.PanicVal.html" title="struct const_panic::PanicVal">PanicVal</a>&lt;'a&gt;]</h3></section></summary><div class="impl-items"><section id="associatedconstant.PV_COUNT-16" class="associatedconstant trait-impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#171-176">Source</a><a href="#associatedconstant.PV_COUNT-16" class="anchor">§</a><h4 class="code-header">const <a href="#associatedconstant.PV_COUNT" class="constant">PV_COUNT</a>: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a> = 18_446_744_073_709_551_615usize</h4></section><section id="associatedtype.This-16" class="associatedtype trait-impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#171-176">Source</a><a href="#associatedtype.This-16" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.This" class="associatedtype">This</a> = [<a class="struct" href="../struct.PanicVal.html" title="struct const_panic::PanicVal">PanicVal</a>&lt;'a&gt;]</h4></section><section id="associatedtype.Kind-16" class="associatedtype trait-impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#171-176">Source</a><a href="#associatedtype.Kind-16" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Kind" class="associatedtype">Kind</a> = <a class="struct" href="struct.IsStdType.html" title="struct const_panic::fmt::IsStdType">IsStdType</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-PanicFmt-for-%26T" class="impl"><a class="src rightside" href="../../src/const_panic/fmt.rs.html#135-139">Source</a><a href="#impl-PanicFmt-for-%26T" class="anchor">§</a><h3 class="code-header">impl&lt;'a, T: <a class="trait" href="trait.PanicFmt.html" title="trait const_panic::fmt::PanicFmt">PanicFmt</a> + ?<a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>&gt; <a class="trait" href="trait.PanicFmt.html" title="trait const_panic::fmt::PanicFmt">PanicFmt</a> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&amp;'a T</a></h3></section></summary><div class="impl-items"><section id="associatedconstant.PV_COUNT-17" class="associatedconstant trait-impl"><a class="src rightside" href="../../src/const_panic/fmt.rs.html#138">Source</a><a href="#associatedconstant.PV_COUNT-17" class="anchor">§</a><h4 class="code-header">const <a href="#associatedconstant.PV_COUNT" class="constant">PV_COUNT</a>: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a> = T::PV_COUNT</h4></section><section id="associatedtype.This-17" class="associatedtype trait-impl"><a class="src rightside" href="../../src/const_panic/fmt.rs.html#136">Source</a><a href="#associatedtype.This-17" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.This" class="associatedtype">This</a> = &lt;T as <a class="trait" href="trait.PanicFmt.html" title="trait const_panic::fmt::PanicFmt">PanicFmt</a>&gt;::<a class="associatedtype" href="trait.PanicFmt.html#associatedtype.This" title="type const_panic::fmt::PanicFmt::This">This</a></h4></section><section id="associatedtype.Kind-17" class="associatedtype trait-impl"><a class="src rightside" href="../../src/const_panic/fmt.rs.html#137">Source</a><a href="#associatedtype.Kind-17" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Kind" class="associatedtype">Kind</a> = &lt;T as <a class="trait" href="trait.PanicFmt.html" title="trait const_panic::fmt::PanicFmt">PanicFmt</a>&gt;::<a class="associatedtype" href="trait.PanicFmt.html#associatedtype.Kind" title="type const_panic::fmt::PanicFmt::Kind">Kind</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-PanicFmt-for-%5BPanicVal%3C'a%3E;+N%5D" class="impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#164-169">Source</a><a href="#impl-PanicFmt-for-%5BPanicVal%3C'a%3E;+N%5D" class="anchor">§</a><h3 class="code-header">impl&lt;'a, const N: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a>&gt; <a class="trait" href="trait.PanicFmt.html" title="trait const_panic::fmt::PanicFmt">PanicFmt</a> for [<a class="struct" href="../struct.PanicVal.html" title="struct const_panic::PanicVal">PanicVal</a>&lt;'a&gt;; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.array.html">N</a>]</h3></section></summary><div class="impl-items"><section id="associatedconstant.PV_COUNT-18" class="associatedconstant trait-impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#164-169">Source</a><a href="#associatedconstant.PV_COUNT-18" class="anchor">§</a><h4 class="code-header">const <a href="#associatedconstant.PV_COUNT" class="constant">PV_COUNT</a>: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a> = N</h4></section><section id="associatedtype.This-18" class="associatedtype trait-impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#164-169">Source</a><a href="#associatedtype.This-18" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.This" class="associatedtype">This</a> = [<a class="struct" href="../struct.PanicVal.html" title="struct const_panic::PanicVal">PanicVal</a>&lt;'a&gt;; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.array.html">N</a>]</h4></section><section id="associatedtype.Kind-18" class="associatedtype trait-impl"><a class="src rightside" href="../../src/const_panic/fmt_impls/basic_fmt_impls.rs.html#164-169">Source</a><a href="#associatedtype.Kind-18" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Kind" class="associatedtype">Kind</a> = <a class="struct" href="struct.IsStdType.html" title="struct const_panic::fmt::IsStdType">IsStdType</a></h4></section></div></details><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><details class="toggle implementors-toggle"><summary><section id="impl-PanicFmt-for-PanicVal%3C'_%3E" class="impl"><a class="src rightside" href="../../src/const_panic/panic_val.rs.html#363-368">Source</a><a href="#impl-PanicFmt-for-PanicVal%3C'_%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.PanicFmt.html" title="trait const_panic::fmt::PanicFmt">PanicFmt</a> for <a class="struct" href="../struct.PanicVal.html" title="struct const_panic::PanicVal">PanicVal</a>&lt;'_&gt;</h3></section></summary><div class="impl-items"><section id="associatedconstant.PV_COUNT-19" class="associatedconstant trait-impl"><a class="src rightside" href="../../src/const_panic/panic_val.rs.html#367">Source</a><a href="#associatedconstant.PV_COUNT-19" class="anchor">§</a><h4 class="code-header">const <a href="#associatedconstant.PV_COUNT" class="constant">PV_COUNT</a>: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a> = 1usize</h4></section><section id="associatedtype.This-19" class="associatedtype trait-impl"><a class="src rightside" href="../../src/const_panic/panic_val.rs.html#364">Source</a><a href="#associatedtype.This-19" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.This" class="associatedtype">This</a> = <a class="struct" href="../struct.PanicVal.html" title="struct const_panic::PanicVal">PanicVal</a>&lt;'_&gt;</h4></section><section id="associatedtype.Kind-19" class="associatedtype trait-impl"><a class="src rightside" href="../../src/const_panic/panic_val.rs.html#365">Source</a><a href="#associatedtype.Kind-19" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Kind" class="associatedtype">Kind</a> = <a class="struct" href="struct.IsCustomType.html" title="struct const_panic::fmt::IsCustomType">IsCustomType</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-PanicFmt-for-StdWrapper%3CT%3E" class="impl"><a class="src rightside" href="../../src/const_panic/wrapper.rs.html#36-44">Source</a><a href="#impl-PanicFmt-for-StdWrapper%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.PanicFmt.html" title="trait const_panic::fmt::PanicFmt">PanicFmt</a> for <a class="struct" href="../struct.StdWrapper.html" title="struct const_panic::StdWrapper">StdWrapper</a>&lt;T&gt;<div class="where">where
T: <a class="trait" href="trait.PanicFmt.html" title="trait const_panic::fmt::PanicFmt">PanicFmt</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedconstant.PV_COUNT-20" class="associatedconstant trait-impl"><a class="src rightside" href="../../src/const_panic/wrapper.rs.html#43">Source</a><a href="#associatedconstant.PV_COUNT-20" class="anchor">§</a><h4 class="code-header">const <a href="#associatedconstant.PV_COUNT" class="constant">PV_COUNT</a>: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a> = T::PV_COUNT</h4></section><section id="associatedtype.This-20" class="associatedtype trait-impl"><a class="src rightside" href="../../src/const_panic/wrapper.rs.html#40">Source</a><a href="#associatedtype.This-20" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.This" class="associatedtype">This</a> = <a class="struct" href="../struct.StdWrapper.html" title="struct const_panic::StdWrapper">StdWrapper</a>&lt;T&gt;</h4></section><section id="associatedtype.Kind-20" class="associatedtype trait-impl"><a class="src rightside" href="../../src/const_panic/wrapper.rs.html#41">Source</a><a href="#associatedtype.Kind-20" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Kind" class="associatedtype">Kind</a> = <a class="struct" href="struct.IsCustomType.html" title="struct const_panic::fmt::IsCustomType">IsCustomType</a></h4></section></div></details></div><script src="../../trait.impl/const_panic/fmt/trait.PanicFmt.js" data-ignore-extern-crates="core" async></script></section></div></main></body></html>