107 lines
84 KiB
HTML
107 lines
84 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="Number interface"><meta name="keywords" content="rust, rustlang, rust-lang, PyNumberProtocol"><title>PyNumberProtocol in pyo3::class::number - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings"></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg">
|
||
<link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png">
|
||
<link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></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="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../pyo3/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><p class="location">Trait PyNumberProtocol</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#provided-methods">Provided Methods</a><div class="sidebar-links"><a href="#method.__abs__">__abs__</a><a href="#method.__add__">__add__</a><a href="#method.__and__">__and__</a><a href="#method.__complex__">__complex__</a><a href="#method.__divmod__">__divmod__</a><a href="#method.__float__">__float__</a><a href="#method.__floordiv__">__floordiv__</a><a href="#method.__iadd__">__iadd__</a><a href="#method.__iand__">__iand__</a><a href="#method.__ifloordiv__">__ifloordiv__</a><a href="#method.__ilshift__">__ilshift__</a><a href="#method.__imatmul__">__imatmul__</a><a href="#method.__imod__">__imod__</a><a href="#method.__imul__">__imul__</a><a href="#method.__index__">__index__</a><a href="#method.__int__">__int__</a><a href="#method.__invert__">__invert__</a><a href="#method.__ior__">__ior__</a><a href="#method.__ipow__">__ipow__</a><a href="#method.__irshift__">__irshift__</a><a href="#method.__isub__">__isub__</a><a href="#method.__itruediv__">__itruediv__</a><a href="#method.__ixor__">__ixor__</a><a href="#method.__lshift__">__lshift__</a><a href="#method.__matmul__">__matmul__</a><a href="#method.__mod__">__mod__</a><a href="#method.__mul__">__mul__</a><a href="#method.__neg__">__neg__</a><a href="#method.__or__">__or__</a><a href="#method.__pos__">__pos__</a><a href="#method.__pow__">__pow__</a><a href="#method.__radd__">__radd__</a><a href="#method.__rand__">__rand__</a><a href="#method.__rdivmod__">__rdivmod__</a><a href="#method.__rfloordiv__">__rfloordiv__</a><a href="#method.__rlshift__">__rlshift__</a><a href="#method.__rmatmul__">__rmatmul__</a><a href="#method.__rmod__">__rmod__</a><a href="#method.__rmul__">__rmul__</a><a href="#method.__ror__">__ror__</a><a href="#method.__round__">__round__</a><a href="#method.__rpow__">__rpow__</a><a href="#method.__rrshift__">__rrshift__</a><a href="#method.__rshift__">__rshift__</a><a href="#method.__rsub__">__rsub__</a><a href="#method.__rtruediv__">__rtruediv__</a><a href="#method.__rxor__">__rxor__</a><a href="#method.__sub__">__sub__</a><a href="#method.__truediv__">__truediv__</a><a href="#method.__xor__">__xor__</a></div><a class="sidebar-title" href="#implementors">Implementors</a></div><p class="location"><a href="../../index.html">pyo3</a>::<wbr><a href="../index.html">class</a>::<wbr><a href="index.html">number</a></p><div id="sidebar-vars" data-name="PyNumberProtocol" data-ty="trait" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../../brush.svg" width="18" height="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" class="help-button">?</button>
|
||
<a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" height="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Trait <a href="../../index.html">pyo3</a>::<wbr><a href="../index.html">class</a>::<wbr><a href="index.html">number</a>::<wbr><a class="trait" href="">PyNumberProtocol</a><button id="copy-path" onclick="copy_path(this)">⎘</button></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/pyo3/class/number.rs.html#11-316" title="goto source code">[src]</a></span></h1><div class="docblock type-decl"><pre class="rust trait">pub trait PyNumberProtocol<'p>: <a class="trait" href="../../pyclass/trait.PyClass.html" title="trait pyo3::pyclass::PyClass">PyClass</a> {
|
||
<details class="rustdoc-toggle type-contents-toggle"><summary class="hideme"><span>Show methods</span></summary> fn <a href="#method.__add__" class="fnname">__add__</a>(lhs: Self::<a class="type" href="trait.PyNumberAddProtocol.html#associatedtype.Left" title="type pyo3::class::number::PyNumberAddProtocol::Left">Left</a>, rhs: Self::<a class="type" href="trait.PyNumberAddProtocol.html#associatedtype.Right" title="type pyo3::class::number::PyNumberAddProtocol::Right">Right</a>) -> Self::<a class="type" href="trait.PyNumberAddProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberAddProtocol::Result">Result</a><br> <span class="where">where<br> Self: <a class="trait" href="trait.PyNumberAddProtocol.html" title="trait pyo3::class::number::PyNumberAddProtocol">PyNumberAddProtocol</a><'p></span>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.__sub__" class="fnname">__sub__</a>(lhs: Self::<a class="type" href="trait.PyNumberSubProtocol.html#associatedtype.Left" title="type pyo3::class::number::PyNumberSubProtocol::Left">Left</a>, rhs: Self::<a class="type" href="trait.PyNumberSubProtocol.html#associatedtype.Right" title="type pyo3::class::number::PyNumberSubProtocol::Right">Right</a>) -> Self::<a class="type" href="trait.PyNumberSubProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberSubProtocol::Result">Result</a><br> <span class="where">where<br> Self: <a class="trait" href="trait.PyNumberSubProtocol.html" title="trait pyo3::class::number::PyNumberSubProtocol">PyNumberSubProtocol</a><'p></span>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.__mul__" class="fnname">__mul__</a>(lhs: Self::<a class="type" href="trait.PyNumberMulProtocol.html#associatedtype.Left" title="type pyo3::class::number::PyNumberMulProtocol::Left">Left</a>, rhs: Self::<a class="type" href="trait.PyNumberMulProtocol.html#associatedtype.Right" title="type pyo3::class::number::PyNumberMulProtocol::Right">Right</a>) -> Self::<a class="type" href="trait.PyNumberMulProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberMulProtocol::Result">Result</a><br> <span class="where">where<br> Self: <a class="trait" href="trait.PyNumberMulProtocol.html" title="trait pyo3::class::number::PyNumberMulProtocol">PyNumberMulProtocol</a><'p></span>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.__matmul__" class="fnname">__matmul__</a>(lhs: Self::<a class="type" href="trait.PyNumberMatmulProtocol.html#associatedtype.Left" title="type pyo3::class::number::PyNumberMatmulProtocol::Left">Left</a>, rhs: Self::<a class="type" href="trait.PyNumberMatmulProtocol.html#associatedtype.Right" title="type pyo3::class::number::PyNumberMatmulProtocol::Right">Right</a>) -> Self::<a class="type" href="trait.PyNumberMatmulProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberMatmulProtocol::Result">Result</a><br> <span class="where">where<br> Self: <a class="trait" href="trait.PyNumberMatmulProtocol.html" title="trait pyo3::class::number::PyNumberMatmulProtocol">PyNumberMatmulProtocol</a><'p></span>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.__truediv__" class="fnname">__truediv__</a>(lhs: Self::<a class="type" href="trait.PyNumberTruedivProtocol.html#associatedtype.Left" title="type pyo3::class::number::PyNumberTruedivProtocol::Left">Left</a>, rhs: Self::<a class="type" href="trait.PyNumberTruedivProtocol.html#associatedtype.Right" title="type pyo3::class::number::PyNumberTruedivProtocol::Right">Right</a>) -> Self::<a class="type" href="trait.PyNumberTruedivProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberTruedivProtocol::Result">Result</a><br> <span class="where">where<br> Self: <a class="trait" href="trait.PyNumberTruedivProtocol.html" title="trait pyo3::class::number::PyNumberTruedivProtocol">PyNumberTruedivProtocol</a><'p></span>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.__floordiv__" class="fnname">__floordiv__</a>(lhs: Self::<a class="type" href="trait.PyNumberFloordivProtocol.html#associatedtype.Left" title="type pyo3::class::number::PyNumberFloordivProtocol::Left">Left</a>, rhs: Self::<a class="type" href="trait.PyNumberFloordivProtocol.html#associatedtype.Right" title="type pyo3::class::number::PyNumberFloordivProtocol::Right">Right</a>) -> Self::<a class="type" href="trait.PyNumberFloordivProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberFloordivProtocol::Result">Result</a><br> <span class="where">where<br> Self: <a class="trait" href="trait.PyNumberFloordivProtocol.html" title="trait pyo3::class::number::PyNumberFloordivProtocol">PyNumberFloordivProtocol</a><'p></span>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.__mod__" class="fnname">__mod__</a>(lhs: Self::<a class="type" href="trait.PyNumberModProtocol.html#associatedtype.Left" title="type pyo3::class::number::PyNumberModProtocol::Left">Left</a>, rhs: Self::<a class="type" href="trait.PyNumberModProtocol.html#associatedtype.Right" title="type pyo3::class::number::PyNumberModProtocol::Right">Right</a>) -> Self::<a class="type" href="trait.PyNumberModProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberModProtocol::Result">Result</a><br> <span class="where">where<br> Self: <a class="trait" href="trait.PyNumberModProtocol.html" title="trait pyo3::class::number::PyNumberModProtocol">PyNumberModProtocol</a><'p></span>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.__divmod__" class="fnname">__divmod__</a>(lhs: Self::<a class="type" href="trait.PyNumberDivmodProtocol.html#associatedtype.Left" title="type pyo3::class::number::PyNumberDivmodProtocol::Left">Left</a>, rhs: Self::<a class="type" href="trait.PyNumberDivmodProtocol.html#associatedtype.Right" title="type pyo3::class::number::PyNumberDivmodProtocol::Right">Right</a>) -> Self::<a class="type" href="trait.PyNumberDivmodProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberDivmodProtocol::Result">Result</a><br> <span class="where">where<br> Self: <a class="trait" href="trait.PyNumberDivmodProtocol.html" title="trait pyo3::class::number::PyNumberDivmodProtocol">PyNumberDivmodProtocol</a><'p></span>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.__pow__" class="fnname">__pow__</a>(<br> lhs: Self::<a class="type" href="trait.PyNumberPowProtocol.html#associatedtype.Left" title="type pyo3::class::number::PyNumberPowProtocol::Left">Left</a>, <br> rhs: Self::<a class="type" href="trait.PyNumberPowProtocol.html#associatedtype.Right" title="type pyo3::class::number::PyNumberPowProtocol::Right">Right</a>, <br> modulo: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self::<a class="type" href="trait.PyNumberPowProtocol.html#associatedtype.Modulo" title="type pyo3::class::number::PyNumberPowProtocol::Modulo">Modulo</a>><br> ) -> Self::<a class="type" href="trait.PyNumberPowProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberPowProtocol::Result">Result</a><br> <span class="where">where<br> Self: <a class="trait" href="trait.PyNumberPowProtocol.html" title="trait pyo3::class::number::PyNumberPowProtocol">PyNumberPowProtocol</a><'p></span>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.__lshift__" class="fnname">__lshift__</a>(lhs: Self::<a class="type" href="trait.PyNumberLShiftProtocol.html#associatedtype.Left" title="type pyo3::class::number::PyNumberLShiftProtocol::Left">Left</a>, rhs: Self::<a class="type" href="trait.PyNumberLShiftProtocol.html#associatedtype.Right" title="type pyo3::class::number::PyNumberLShiftProtocol::Right">Right</a>) -> Self::<a class="type" href="trait.PyNumberLShiftProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberLShiftProtocol::Result">Result</a><br> <span class="where">where<br> Self: <a class="trait" href="trait.PyNumberLShiftProtocol.html" title="trait pyo3::class::number::PyNumberLShiftProtocol">PyNumberLShiftProtocol</a><'p></span>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.__rshift__" class="fnname">__rshift__</a>(lhs: Self::<a class="type" href="trait.PyNumberRShiftProtocol.html#associatedtype.Left" title="type pyo3::class::number::PyNumberRShiftProtocol::Left">Left</a>, rhs: Self::<a class="type" href="trait.PyNumberRShiftProtocol.html#associatedtype.Right" title="type pyo3::class::number::PyNumberRShiftProtocol::Right">Right</a>) -> Self::<a class="type" href="trait.PyNumberRShiftProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberRShiftProtocol::Result">Result</a><br> <span class="where">where<br> Self: <a class="trait" href="trait.PyNumberRShiftProtocol.html" title="trait pyo3::class::number::PyNumberRShiftProtocol">PyNumberRShiftProtocol</a><'p></span>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.__and__" class="fnname">__and__</a>(lhs: Self::<a class="type" href="trait.PyNumberAndProtocol.html#associatedtype.Left" title="type pyo3::class::number::PyNumberAndProtocol::Left">Left</a>, rhs: Self::<a class="type" href="trait.PyNumberAndProtocol.html#associatedtype.Right" title="type pyo3::class::number::PyNumberAndProtocol::Right">Right</a>) -> Self::<a class="type" href="trait.PyNumberAndProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberAndProtocol::Result">Result</a><br> <span class="where">where<br> Self: <a class="trait" href="trait.PyNumberAndProtocol.html" title="trait pyo3::class::number::PyNumberAndProtocol">PyNumberAndProtocol</a><'p></span>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.__xor__" class="fnname">__xor__</a>(lhs: Self::<a class="type" href="trait.PyNumberXorProtocol.html#associatedtype.Left" title="type pyo3::class::number::PyNumberXorProtocol::Left">Left</a>, rhs: Self::<a class="type" href="trait.PyNumberXorProtocol.html#associatedtype.Right" title="type pyo3::class::number::PyNumberXorProtocol::Right">Right</a>) -> Self::<a class="type" href="trait.PyNumberXorProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberXorProtocol::Result">Result</a><br> <span class="where">where<br> Self: <a class="trait" href="trait.PyNumberXorProtocol.html" title="trait pyo3::class::number::PyNumberXorProtocol">PyNumberXorProtocol</a><'p></span>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.__or__" class="fnname">__or__</a>(lhs: Self::<a class="type" href="trait.PyNumberOrProtocol.html#associatedtype.Left" title="type pyo3::class::number::PyNumberOrProtocol::Left">Left</a>, rhs: Self::<a class="type" href="trait.PyNumberOrProtocol.html#associatedtype.Right" title="type pyo3::class::number::PyNumberOrProtocol::Right">Right</a>) -> Self::<a class="type" href="trait.PyNumberOrProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberOrProtocol::Result">Result</a><br> <span class="where">where<br> Self: <a class="trait" href="trait.PyNumberOrProtocol.html" title="trait pyo3::class::number::PyNumberOrProtocol">PyNumberOrProtocol</a><'p></span>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.__radd__" class="fnname">__radd__</a>(&'p self, other: Self::<a class="type" href="trait.PyNumberRAddProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberRAddProtocol::Other">Other</a>) -> Self::<a class="type" href="trait.PyNumberRAddProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberRAddProtocol::Result">Result</a><br> <span class="where">where<br> Self: <a class="trait" href="trait.PyNumberRAddProtocol.html" title="trait pyo3::class::number::PyNumberRAddProtocol">PyNumberRAddProtocol</a><'p></span>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.__rsub__" class="fnname">__rsub__</a>(&'p self, other: Self::<a class="type" href="trait.PyNumberRSubProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberRSubProtocol::Other">Other</a>) -> Self::<a class="type" href="trait.PyNumberRSubProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberRSubProtocol::Result">Result</a><br> <span class="where">where<br> Self: <a class="trait" href="trait.PyNumberRSubProtocol.html" title="trait pyo3::class::number::PyNumberRSubProtocol">PyNumberRSubProtocol</a><'p></span>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.__rmul__" class="fnname">__rmul__</a>(&'p self, other: Self::<a class="type" href="trait.PyNumberRMulProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberRMulProtocol::Other">Other</a>) -> Self::<a class="type" href="trait.PyNumberRMulProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberRMulProtocol::Result">Result</a><br> <span class="where">where<br> Self: <a class="trait" href="trait.PyNumberRMulProtocol.html" title="trait pyo3::class::number::PyNumberRMulProtocol">PyNumberRMulProtocol</a><'p></span>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.__rmatmul__" class="fnname">__rmatmul__</a>(&'p self, other: Self::<a class="type" href="trait.PyNumberRMatmulProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberRMatmulProtocol::Other">Other</a>) -> Self::<a class="type" href="trait.PyNumberRMatmulProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberRMatmulProtocol::Result">Result</a><br> <span class="where">where<br> Self: <a class="trait" href="trait.PyNumberRMatmulProtocol.html" title="trait pyo3::class::number::PyNumberRMatmulProtocol">PyNumberRMatmulProtocol</a><'p></span>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.__rtruediv__" class="fnname">__rtruediv__</a>(&'p self, other: Self::<a class="type" href="trait.PyNumberRTruedivProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberRTruedivProtocol::Other">Other</a>) -> Self::<a class="type" href="trait.PyNumberRTruedivProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberRTruedivProtocol::Result">Result</a><br> <span class="where">where<br> Self: <a class="trait" href="trait.PyNumberRTruedivProtocol.html" title="trait pyo3::class::number::PyNumberRTruedivProtocol">PyNumberRTruedivProtocol</a><'p></span>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.__rfloordiv__" class="fnname">__rfloordiv__</a>(&'p self, other: Self::<a class="type" href="trait.PyNumberRFloordivProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberRFloordivProtocol::Other">Other</a>) -> Self::<a class="type" href="trait.PyNumberRFloordivProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberRFloordivProtocol::Result">Result</a><br> <span class="where">where<br> Self: <a class="trait" href="trait.PyNumberRFloordivProtocol.html" title="trait pyo3::class::number::PyNumberRFloordivProtocol">PyNumberRFloordivProtocol</a><'p></span>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.__rmod__" class="fnname">__rmod__</a>(&'p self, other: Self::<a class="type" href="trait.PyNumberRModProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberRModProtocol::Other">Other</a>) -> Self::<a class="type" href="trait.PyNumberRModProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberRModProtocol::Result">Result</a><br> <span class="where">where<br> Self: <a class="trait" href="trait.PyNumberRModProtocol.html" title="trait pyo3::class::number::PyNumberRModProtocol">PyNumberRModProtocol</a><'p></span>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.__rdivmod__" class="fnname">__rdivmod__</a>(&'p self, other: Self::<a class="type" href="trait.PyNumberRDivmodProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberRDivmodProtocol::Other">Other</a>) -> Self::<a class="type" href="trait.PyNumberRDivmodProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberRDivmodProtocol::Result">Result</a><br> <span class="where">where<br> Self: <a class="trait" href="trait.PyNumberRDivmodProtocol.html" title="trait pyo3::class::number::PyNumberRDivmodProtocol">PyNumberRDivmodProtocol</a><'p></span>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.__rpow__" class="fnname">__rpow__</a>(<br> &'p self, <br> other: Self::<a class="type" href="trait.PyNumberRPowProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberRPowProtocol::Other">Other</a>, <br> modulo: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self::<a class="type" href="trait.PyNumberRPowProtocol.html#associatedtype.Modulo" title="type pyo3::class::number::PyNumberRPowProtocol::Modulo">Modulo</a>><br> ) -> Self::<a class="type" href="trait.PyNumberRPowProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberRPowProtocol::Result">Result</a><br> <span class="where">where<br> Self: <a class="trait" href="trait.PyNumberRPowProtocol.html" title="trait pyo3::class::number::PyNumberRPowProtocol">PyNumberRPowProtocol</a><'p></span>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.__rlshift__" class="fnname">__rlshift__</a>(&'p self, other: Self::<a class="type" href="trait.PyNumberRLShiftProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberRLShiftProtocol::Other">Other</a>) -> Self::<a class="type" href="trait.PyNumberRLShiftProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberRLShiftProtocol::Result">Result</a><br> <span class="where">where<br> Self: <a class="trait" href="trait.PyNumberRLShiftProtocol.html" title="trait pyo3::class::number::PyNumberRLShiftProtocol">PyNumberRLShiftProtocol</a><'p></span>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.__rrshift__" class="fnname">__rrshift__</a>(&'p self, other: Self::<a class="type" href="trait.PyNumberRRShiftProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberRRShiftProtocol::Other">Other</a>) -> Self::<a class="type" href="trait.PyNumberRRShiftProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberRRShiftProtocol::Result">Result</a><br> <span class="where">where<br> Self: <a class="trait" href="trait.PyNumberRRShiftProtocol.html" title="trait pyo3::class::number::PyNumberRRShiftProtocol">PyNumberRRShiftProtocol</a><'p></span>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.__rand__" class="fnname">__rand__</a>(&'p self, other: Self::<a class="type" href="trait.PyNumberRAndProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberRAndProtocol::Other">Other</a>) -> Self::<a class="type" href="trait.PyNumberRAndProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberRAndProtocol::Result">Result</a><br> <span class="where">where<br> Self: <a class="trait" href="trait.PyNumberRAndProtocol.html" title="trait pyo3::class::number::PyNumberRAndProtocol">PyNumberRAndProtocol</a><'p></span>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.__rxor__" class="fnname">__rxor__</a>(&'p self, other: Self::<a class="type" href="trait.PyNumberRXorProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberRXorProtocol::Other">Other</a>) -> Self::<a class="type" href="trait.PyNumberRXorProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberRXorProtocol::Result">Result</a><br> <span class="where">where<br> Self: <a class="trait" href="trait.PyNumberRXorProtocol.html" title="trait pyo3::class::number::PyNumberRXorProtocol">PyNumberRXorProtocol</a><'p></span>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.__ror__" class="fnname">__ror__</a>(&'p self, other: Self::<a class="type" href="trait.PyNumberROrProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberROrProtocol::Other">Other</a>) -> Self::<a class="type" href="trait.PyNumberROrProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberROrProtocol::Result">Result</a><br> <span class="where">where<br> Self: <a class="trait" href="trait.PyNumberROrProtocol.html" title="trait pyo3::class::number::PyNumberROrProtocol">PyNumberROrProtocol</a><'p></span>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.__iadd__" class="fnname">__iadd__</a>(&'p mut self, other: Self::<a class="type" href="trait.PyNumberIAddProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberIAddProtocol::Other">Other</a>) -> Self::<a class="type" href="trait.PyNumberIAddProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberIAddProtocol::Result">Result</a><br> <span class="where">where<br> Self: <a class="trait" href="trait.PyNumberIAddProtocol.html" title="trait pyo3::class::number::PyNumberIAddProtocol">PyNumberIAddProtocol</a><'p></span>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.__isub__" class="fnname">__isub__</a>(&'p mut self, other: Self::<a class="type" href="trait.PyNumberISubProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberISubProtocol::Other">Other</a>) -> Self::<a class="type" href="trait.PyNumberISubProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberISubProtocol::Result">Result</a><br> <span class="where">where<br> Self: <a class="trait" href="trait.PyNumberISubProtocol.html" title="trait pyo3::class::number::PyNumberISubProtocol">PyNumberISubProtocol</a><'p></span>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.__imul__" class="fnname">__imul__</a>(&'p mut self, other: Self::<a class="type" href="trait.PyNumberIMulProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberIMulProtocol::Other">Other</a>) -> Self::<a class="type" href="trait.PyNumberIMulProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberIMulProtocol::Result">Result</a><br> <span class="where">where<br> Self: <a class="trait" href="trait.PyNumberIMulProtocol.html" title="trait pyo3::class::number::PyNumberIMulProtocol">PyNumberIMulProtocol</a><'p></span>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.__imatmul__" class="fnname">__imatmul__</a>(&'p mut self, other: Self::<a class="type" href="trait.PyNumberIMatmulProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberIMatmulProtocol::Other">Other</a>) -> Self::<a class="type" href="trait.PyNumberIMatmulProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberIMatmulProtocol::Result">Result</a><br> <span class="where">where<br> Self: <a class="trait" href="trait.PyNumberIMatmulProtocol.html" title="trait pyo3::class::number::PyNumberIMatmulProtocol">PyNumberIMatmulProtocol</a><'p></span>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.__itruediv__" class="fnname">__itruediv__</a>(&'p mut self, other: Self::<a class="type" href="trait.PyNumberITruedivProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberITruedivProtocol::Other">Other</a>) -> Self::<a class="type" href="trait.PyNumberITruedivProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberITruedivProtocol::Result">Result</a><br> <span class="where">where<br> Self: <a class="trait" href="trait.PyNumberITruedivProtocol.html" title="trait pyo3::class::number::PyNumberITruedivProtocol">PyNumberITruedivProtocol</a><'p></span>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.__ifloordiv__" class="fnname">__ifloordiv__</a>(&'p mut self, other: Self::<a class="type" href="trait.PyNumberIFloordivProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberIFloordivProtocol::Other">Other</a>) -> Self::<a class="type" href="trait.PyNumberIFloordivProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberIFloordivProtocol::Result">Result</a><br> <span class="where">where<br> Self: <a class="trait" href="trait.PyNumberIFloordivProtocol.html" title="trait pyo3::class::number::PyNumberIFloordivProtocol">PyNumberIFloordivProtocol</a><'p></span>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.__imod__" class="fnname">__imod__</a>(&'p mut self, other: Self::<a class="type" href="trait.PyNumberIModProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberIModProtocol::Other">Other</a>) -> Self::<a class="type" href="trait.PyNumberIModProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberIModProtocol::Result">Result</a><br> <span class="where">where<br> Self: <a class="trait" href="trait.PyNumberIModProtocol.html" title="trait pyo3::class::number::PyNumberIModProtocol">PyNumberIModProtocol</a><'p></span>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.__ipow__" class="fnname">__ipow__</a>(&'p mut self, other: Self::<a class="type" href="trait.PyNumberIPowProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberIPowProtocol::Other">Other</a>) -> Self::<a class="type" href="trait.PyNumberIPowProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberIPowProtocol::Result">Result</a><br> <span class="where">where<br> Self: <a class="trait" href="trait.PyNumberIPowProtocol.html" title="trait pyo3::class::number::PyNumberIPowProtocol">PyNumberIPowProtocol</a><'p></span>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.__ilshift__" class="fnname">__ilshift__</a>(&'p mut self, other: Self::<a class="type" href="trait.PyNumberILShiftProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberILShiftProtocol::Other">Other</a>) -> Self::<a class="type" href="trait.PyNumberILShiftProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberILShiftProtocol::Result">Result</a><br> <span class="where">where<br> Self: <a class="trait" href="trait.PyNumberILShiftProtocol.html" title="trait pyo3::class::number::PyNumberILShiftProtocol">PyNumberILShiftProtocol</a><'p></span>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.__irshift__" class="fnname">__irshift__</a>(&'p mut self, other: Self::<a class="type" href="trait.PyNumberIRShiftProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberIRShiftProtocol::Other">Other</a>) -> Self::<a class="type" href="trait.PyNumberIRShiftProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberIRShiftProtocol::Result">Result</a><br> <span class="where">where<br> Self: <a class="trait" href="trait.PyNumberIRShiftProtocol.html" title="trait pyo3::class::number::PyNumberIRShiftProtocol">PyNumberIRShiftProtocol</a><'p></span>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.__iand__" class="fnname">__iand__</a>(&'p mut self, other: Self::<a class="type" href="trait.PyNumberIAndProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberIAndProtocol::Other">Other</a>) -> Self::<a class="type" href="trait.PyNumberIAndProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberIAndProtocol::Result">Result</a><br> <span class="where">where<br> Self: <a class="trait" href="trait.PyNumberIAndProtocol.html" title="trait pyo3::class::number::PyNumberIAndProtocol">PyNumberIAndProtocol</a><'p></span>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.__ixor__" class="fnname">__ixor__</a>(&'p mut self, other: Self::<a class="type" href="trait.PyNumberIXorProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberIXorProtocol::Other">Other</a>) -> Self::<a class="type" href="trait.PyNumberIXorProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberIXorProtocol::Result">Result</a><br> <span class="where">where<br> Self: <a class="trait" href="trait.PyNumberIXorProtocol.html" title="trait pyo3::class::number::PyNumberIXorProtocol">PyNumberIXorProtocol</a><'p></span>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.__ior__" class="fnname">__ior__</a>(&'p mut self, other: Self::<a class="type" href="trait.PyNumberIOrProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberIOrProtocol::Other">Other</a>) -> Self::<a class="type" href="trait.PyNumberIOrProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberIOrProtocol::Result">Result</a><br> <span class="where">where<br> Self: <a class="trait" href="trait.PyNumberIOrProtocol.html" title="trait pyo3::class::number::PyNumberIOrProtocol">PyNumberIOrProtocol</a><'p></span>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.__neg__" class="fnname">__neg__</a>(&'p self) -> Self::<a class="type" href="trait.PyNumberNegProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberNegProtocol::Result">Result</a><br> <span class="where">where<br> Self: <a class="trait" href="trait.PyNumberNegProtocol.html" title="trait pyo3::class::number::PyNumberNegProtocol">PyNumberNegProtocol</a><'p></span>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.__pos__" class="fnname">__pos__</a>(&'p self) -> Self::<a class="type" href="trait.PyNumberPosProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberPosProtocol::Result">Result</a><br> <span class="where">where<br> Self: <a class="trait" href="trait.PyNumberPosProtocol.html" title="trait pyo3::class::number::PyNumberPosProtocol">PyNumberPosProtocol</a><'p></span>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.__abs__" class="fnname">__abs__</a>(&'p self) -> Self::<a class="type" href="trait.PyNumberAbsProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberAbsProtocol::Result">Result</a><br> <span class="where">where<br> Self: <a class="trait" href="trait.PyNumberAbsProtocol.html" title="trait pyo3::class::number::PyNumberAbsProtocol">PyNumberAbsProtocol</a><'p></span>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.__invert__" class="fnname">__invert__</a>(&'p self) -> Self::<a class="type" href="trait.PyNumberInvertProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberInvertProtocol::Result">Result</a><br> <span class="where">where<br> Self: <a class="trait" href="trait.PyNumberInvertProtocol.html" title="trait pyo3::class::number::PyNumberInvertProtocol">PyNumberInvertProtocol</a><'p></span>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.__complex__" class="fnname">__complex__</a>(&'p self) -> Self::<a class="type" href="trait.PyNumberComplexProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberComplexProtocol::Result">Result</a><br> <span class="where">where<br> Self: <a class="trait" href="trait.PyNumberComplexProtocol.html" title="trait pyo3::class::number::PyNumberComplexProtocol">PyNumberComplexProtocol</a><'p></span>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.__int__" class="fnname">__int__</a>(&'p self) -> Self::<a class="type" href="trait.PyNumberIntProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberIntProtocol::Result">Result</a><br> <span class="where">where<br> Self: <a class="trait" href="trait.PyNumberIntProtocol.html" title="trait pyo3::class::number::PyNumberIntProtocol">PyNumberIntProtocol</a><'p></span>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.__float__" class="fnname">__float__</a>(&'p self) -> Self::<a class="type" href="trait.PyNumberFloatProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberFloatProtocol::Result">Result</a><br> <span class="where">where<br> Self: <a class="trait" href="trait.PyNumberFloatProtocol.html" title="trait pyo3::class::number::PyNumberFloatProtocol">PyNumberFloatProtocol</a><'p></span>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.__index__" class="fnname">__index__</a>(&'p self) -> Self::<a class="type" href="trait.PyNumberIndexProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberIndexProtocol::Result">Result</a><br> <span class="where">where<br> Self: <a class="trait" href="trait.PyNumberIndexProtocol.html" title="trait pyo3::class::number::PyNumberIndexProtocol">PyNumberIndexProtocol</a><'p></span>,
|
||
{ ... }
|
||
<div class="item-spacer"></div> fn <a href="#method.__round__" class="fnname">__round__</a>(&'p self, ndigits: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self::<a class="type" href="trait.PyNumberRoundProtocol.html#associatedtype.NDigits" title="type pyo3::class::number::PyNumberRoundProtocol::NDigits">NDigits</a>>) -> Self::<a class="type" href="trait.PyNumberRoundProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberRoundProtocol::Result">Result</a><br> <span class="where">where<br> Self: <a class="trait" href="trait.PyNumberRoundProtocol.html" title="trait pyo3::class::number::PyNumberRoundProtocol">PyNumberRoundProtocol</a><'p></span>,
|
||
{ ... }
|
||
</details>}</pre></div><div class="docblock"><p>Number interface</p>
|
||
</div><h2 id="provided-methods" class="small-section-header">Provided methods<a href="#provided-methods" class="anchor"></a></h2><div class="methods"><h3 id="method.__add__" class="method"><code>fn <a href="#method.__add__" class="fnname">__add__</a>(lhs: Self::<a class="type" href="trait.PyNumberAddProtocol.html#associatedtype.Left" title="type pyo3::class::number::PyNumberAddProtocol::Left">Left</a>, rhs: Self::<a class="type" href="trait.PyNumberAddProtocol.html#associatedtype.Right" title="type pyo3::class::number::PyNumberAddProtocol::Right">Right</a>) -> Self::<a class="type" href="trait.PyNumberAddProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberAddProtocol::Result">Result</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="trait.PyNumberAddProtocol.html" title="trait pyo3::class::number::PyNumberAddProtocol">PyNumberAddProtocol</a><'p>, </span></code><a class="srclink" href="../../../src/pyo3/class/number.rs.html#12-17" title="goto source code">[src]</a></h3><h3 id="method.__sub__" class="method"><code>fn <a href="#method.__sub__" class="fnname">__sub__</a>(lhs: Self::<a class="type" href="trait.PyNumberSubProtocol.html#associatedtype.Left" title="type pyo3::class::number::PyNumberSubProtocol::Left">Left</a>, rhs: Self::<a class="type" href="trait.PyNumberSubProtocol.html#associatedtype.Right" title="type pyo3::class::number::PyNumberSubProtocol::Right">Right</a>) -> Self::<a class="type" href="trait.PyNumberSubProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberSubProtocol::Result">Result</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="trait.PyNumberSubProtocol.html" title="trait pyo3::class::number::PyNumberSubProtocol">PyNumberSubProtocol</a><'p>, </span></code><a class="srclink" href="../../../src/pyo3/class/number.rs.html#18-23" title="goto source code">[src]</a></h3><h3 id="method.__mul__" class="method"><code>fn <a href="#method.__mul__" class="fnname">__mul__</a>(lhs: Self::<a class="type" href="trait.PyNumberMulProtocol.html#associatedtype.Left" title="type pyo3::class::number::PyNumberMulProtocol::Left">Left</a>, rhs: Self::<a class="type" href="trait.PyNumberMulProtocol.html#associatedtype.Right" title="type pyo3::class::number::PyNumberMulProtocol::Right">Right</a>) -> Self::<a class="type" href="trait.PyNumberMulProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberMulProtocol::Result">Result</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="trait.PyNumberMulProtocol.html" title="trait pyo3::class::number::PyNumberMulProtocol">PyNumberMulProtocol</a><'p>, </span></code><a class="srclink" href="../../../src/pyo3/class/number.rs.html#24-29" title="goto source code">[src]</a></h3><h3 id="method.__matmul__" class="method"><code>fn <a href="#method.__matmul__" class="fnname">__matmul__</a>(lhs: Self::<a class="type" href="trait.PyNumberMatmulProtocol.html#associatedtype.Left" title="type pyo3::class::number::PyNumberMatmulProtocol::Left">Left</a>, rhs: Self::<a class="type" href="trait.PyNumberMatmulProtocol.html#associatedtype.Right" title="type pyo3::class::number::PyNumberMatmulProtocol::Right">Right</a>) -> Self::<a class="type" href="trait.PyNumberMatmulProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberMatmulProtocol::Result">Result</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="trait.PyNumberMatmulProtocol.html" title="trait pyo3::class::number::PyNumberMatmulProtocol">PyNumberMatmulProtocol</a><'p>, </span></code><a class="srclink" href="../../../src/pyo3/class/number.rs.html#30-35" title="goto source code">[src]</a></h3><h3 id="method.__truediv__" class="method"><code>fn <a href="#method.__truediv__" class="fnname">__truediv__</a>(lhs: Self::<a class="type" href="trait.PyNumberTruedivProtocol.html#associatedtype.Left" title="type pyo3::class::number::PyNumberTruedivProtocol::Left">Left</a>, rhs: Self::<a class="type" href="trait.PyNumberTruedivProtocol.html#associatedtype.Right" title="type pyo3::class::number::PyNumberTruedivProtocol::Right">Right</a>) -> Self::<a class="type" href="trait.PyNumberTruedivProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberTruedivProtocol::Result">Result</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="trait.PyNumberTruedivProtocol.html" title="trait pyo3::class::number::PyNumberTruedivProtocol">PyNumberTruedivProtocol</a><'p>, </span></code><a class="srclink" href="../../../src/pyo3/class/number.rs.html#36-41" title="goto source code">[src]</a></h3><h3 id="method.__floordiv__" class="method"><code>fn <a href="#method.__floordiv__" class="fnname">__floordiv__</a>(lhs: Self::<a class="type" href="trait.PyNumberFloordivProtocol.html#associatedtype.Left" title="type pyo3::class::number::PyNumberFloordivProtocol::Left">Left</a>, rhs: Self::<a class="type" href="trait.PyNumberFloordivProtocol.html#associatedtype.Right" title="type pyo3::class::number::PyNumberFloordivProtocol::Right">Right</a>) -> Self::<a class="type" href="trait.PyNumberFloordivProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberFloordivProtocol::Result">Result</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="trait.PyNumberFloordivProtocol.html" title="trait pyo3::class::number::PyNumberFloordivProtocol">PyNumberFloordivProtocol</a><'p>, </span></code><a class="srclink" href="../../../src/pyo3/class/number.rs.html#42-47" title="goto source code">[src]</a></h3><h3 id="method.__mod__" class="method"><code>fn <a href="#method.__mod__" class="fnname">__mod__</a>(lhs: Self::<a class="type" href="trait.PyNumberModProtocol.html#associatedtype.Left" title="type pyo3::class::number::PyNumberModProtocol::Left">Left</a>, rhs: Self::<a class="type" href="trait.PyNumberModProtocol.html#associatedtype.Right" title="type pyo3::class::number::PyNumberModProtocol::Right">Right</a>) -> Self::<a class="type" href="trait.PyNumberModProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberModProtocol::Result">Result</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="trait.PyNumberModProtocol.html" title="trait pyo3::class::number::PyNumberModProtocol">PyNumberModProtocol</a><'p>, </span></code><a class="srclink" href="../../../src/pyo3/class/number.rs.html#48-53" title="goto source code">[src]</a></h3><h3 id="method.__divmod__" class="method"><code>fn <a href="#method.__divmod__" class="fnname">__divmod__</a>(lhs: Self::<a class="type" href="trait.PyNumberDivmodProtocol.html#associatedtype.Left" title="type pyo3::class::number::PyNumberDivmodProtocol::Left">Left</a>, rhs: Self::<a class="type" href="trait.PyNumberDivmodProtocol.html#associatedtype.Right" title="type pyo3::class::number::PyNumberDivmodProtocol::Right">Right</a>) -> Self::<a class="type" href="trait.PyNumberDivmodProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberDivmodProtocol::Result">Result</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="trait.PyNumberDivmodProtocol.html" title="trait pyo3::class::number::PyNumberDivmodProtocol">PyNumberDivmodProtocol</a><'p>, </span></code><a class="srclink" href="../../../src/pyo3/class/number.rs.html#54-59" title="goto source code">[src]</a></h3><h3 id="method.__pow__" class="method"><code>fn <a href="#method.__pow__" class="fnname">__pow__</a>(<br> lhs: Self::<a class="type" href="trait.PyNumberPowProtocol.html#associatedtype.Left" title="type pyo3::class::number::PyNumberPowProtocol::Left">Left</a>, <br> rhs: Self::<a class="type" href="trait.PyNumberPowProtocol.html#associatedtype.Right" title="type pyo3::class::number::PyNumberPowProtocol::Right">Right</a>, <br> modulo: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self::<a class="type" href="trait.PyNumberPowProtocol.html#associatedtype.Modulo" title="type pyo3::class::number::PyNumberPowProtocol::Modulo">Modulo</a>><br>) -> Self::<a class="type" href="trait.PyNumberPowProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberPowProtocol::Result">Result</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="trait.PyNumberPowProtocol.html" title="trait pyo3::class::number::PyNumberPowProtocol">PyNumberPowProtocol</a><'p>, </span></code><a class="srclink" href="../../../src/pyo3/class/number.rs.html#60-65" title="goto source code">[src]</a></h3><h3 id="method.__lshift__" class="method"><code>fn <a href="#method.__lshift__" class="fnname">__lshift__</a>(lhs: Self::<a class="type" href="trait.PyNumberLShiftProtocol.html#associatedtype.Left" title="type pyo3::class::number::PyNumberLShiftProtocol::Left">Left</a>, rhs: Self::<a class="type" href="trait.PyNumberLShiftProtocol.html#associatedtype.Right" title="type pyo3::class::number::PyNumberLShiftProtocol::Right">Right</a>) -> Self::<a class="type" href="trait.PyNumberLShiftProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberLShiftProtocol::Result">Result</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="trait.PyNumberLShiftProtocol.html" title="trait pyo3::class::number::PyNumberLShiftProtocol">PyNumberLShiftProtocol</a><'p>, </span></code><a class="srclink" href="../../../src/pyo3/class/number.rs.html#66-71" title="goto source code">[src]</a></h3><h3 id="method.__rshift__" class="method"><code>fn <a href="#method.__rshift__" class="fnname">__rshift__</a>(lhs: Self::<a class="type" href="trait.PyNumberRShiftProtocol.html#associatedtype.Left" title="type pyo3::class::number::PyNumberRShiftProtocol::Left">Left</a>, rhs: Self::<a class="type" href="trait.PyNumberRShiftProtocol.html#associatedtype.Right" title="type pyo3::class::number::PyNumberRShiftProtocol::Right">Right</a>) -> Self::<a class="type" href="trait.PyNumberRShiftProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberRShiftProtocol::Result">Result</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="trait.PyNumberRShiftProtocol.html" title="trait pyo3::class::number::PyNumberRShiftProtocol">PyNumberRShiftProtocol</a><'p>, </span></code><a class="srclink" href="../../../src/pyo3/class/number.rs.html#72-77" title="goto source code">[src]</a></h3><h3 id="method.__and__" class="method"><code>fn <a href="#method.__and__" class="fnname">__and__</a>(lhs: Self::<a class="type" href="trait.PyNumberAndProtocol.html#associatedtype.Left" title="type pyo3::class::number::PyNumberAndProtocol::Left">Left</a>, rhs: Self::<a class="type" href="trait.PyNumberAndProtocol.html#associatedtype.Right" title="type pyo3::class::number::PyNumberAndProtocol::Right">Right</a>) -> Self::<a class="type" href="trait.PyNumberAndProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberAndProtocol::Result">Result</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="trait.PyNumberAndProtocol.html" title="trait pyo3::class::number::PyNumberAndProtocol">PyNumberAndProtocol</a><'p>, </span></code><a class="srclink" href="../../../src/pyo3/class/number.rs.html#78-83" title="goto source code">[src]</a></h3><h3 id="method.__xor__" class="method"><code>fn <a href="#method.__xor__" class="fnname">__xor__</a>(lhs: Self::<a class="type" href="trait.PyNumberXorProtocol.html#associatedtype.Left" title="type pyo3::class::number::PyNumberXorProtocol::Left">Left</a>, rhs: Self::<a class="type" href="trait.PyNumberXorProtocol.html#associatedtype.Right" title="type pyo3::class::number::PyNumberXorProtocol::Right">Right</a>) -> Self::<a class="type" href="trait.PyNumberXorProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberXorProtocol::Result">Result</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="trait.PyNumberXorProtocol.html" title="trait pyo3::class::number::PyNumberXorProtocol">PyNumberXorProtocol</a><'p>, </span></code><a class="srclink" href="../../../src/pyo3/class/number.rs.html#84-89" title="goto source code">[src]</a></h3><h3 id="method.__or__" class="method"><code>fn <a href="#method.__or__" class="fnname">__or__</a>(lhs: Self::<a class="type" href="trait.PyNumberOrProtocol.html#associatedtype.Left" title="type pyo3::class::number::PyNumberOrProtocol::Left">Left</a>, rhs: Self::<a class="type" href="trait.PyNumberOrProtocol.html#associatedtype.Right" title="type pyo3::class::number::PyNumberOrProtocol::Right">Right</a>) -> Self::<a class="type" href="trait.PyNumberOrProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberOrProtocol::Result">Result</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="trait.PyNumberOrProtocol.html" title="trait pyo3::class::number::PyNumberOrProtocol">PyNumberOrProtocol</a><'p>, </span></code><a class="srclink" href="../../../src/pyo3/class/number.rs.html#90-95" title="goto source code">[src]</a></h3><h3 id="method.__radd__" class="method"><code>fn <a href="#method.__radd__" class="fnname">__radd__</a>(&'p self, other: Self::<a class="type" href="trait.PyNumberRAddProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberRAddProtocol::Other">Other</a>) -> Self::<a class="type" href="trait.PyNumberRAddProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberRAddProtocol::Result">Result</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="trait.PyNumberRAddProtocol.html" title="trait pyo3::class::number::PyNumberRAddProtocol">PyNumberRAddProtocol</a><'p>, </span></code><a class="srclink" href="../../../src/pyo3/class/number.rs.html#97-102" title="goto source code">[src]</a></h3><h3 id="method.__rsub__" class="method"><code>fn <a href="#method.__rsub__" class="fnname">__rsub__</a>(&'p self, other: Self::<a class="type" href="trait.PyNumberRSubProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberRSubProtocol::Other">Other</a>) -> Self::<a class="type" href="trait.PyNumberRSubProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberRSubProtocol::Result">Result</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="trait.PyNumberRSubProtocol.html" title="trait pyo3::class::number::PyNumberRSubProtocol">PyNumberRSubProtocol</a><'p>, </span></code><a class="srclink" href="../../../src/pyo3/class/number.rs.html#103-108" title="goto source code">[src]</a></h3><h3 id="method.__rmul__" class="method"><code>fn <a href="#method.__rmul__" class="fnname">__rmul__</a>(&'p self, other: Self::<a class="type" href="trait.PyNumberRMulProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberRMulProtocol::Other">Other</a>) -> Self::<a class="type" href="trait.PyNumberRMulProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberRMulProtocol::Result">Result</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="trait.PyNumberRMulProtocol.html" title="trait pyo3::class::number::PyNumberRMulProtocol">PyNumberRMulProtocol</a><'p>, </span></code><a class="srclink" href="../../../src/pyo3/class/number.rs.html#109-114" title="goto source code">[src]</a></h3><h3 id="method.__rmatmul__" class="method"><code>fn <a href="#method.__rmatmul__" class="fnname">__rmatmul__</a>(&'p self, other: Self::<a class="type" href="trait.PyNumberRMatmulProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberRMatmulProtocol::Other">Other</a>) -> Self::<a class="type" href="trait.PyNumberRMatmulProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberRMatmulProtocol::Result">Result</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="trait.PyNumberRMatmulProtocol.html" title="trait pyo3::class::number::PyNumberRMatmulProtocol">PyNumberRMatmulProtocol</a><'p>, </span></code><a class="srclink" href="../../../src/pyo3/class/number.rs.html#115-120" title="goto source code">[src]</a></h3><h3 id="method.__rtruediv__" class="method"><code>fn <a href="#method.__rtruediv__" class="fnname">__rtruediv__</a>(&'p self, other: Self::<a class="type" href="trait.PyNumberRTruedivProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberRTruedivProtocol::Other">Other</a>) -> Self::<a class="type" href="trait.PyNumberRTruedivProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberRTruedivProtocol::Result">Result</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="trait.PyNumberRTruedivProtocol.html" title="trait pyo3::class::number::PyNumberRTruedivProtocol">PyNumberRTruedivProtocol</a><'p>, </span></code><a class="srclink" href="../../../src/pyo3/class/number.rs.html#121-126" title="goto source code">[src]</a></h3><h3 id="method.__rfloordiv__" class="method"><code>fn <a href="#method.__rfloordiv__" class="fnname">__rfloordiv__</a>(&'p self, other: Self::<a class="type" href="trait.PyNumberRFloordivProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberRFloordivProtocol::Other">Other</a>) -> Self::<a class="type" href="trait.PyNumberRFloordivProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberRFloordivProtocol::Result">Result</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="trait.PyNumberRFloordivProtocol.html" title="trait pyo3::class::number::PyNumberRFloordivProtocol">PyNumberRFloordivProtocol</a><'p>, </span></code><a class="srclink" href="../../../src/pyo3/class/number.rs.html#127-132" title="goto source code">[src]</a></h3><h3 id="method.__rmod__" class="method"><code>fn <a href="#method.__rmod__" class="fnname">__rmod__</a>(&'p self, other: Self::<a class="type" href="trait.PyNumberRModProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberRModProtocol::Other">Other</a>) -> Self::<a class="type" href="trait.PyNumberRModProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberRModProtocol::Result">Result</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="trait.PyNumberRModProtocol.html" title="trait pyo3::class::number::PyNumberRModProtocol">PyNumberRModProtocol</a><'p>, </span></code><a class="srclink" href="../../../src/pyo3/class/number.rs.html#133-138" title="goto source code">[src]</a></h3><h3 id="method.__rdivmod__" class="method"><code>fn <a href="#method.__rdivmod__" class="fnname">__rdivmod__</a>(&'p self, other: Self::<a class="type" href="trait.PyNumberRDivmodProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberRDivmodProtocol::Other">Other</a>) -> Self::<a class="type" href="trait.PyNumberRDivmodProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberRDivmodProtocol::Result">Result</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="trait.PyNumberRDivmodProtocol.html" title="trait pyo3::class::number::PyNumberRDivmodProtocol">PyNumberRDivmodProtocol</a><'p>, </span></code><a class="srclink" href="../../../src/pyo3/class/number.rs.html#139-144" title="goto source code">[src]</a></h3><h3 id="method.__rpow__" class="method"><code>fn <a href="#method.__rpow__" class="fnname">__rpow__</a>(<br> &'p self, <br> other: Self::<a class="type" href="trait.PyNumberRPowProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberRPowProtocol::Other">Other</a>, <br> modulo: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self::<a class="type" href="trait.PyNumberRPowProtocol.html#associatedtype.Modulo" title="type pyo3::class::number::PyNumberRPowProtocol::Modulo">Modulo</a>><br>) -> Self::<a class="type" href="trait.PyNumberRPowProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberRPowProtocol::Result">Result</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="trait.PyNumberRPowProtocol.html" title="trait pyo3::class::number::PyNumberRPowProtocol">PyNumberRPowProtocol</a><'p>, </span></code><a class="srclink" href="../../../src/pyo3/class/number.rs.html#145-150" title="goto source code">[src]</a></h3><h3 id="method.__rlshift__" class="method"><code>fn <a href="#method.__rlshift__" class="fnname">__rlshift__</a>(&'p self, other: Self::<a class="type" href="trait.PyNumberRLShiftProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberRLShiftProtocol::Other">Other</a>) -> Self::<a class="type" href="trait.PyNumberRLShiftProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberRLShiftProtocol::Result">Result</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="trait.PyNumberRLShiftProtocol.html" title="trait pyo3::class::number::PyNumberRLShiftProtocol">PyNumberRLShiftProtocol</a><'p>, </span></code><a class="srclink" href="../../../src/pyo3/class/number.rs.html#151-156" title="goto source code">[src]</a></h3><h3 id="method.__rrshift__" class="method"><code>fn <a href="#method.__rrshift__" class="fnname">__rrshift__</a>(&'p self, other: Self::<a class="type" href="trait.PyNumberRRShiftProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberRRShiftProtocol::Other">Other</a>) -> Self::<a class="type" href="trait.PyNumberRRShiftProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberRRShiftProtocol::Result">Result</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="trait.PyNumberRRShiftProtocol.html" title="trait pyo3::class::number::PyNumberRRShiftProtocol">PyNumberRRShiftProtocol</a><'p>, </span></code><a class="srclink" href="../../../src/pyo3/class/number.rs.html#157-162" title="goto source code">[src]</a></h3><h3 id="method.__rand__" class="method"><code>fn <a href="#method.__rand__" class="fnname">__rand__</a>(&'p self, other: Self::<a class="type" href="trait.PyNumberRAndProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberRAndProtocol::Other">Other</a>) -> Self::<a class="type" href="trait.PyNumberRAndProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberRAndProtocol::Result">Result</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="trait.PyNumberRAndProtocol.html" title="trait pyo3::class::number::PyNumberRAndProtocol">PyNumberRAndProtocol</a><'p>, </span></code><a class="srclink" href="../../../src/pyo3/class/number.rs.html#163-168" title="goto source code">[src]</a></h3><h3 id="method.__rxor__" class="method"><code>fn <a href="#method.__rxor__" class="fnname">__rxor__</a>(&'p self, other: Self::<a class="type" href="trait.PyNumberRXorProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberRXorProtocol::Other">Other</a>) -> Self::<a class="type" href="trait.PyNumberRXorProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberRXorProtocol::Result">Result</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="trait.PyNumberRXorProtocol.html" title="trait pyo3::class::number::PyNumberRXorProtocol">PyNumberRXorProtocol</a><'p>, </span></code><a class="srclink" href="../../../src/pyo3/class/number.rs.html#169-174" title="goto source code">[src]</a></h3><h3 id="method.__ror__" class="method"><code>fn <a href="#method.__ror__" class="fnname">__ror__</a>(&'p self, other: Self::<a class="type" href="trait.PyNumberROrProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberROrProtocol::Other">Other</a>) -> Self::<a class="type" href="trait.PyNumberROrProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberROrProtocol::Result">Result</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="trait.PyNumberROrProtocol.html" title="trait pyo3::class::number::PyNumberROrProtocol">PyNumberROrProtocol</a><'p>, </span></code><a class="srclink" href="../../../src/pyo3/class/number.rs.html#175-180" title="goto source code">[src]</a></h3><h3 id="method.__iadd__" class="method"><code>fn <a href="#method.__iadd__" class="fnname">__iadd__</a>(&'p mut self, other: Self::<a class="type" href="trait.PyNumberIAddProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberIAddProtocol::Other">Other</a>) -> Self::<a class="type" href="trait.PyNumberIAddProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberIAddProtocol::Result">Result</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="trait.PyNumberIAddProtocol.html" title="trait pyo3::class::number::PyNumberIAddProtocol">PyNumberIAddProtocol</a><'p>, </span></code><a class="srclink" href="../../../src/pyo3/class/number.rs.html#182-187" title="goto source code">[src]</a></h3><h3 id="method.__isub__" class="method"><code>fn <a href="#method.__isub__" class="fnname">__isub__</a>(&'p mut self, other: Self::<a class="type" href="trait.PyNumberISubProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberISubProtocol::Other">Other</a>) -> Self::<a class="type" href="trait.PyNumberISubProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberISubProtocol::Result">Result</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="trait.PyNumberISubProtocol.html" title="trait pyo3::class::number::PyNumberISubProtocol">PyNumberISubProtocol</a><'p>, </span></code><a class="srclink" href="../../../src/pyo3/class/number.rs.html#188-193" title="goto source code">[src]</a></h3><h3 id="method.__imul__" class="method"><code>fn <a href="#method.__imul__" class="fnname">__imul__</a>(&'p mut self, other: Self::<a class="type" href="trait.PyNumberIMulProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberIMulProtocol::Other">Other</a>) -> Self::<a class="type" href="trait.PyNumberIMulProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberIMulProtocol::Result">Result</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="trait.PyNumberIMulProtocol.html" title="trait pyo3::class::number::PyNumberIMulProtocol">PyNumberIMulProtocol</a><'p>, </span></code><a class="srclink" href="../../../src/pyo3/class/number.rs.html#194-199" title="goto source code">[src]</a></h3><h3 id="method.__imatmul__" class="method"><code>fn <a href="#method.__imatmul__" class="fnname">__imatmul__</a>(&'p mut self, other: Self::<a class="type" href="trait.PyNumberIMatmulProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberIMatmulProtocol::Other">Other</a>) -> Self::<a class="type" href="trait.PyNumberIMatmulProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberIMatmulProtocol::Result">Result</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="trait.PyNumberIMatmulProtocol.html" title="trait pyo3::class::number::PyNumberIMatmulProtocol">PyNumberIMatmulProtocol</a><'p>, </span></code><a class="srclink" href="../../../src/pyo3/class/number.rs.html#200-205" title="goto source code">[src]</a></h3><h3 id="method.__itruediv__" class="method"><code>fn <a href="#method.__itruediv__" class="fnname">__itruediv__</a>(&'p mut self, other: Self::<a class="type" href="trait.PyNumberITruedivProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberITruedivProtocol::Other">Other</a>) -> Self::<a class="type" href="trait.PyNumberITruedivProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberITruedivProtocol::Result">Result</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="trait.PyNumberITruedivProtocol.html" title="trait pyo3::class::number::PyNumberITruedivProtocol">PyNumberITruedivProtocol</a><'p>, </span></code><a class="srclink" href="../../../src/pyo3/class/number.rs.html#206-211" title="goto source code">[src]</a></h3><h3 id="method.__ifloordiv__" class="method"><code>fn <a href="#method.__ifloordiv__" class="fnname">__ifloordiv__</a>(&'p mut self, other: Self::<a class="type" href="trait.PyNumberIFloordivProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberIFloordivProtocol::Other">Other</a>) -> Self::<a class="type" href="trait.PyNumberIFloordivProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberIFloordivProtocol::Result">Result</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="trait.PyNumberIFloordivProtocol.html" title="trait pyo3::class::number::PyNumberIFloordivProtocol">PyNumberIFloordivProtocol</a><'p>, </span></code><a class="srclink" href="../../../src/pyo3/class/number.rs.html#212-217" title="goto source code">[src]</a></h3><h3 id="method.__imod__" class="method"><code>fn <a href="#method.__imod__" class="fnname">__imod__</a>(&'p mut self, other: Self::<a class="type" href="trait.PyNumberIModProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberIModProtocol::Other">Other</a>) -> Self::<a class="type" href="trait.PyNumberIModProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberIModProtocol::Result">Result</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="trait.PyNumberIModProtocol.html" title="trait pyo3::class::number::PyNumberIModProtocol">PyNumberIModProtocol</a><'p>, </span></code><a class="srclink" href="../../../src/pyo3/class/number.rs.html#218-223" title="goto source code">[src]</a></h3><h3 id="method.__ipow__" class="method"><code>fn <a href="#method.__ipow__" class="fnname">__ipow__</a>(&'p mut self, other: Self::<a class="type" href="trait.PyNumberIPowProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberIPowProtocol::Other">Other</a>) -> Self::<a class="type" href="trait.PyNumberIPowProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberIPowProtocol::Result">Result</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="trait.PyNumberIPowProtocol.html" title="trait pyo3::class::number::PyNumberIPowProtocol">PyNumberIPowProtocol</a><'p>, </span></code><a class="srclink" href="../../../src/pyo3/class/number.rs.html#224-229" title="goto source code">[src]</a></h3><h3 id="method.__ilshift__" class="method"><code>fn <a href="#method.__ilshift__" class="fnname">__ilshift__</a>(&'p mut self, other: Self::<a class="type" href="trait.PyNumberILShiftProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberILShiftProtocol::Other">Other</a>) -> Self::<a class="type" href="trait.PyNumberILShiftProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberILShiftProtocol::Result">Result</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="trait.PyNumberILShiftProtocol.html" title="trait pyo3::class::number::PyNumberILShiftProtocol">PyNumberILShiftProtocol</a><'p>, </span></code><a class="srclink" href="../../../src/pyo3/class/number.rs.html#230-235" title="goto source code">[src]</a></h3><h3 id="method.__irshift__" class="method"><code>fn <a href="#method.__irshift__" class="fnname">__irshift__</a>(&'p mut self, other: Self::<a class="type" href="trait.PyNumberIRShiftProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberIRShiftProtocol::Other">Other</a>) -> Self::<a class="type" href="trait.PyNumberIRShiftProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberIRShiftProtocol::Result">Result</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="trait.PyNumberIRShiftProtocol.html" title="trait pyo3::class::number::PyNumberIRShiftProtocol">PyNumberIRShiftProtocol</a><'p>, </span></code><a class="srclink" href="../../../src/pyo3/class/number.rs.html#236-241" title="goto source code">[src]</a></h3><h3 id="method.__iand__" class="method"><code>fn <a href="#method.__iand__" class="fnname">__iand__</a>(&'p mut self, other: Self::<a class="type" href="trait.PyNumberIAndProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberIAndProtocol::Other">Other</a>) -> Self::<a class="type" href="trait.PyNumberIAndProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberIAndProtocol::Result">Result</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="trait.PyNumberIAndProtocol.html" title="trait pyo3::class::number::PyNumberIAndProtocol">PyNumberIAndProtocol</a><'p>, </span></code><a class="srclink" href="../../../src/pyo3/class/number.rs.html#242-247" title="goto source code">[src]</a></h3><h3 id="method.__ixor__" class="method"><code>fn <a href="#method.__ixor__" class="fnname">__ixor__</a>(&'p mut self, other: Self::<a class="type" href="trait.PyNumberIXorProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberIXorProtocol::Other">Other</a>) -> Self::<a class="type" href="trait.PyNumberIXorProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberIXorProtocol::Result">Result</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="trait.PyNumberIXorProtocol.html" title="trait pyo3::class::number::PyNumberIXorProtocol">PyNumberIXorProtocol</a><'p>, </span></code><a class="srclink" href="../../../src/pyo3/class/number.rs.html#248-253" title="goto source code">[src]</a></h3><h3 id="method.__ior__" class="method"><code>fn <a href="#method.__ior__" class="fnname">__ior__</a>(&'p mut self, other: Self::<a class="type" href="trait.PyNumberIOrProtocol.html#associatedtype.Other" title="type pyo3::class::number::PyNumberIOrProtocol::Other">Other</a>) -> Self::<a class="type" href="trait.PyNumberIOrProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberIOrProtocol::Result">Result</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="trait.PyNumberIOrProtocol.html" title="trait pyo3::class::number::PyNumberIOrProtocol">PyNumberIOrProtocol</a><'p>, </span></code><a class="srclink" href="../../../src/pyo3/class/number.rs.html#254-259" title="goto source code">[src]</a></h3><h3 id="method.__neg__" class="method"><code>fn <a href="#method.__neg__" class="fnname">__neg__</a>(&'p self) -> Self::<a class="type" href="trait.PyNumberNegProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberNegProtocol::Result">Result</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="trait.PyNumberNegProtocol.html" title="trait pyo3::class::number::PyNumberNegProtocol">PyNumberNegProtocol</a><'p>, </span></code><a class="srclink" href="../../../src/pyo3/class/number.rs.html#262-267" title="goto source code">[src]</a></h3><h3 id="method.__pos__" class="method"><code>fn <a href="#method.__pos__" class="fnname">__pos__</a>(&'p self) -> Self::<a class="type" href="trait.PyNumberPosProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberPosProtocol::Result">Result</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="trait.PyNumberPosProtocol.html" title="trait pyo3::class::number::PyNumberPosProtocol">PyNumberPosProtocol</a><'p>, </span></code><a class="srclink" href="../../../src/pyo3/class/number.rs.html#268-273" title="goto source code">[src]</a></h3><h3 id="method.__abs__" class="method"><code>fn <a href="#method.__abs__" class="fnname">__abs__</a>(&'p self) -> Self::<a class="type" href="trait.PyNumberAbsProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberAbsProtocol::Result">Result</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="trait.PyNumberAbsProtocol.html" title="trait pyo3::class::number::PyNumberAbsProtocol">PyNumberAbsProtocol</a><'p>, </span></code><a class="srclink" href="../../../src/pyo3/class/number.rs.html#274-279" title="goto source code">[src]</a></h3><h3 id="method.__invert__" class="method"><code>fn <a href="#method.__invert__" class="fnname">__invert__</a>(&'p self) -> Self::<a class="type" href="trait.PyNumberInvertProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberInvertProtocol::Result">Result</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="trait.PyNumberInvertProtocol.html" title="trait pyo3::class::number::PyNumberInvertProtocol">PyNumberInvertProtocol</a><'p>, </span></code><a class="srclink" href="../../../src/pyo3/class/number.rs.html#280-285" title="goto source code">[src]</a></h3><h3 id="method.__complex__" class="method"><code>fn <a href="#method.__complex__" class="fnname">__complex__</a>(&'p self) -> Self::<a class="type" href="trait.PyNumberComplexProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberComplexProtocol::Result">Result</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="trait.PyNumberComplexProtocol.html" title="trait pyo3::class::number::PyNumberComplexProtocol">PyNumberComplexProtocol</a><'p>, </span></code><a class="srclink" href="../../../src/pyo3/class/number.rs.html#286-291" title="goto source code">[src]</a></h3><h3 id="method.__int__" class="method"><code>fn <a href="#method.__int__" class="fnname">__int__</a>(&'p self) -> Self::<a class="type" href="trait.PyNumberIntProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberIntProtocol::Result">Result</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="trait.PyNumberIntProtocol.html" title="trait pyo3::class::number::PyNumberIntProtocol">PyNumberIntProtocol</a><'p>, </span></code><a class="srclink" href="../../../src/pyo3/class/number.rs.html#292-297" title="goto source code">[src]</a></h3><h3 id="method.__float__" class="method"><code>fn <a href="#method.__float__" class="fnname">__float__</a>(&'p self) -> Self::<a class="type" href="trait.PyNumberFloatProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberFloatProtocol::Result">Result</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="trait.PyNumberFloatProtocol.html" title="trait pyo3::class::number::PyNumberFloatProtocol">PyNumberFloatProtocol</a><'p>, </span></code><a class="srclink" href="../../../src/pyo3/class/number.rs.html#298-303" title="goto source code">[src]</a></h3><h3 id="method.__index__" class="method"><code>fn <a href="#method.__index__" class="fnname">__index__</a>(&'p self) -> Self::<a class="type" href="trait.PyNumberIndexProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberIndexProtocol::Result">Result</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="trait.PyNumberIndexProtocol.html" title="trait pyo3::class::number::PyNumberIndexProtocol">PyNumberIndexProtocol</a><'p>, </span></code><a class="srclink" href="../../../src/pyo3/class/number.rs.html#304-309" title="goto source code">[src]</a></h3><h3 id="method.__round__" class="method"><code>fn <a href="#method.__round__" class="fnname">__round__</a>(&'p self, ndigits: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self::<a class="type" href="trait.PyNumberRoundProtocol.html#associatedtype.NDigits" title="type pyo3::class::number::PyNumberRoundProtocol::NDigits">NDigits</a>>) -> Self::<a class="type" href="trait.PyNumberRoundProtocol.html#associatedtype.Result" title="type pyo3::class::number::PyNumberRoundProtocol::Result">Result</a> <span class="where fmt-newline">where<br> Self: <a class="trait" href="trait.PyNumberRoundProtocol.html" title="trait pyo3::class::number::PyNumberRoundProtocol">PyNumberRoundProtocol</a><'p>, </span></code><a class="srclink" href="../../../src/pyo3/class/number.rs.html#310-315" title="goto source code">[src]</a></h3></div><span class="loading-content">Loading content...</span><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"></div><span class="loading-content">Loading content...</span><script type="text/javascript" src="../../../implementors/pyo3/class/number/trait.PyNumberProtocol.js" async></script></section><section id="search" class="content hidden"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="pyo3" data-search-index-js="../../../search-index.js" data-search-js="../../../search.js"></div>
|
||
<script src="../../../main.js"></script></body></html> |