- T: PyTypeInfo,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedconstant.NAME-1" class="associatedconstant trait-impl"><a href="#associatedconstant.NAME-1" class="anchor">§</a><h4 class="code-header">const <a class="constant">NAME</a>: &'static <a class="primitive" href="https://doc.rust-lang.org/1.94.1/std/primitive.str.html">str</a> = T::NAME</h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 0.27.0: Use ::classinfo_object() instead and format the type name at runtime. Note that using built-in cast features is often better than manual PyTypeCheck usage.</span></div></span><div class='docblock'>Name of self. This is used in error messages, for example.</div></details><details class="toggle method-toggle" open><summary><section id="method.type_check" class="method trait-impl"><a href="#method.type_check" class="anchor">§</a><h4 class="code-header">fn <a class="fn">type_check</a>(object: &Bound<'_, PyAny>) -> <a class="primitive" href="https://doc.rust-lang.org/1.94.1/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Checks if <code>object</code> is an instance of <code>Self</code>, which may include a subtype. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.classinfo_object" class="method trait-impl"><a href="#method.classinfo_object" class="anchor">§</a><h4 class="code-header">fn <a class="fn">classinfo_object</a>(py: Python<'_>) -> Bound<'_, PyAny></h4></section></summary><div class='docblock'>Returns the expected type as a possible argument for the <code>isinstance</code> and <code>issubclass</code> function. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Same-for-T" class="impl"><a class="src rightside" href="https://docs.rs/typenum/1.19.0/src/typenum/type_operators.rs.html#34">Source</a><a href="#impl-Same-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://docs.rs/typenum/1.19.0/typenum/type_operators/trait.Same.html" title="trait typenum::type_operators::Same">Same</a> for T</h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/typenum/1.19.0/src/typenum/type_operators.rs.html#35">Source</a><a href="#associatedtype.Output" class="anchor">§</a><h4 class="code-header">type <a href="https://docs.rs/typenum/1.19.0/typenum/type_operators/trait.Same.html#associatedtype.Output" class="associatedtype">Output</a> = T</h4></section></summary><div class='docblock'>Should always be <code>Self</code></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-SupersetOf%3CSS%3E-for-SP" class="impl"><a href="#impl-SupersetOf%3CSS%3E-for-SP" class="anchor">§</a><h3 class="code-header">impl<SS, SP> SupersetOf<SS> for SP<div class="where">where
0 commit comments