5268 lines
2.5 MiB
5268 lines
2.5 MiB
<!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="A 32-bit signed number with `Frac` fractional bits."><title>FixedI32 in fixed - 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="fixed" 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 struct"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../fixed/index.html"><img src="data:image/svg+xml;base64,
|
||
PHN2ZyB3aWR0aD0iMTI4IiBoZWlnaHQ9IjEyOCIgdmVyc2lvbj0iMS4xIiB2aWV3Qm94PSIwIDAgMzMuODY3IDMzLjg2NyIgeG1s
|
||
bnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48Y2xpcFBhdGggaWQ9ImIiPjxjaXJjbGUgY3g9IjE2LjkzMyIg
|
||
Y3k9IjI4MC4wNyIgcj0iMTYuOTMzIiBmaWxsPSIjMDA3MmIyIi8+PC9jbGlwUGF0aD48Y2xpcFBhdGggaWQ9ImEiPjxjaXJjbGUg
|
||
Y3g9IjE2LjkzMyIgY3k9IjI4MC4wNyIgcj0iMTYuOTMzIiBmaWxsPSIjMDA3MmIyIi8+PC9jbGlwUGF0aD48L2RlZnM+PGcgdHJh
|
||
bnNmb3JtPSJ0cmFuc2xhdGUoMCAtMjYzLjEzKSI+PGNpcmNsZSBjeD0iMTYuOTMzIiBjeT0iMjgwLjA3IiByPSIxNi45MzMiIGZp
|
||
bGw9IiNmN2YxYTEiLz48ZyBmaWxsPSIjMDA3MmIyIj48cGF0aCBkPSJtMTUuMzQ2IDI4My41MWgzLjE3NXMwIDAuNzkzNzYgMC41
|
||
MjkxNyAxLjg1MjFoLTQuMjMzM2MwLjUyOTE2LTEuMDU4MyAwLjUyOTE2LTEuODUyMSAwLjUyOTE2LTEuODUyMXoiIHN0cm9rZS13
|
||
aWR0aD0iLjUyOTE3Ii8+PHBhdGggZD0ibTM0LjExMiAyODUuNTRjMi4yODYgMCAzLjgxLTEuMjg2OSAzLjgxLTIuOTgwMyAwLTEu
|
||
NDIyNC0wLjgyOTczLTIuMjUyMS0xLjg2MjctMi44MTA5di0wLjA2NzdjMC43NDUwNy0wLjQ5MTA3IDEuNDA1NS0xLjMyMDggMS40
|
||
MDU1LTIuMzUzNyAwLTEuNzc4LTEuMzAzOS0yLjk0NjQtMy4yNjgxLTIuOTQ2NC0xLjk5ODEgMC0zLjQzNzUgMS4xMzQ1LTMuNDM3
|
||
NSAyLjk2MzMgMCAxLjEzNDUgMC42MDk2IDEuOTEzNSAxLjQzOTMgMi41NHYwLjA2NzdjLTEuMDE2IDAuNTQxODctMS44Mjg4IDEu
|
||
MzM3Ny0xLjgyODggMi42NDE2IDAgMS43NDQxIDEuNTkxNyAyLjk0NjQgMy43NDIzIDIuOTQ2NHptMC42NzczMy02LjQ2ODVjLTEu
|
||
MTAwNy0wLjQyMzMzLTEuODQ1Ny0wLjg0NjY3LTEuODQ1Ny0xLjcyNzIgMC0wLjgyOTczIDAuNTQxODctMS4yMzYxIDEuMjAyMy0x
|
||
LjIzNjEgMC44MTI4IDAgMS4zMDM5IDAuNTU4OCAxLjMwMzkgMS4zODg1IDAgMC41NTg4LTAuMjM3MDcgMS4wODM3LTAuNjYwNCAx
|
||
LjU3NDh6bS0wLjYyNjUzIDQuNzQxM2MtMC44OTc0NiAwLTEuNjU5NS0wLjU1ODgtMS42NTk1LTEuNTA3MSAwLTAuNjYwNCAwLjM1
|
||
NTYtMS4yNyAwLjgyOTczLTEuNzEwMyAxLjM1NDcgMC41NzU3MyAyLjI2OTEgMC45MzEzMyAyLjI2OTEgMS44Nzk2IDAgMC44OTc0
|
||
Ny0wLjYwOTYgMS4zMzc3LTEuNDM5MyAxLjMzNzd6IiBjbGlwLXBhdGg9InVybCgjYikiLz48cGF0aCBkPSJtMjEuMzQ0IDI4NS4z
|
||
NGg3LjU2OTJ2LTIuMDk5N2gtMi40MDQ1Yy0wLjQ5MTA3IDAtMS4yMzYxIDAuMDY3Ny0xLjc5NDkgMC4xMzU0NyAxLjkxMzUtMS44
|
||
Nzk2IDMuNjc0NS0zLjY0MDcgMy42NzQ1LTUuNTg4IDAtMi4wNDg5LTEuNDM5My0zLjQwMzYtMy41NTYtMy40MDM2LTEuNTA3MSAw
|
||
LTIuNTIzMSAwLjU5MjY3LTMuNTU2IDEuNzYxMWwxLjMwMzkgMS4yODY5YzAuNTQxODctMC41NzU3MyAxLjEzNDUtMS4xMDA3IDEu
|
||
OTEzNS0xLjEwMDcgMC45MzEzMyAwIDEuNTI0IDAuNTc1NzQgMS41MjQgMS42MjU2IDAgMS41MDcxLTEuOTY0MyAzLjQzNzUtNC42
|
||
NzM2IDUuODQyeiIvPjxwYXRoIGQ9Im0xNi45MzMgMjg0LjE2YzEuNzI3MiAwIDMuMDE0MS0xLjM1NDcgMy4wMTQxLTMuMTE1NyAw
|
||
LTEuNzk0OS0xLjI4NjktMy4xNDk2LTMuMDE0MS0zLjE0OTYtMS43MjcyIDAtMy4wMTQxIDEuMzU0Ny0zLjAxNDEgMy4xNDk2IDAg
|
||
MS43NjExIDEuMjg2OSAzLjExNTcgMy4wMTQxIDMuMTE1N3oiLz48cGF0aCBkPSJtOC45MTU0IDI4MC4zOGMwLjgxMjggMCAxLjQw
|
||
NTUgMC40MjMzNCAxLjQwNTUgMS41NTc5IDAgMS4yMTkyLTAuNjA5NiAxLjc0NDEtMS4zNTQ3IDEuNzQ0MXMtMS40NTYzLTAuNTQx
|
||
ODYtMS42NzY0LTIuMjM1MmMwLjQ0MDI3LTAuNzYyIDEuMDY2OC0xLjA2NjggMS42MjU2LTEuMDY2OHptMC4xMDE2IDUuMTY0N2Mx
|
||
Ljk0NzMgMCAzLjU3MjktMS4zNzE2IDMuNTcyOS0zLjYwNjggMC0yLjI2OTEtMS4zNTQ3LTMuMzE4OS0zLjIwMDQtMy4zMTg5LTAu
|
||
NjYwNCAwLTEuNTkxNyAwLjQyMzMzLTIuMTUwNSAxLjEzNDUgMC4wODQ2NjctMi41MDYxIDEuMDMyOS0zLjM1MjggMi4yMTgzLTMu
|
||
MzUyOCAwLjYyNjUzIDAgMS4zMDM5IDAuMzU1NiAxLjY3NjQgMC43NjJsMS4zMDM5LTEuNDkwMWMtMC42NzczMy0wLjY5NDI3LTEu
|
||
NzEwMy0xLjI4NjktMy4xMzI3LTEuMjg2OS0yLjI2OTEgMC00LjM1MTkgMS44MTE5LTQuMzUxOSA1LjgyNTEgMCAzLjc3NjEgMS45
|
||
ODEyIDUuMzM0IDQuMDY0IDUuMzM0eiIvPjxwYXRoIGQ9Im0tMC4yMTE2NyAyODUuNTRjMi4zMDI5IDAgMy44NDM5LTEuOTY0MyAz
|
||
Ljg0MzktNS42MjE5cy0xLjU0MDktNS41MzcyLTMuODQzOS01LjUzNzJjLTIuMzAyOSAwLTMuODQzOSAxLjg3OTYtMy44NDM5IDUu
|
||
NTM3MnMxLjU0MDkgNS42MjE5IDMuODQzOSA1LjYyMTl6bTAtMS45MzA0Yy0wLjgyOTczIDAtMS40OTAxLTAuNzYyLTEuNDkwMS0z
|
||
LjY5MTUgMC0yLjk0NjQgMC42NjA0LTMuNjA2OCAxLjQ5MDEtMy42MDY4IDAuODQ2NjcgMCAxLjQ5MDEgMC42NjA0IDEuNDkwMSAz
|
||
LjYwNjggMCAyLjkyOTUtMC42NDM0NyAzLjY5MTUtMS40OTAxIDMuNjkxNXoiIGNsaXAtcGF0aD0idXJsKCNhKSIvPjwvZz48L2c+
|
||
PC9zdmc+Cg==
|
||
" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../fixed/index.html"><img src="data:image/svg+xml;base64,
|
||
PHN2ZyB3aWR0aD0iMTI4IiBoZWlnaHQ9IjEyOCIgdmVyc2lvbj0iMS4xIiB2aWV3Qm94PSIwIDAgMzMuODY3IDMzLjg2NyIgeG1s
|
||
bnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48Y2xpcFBhdGggaWQ9ImIiPjxjaXJjbGUgY3g9IjE2LjkzMyIg
|
||
Y3k9IjI4MC4wNyIgcj0iMTYuOTMzIiBmaWxsPSIjMDA3MmIyIi8+PC9jbGlwUGF0aD48Y2xpcFBhdGggaWQ9ImEiPjxjaXJjbGUg
|
||
Y3g9IjE2LjkzMyIgY3k9IjI4MC4wNyIgcj0iMTYuOTMzIiBmaWxsPSIjMDA3MmIyIi8+PC9jbGlwUGF0aD48L2RlZnM+PGcgdHJh
|
||
bnNmb3JtPSJ0cmFuc2xhdGUoMCAtMjYzLjEzKSI+PGNpcmNsZSBjeD0iMTYuOTMzIiBjeT0iMjgwLjA3IiByPSIxNi45MzMiIGZp
|
||
bGw9IiNmN2YxYTEiLz48ZyBmaWxsPSIjMDA3MmIyIj48cGF0aCBkPSJtMTUuMzQ2IDI4My41MWgzLjE3NXMwIDAuNzkzNzYgMC41
|
||
MjkxNyAxLjg1MjFoLTQuMjMzM2MwLjUyOTE2LTEuMDU4MyAwLjUyOTE2LTEuODUyMSAwLjUyOTE2LTEuODUyMXoiIHN0cm9rZS13
|
||
aWR0aD0iLjUyOTE3Ii8+PHBhdGggZD0ibTM0LjExMiAyODUuNTRjMi4yODYgMCAzLjgxLTEuMjg2OSAzLjgxLTIuOTgwMyAwLTEu
|
||
NDIyNC0wLjgyOTczLTIuMjUyMS0xLjg2MjctMi44MTA5di0wLjA2NzdjMC43NDUwNy0wLjQ5MTA3IDEuNDA1NS0xLjMyMDggMS40
|
||
MDU1LTIuMzUzNyAwLTEuNzc4LTEuMzAzOS0yLjk0NjQtMy4yNjgxLTIuOTQ2NC0xLjk5ODEgMC0zLjQzNzUgMS4xMzQ1LTMuNDM3
|
||
NSAyLjk2MzMgMCAxLjEzNDUgMC42MDk2IDEuOTEzNSAxLjQzOTMgMi41NHYwLjA2NzdjLTEuMDE2IDAuNTQxODctMS44Mjg4IDEu
|
||
MzM3Ny0xLjgyODggMi42NDE2IDAgMS43NDQxIDEuNTkxNyAyLjk0NjQgMy43NDIzIDIuOTQ2NHptMC42NzczMy02LjQ2ODVjLTEu
|
||
MTAwNy0wLjQyMzMzLTEuODQ1Ny0wLjg0NjY3LTEuODQ1Ny0xLjcyNzIgMC0wLjgyOTczIDAuNTQxODctMS4yMzYxIDEuMjAyMy0x
|
||
LjIzNjEgMC44MTI4IDAgMS4zMDM5IDAuNTU4OCAxLjMwMzkgMS4zODg1IDAgMC41NTg4LTAuMjM3MDcgMS4wODM3LTAuNjYwNCAx
|
||
LjU3NDh6bS0wLjYyNjUzIDQuNzQxM2MtMC44OTc0NiAwLTEuNjU5NS0wLjU1ODgtMS42NTk1LTEuNTA3MSAwLTAuNjYwNCAwLjM1
|
||
NTYtMS4yNyAwLjgyOTczLTEuNzEwMyAxLjM1NDcgMC41NzU3MyAyLjI2OTEgMC45MzEzMyAyLjI2OTEgMS44Nzk2IDAgMC44OTc0
|
||
Ny0wLjYwOTYgMS4zMzc3LTEuNDM5MyAxLjMzNzd6IiBjbGlwLXBhdGg9InVybCgjYikiLz48cGF0aCBkPSJtMjEuMzQ0IDI4NS4z
|
||
NGg3LjU2OTJ2LTIuMDk5N2gtMi40MDQ1Yy0wLjQ5MTA3IDAtMS4yMzYxIDAuMDY3Ny0xLjc5NDkgMC4xMzU0NyAxLjkxMzUtMS44
|
||
Nzk2IDMuNjc0NS0zLjY0MDcgMy42NzQ1LTUuNTg4IDAtMi4wNDg5LTEuNDM5My0zLjQwMzYtMy41NTYtMy40MDM2LTEuNTA3MSAw
|
||
LTIuNTIzMSAwLjU5MjY3LTMuNTU2IDEuNzYxMWwxLjMwMzkgMS4yODY5YzAuNTQxODctMC41NzU3MyAxLjEzNDUtMS4xMDA3IDEu
|
||
OTEzNS0xLjEwMDcgMC45MzEzMyAwIDEuNTI0IDAuNTc1NzQgMS41MjQgMS42MjU2IDAgMS41MDcxLTEuOTY0MyAzLjQzNzUtNC42
|
||
NzM2IDUuODQyeiIvPjxwYXRoIGQ9Im0xNi45MzMgMjg0LjE2YzEuNzI3MiAwIDMuMDE0MS0xLjM1NDcgMy4wMTQxLTMuMTE1NyAw
|
||
LTEuNzk0OS0xLjI4NjktMy4xNDk2LTMuMDE0MS0zLjE0OTYtMS43MjcyIDAtMy4wMTQxIDEuMzU0Ny0zLjAxNDEgMy4xNDk2IDAg
|
||
MS43NjExIDEuMjg2OSAzLjExNTcgMy4wMTQxIDMuMTE1N3oiLz48cGF0aCBkPSJtOC45MTU0IDI4MC4zOGMwLjgxMjggMCAxLjQw
|
||
NTUgMC40MjMzNCAxLjQwNTUgMS41NTc5IDAgMS4yMTkyLTAuNjA5NiAxLjc0NDEtMS4zNTQ3IDEuNzQ0MXMtMS40NTYzLTAuNTQx
|
||
ODYtMS42NzY0LTIuMjM1MmMwLjQ0MDI3LTAuNzYyIDEuMDY2OC0xLjA2NjggMS42MjU2LTEuMDY2OHptMC4xMDE2IDUuMTY0N2Mx
|
||
Ljk0NzMgMCAzLjU3MjktMS4zNzE2IDMuNTcyOS0zLjYwNjggMC0yLjI2OTEtMS4zNTQ3LTMuMzE4OS0zLjIwMDQtMy4zMTg5LTAu
|
||
NjYwNCAwLTEuNTkxNyAwLjQyMzMzLTIuMTUwNSAxLjEzNDUgMC4wODQ2NjctMi41MDYxIDEuMDMyOS0zLjM1MjggMi4yMTgzLTMu
|
||
MzUyOCAwLjYyNjUzIDAgMS4zMDM5IDAuMzU1NiAxLjY3NjQgMC43NjJsMS4zMDM5LTEuNDkwMWMtMC42NzczMy0wLjY5NDI3LTEu
|
||
NzEwMy0xLjI4NjktMy4xMzI3LTEuMjg2OS0yLjI2OTEgMC00LjM1MTkgMS44MTE5LTQuMzUxOSA1LjgyNTEgMCAzLjc3NjEgMS45
|
||
ODEyIDUuMzM0IDQuMDY0IDUuMzM0eiIvPjxwYXRoIGQ9Im0tMC4yMTE2NyAyODUuNTRjMi4zMDI5IDAgMy44NDM5LTEuOTY0MyAz
|
||
Ljg0MzktNS42MjE5cy0xLjU0MDktNS41MzcyLTMuODQzOS01LjUzNzJjLTIuMzAyOSAwLTMuODQzOSAxLjg3OTYtMy44NDM5IDUu
|
||
NTM3MnMxLjU0MDkgNS42MjE5IDMuODQzOSA1LjYyMTl6bTAtMS45MzA0Yy0wLjgyOTczIDAtMS40OTAxLTAuNzYyLTEuNDkwMS0z
|
||
LjY5MTUgMC0yLjk0NjQgMC42NjA0LTMuNjA2OCAxLjQ5MDEtMy42MDY4IDAuODQ2NjcgMCAxLjQ5MDEgMC42NjA0IDEuNDkwMSAz
|
||
LjYwNjggMCAyLjkyOTUtMC42NDM0NyAzLjY5MTUtMS40OTAxIDMuNjkxNXoiIGNsaXAtcGF0aD0idXJsKCNhKSIvPjwvZz48L2c+
|
||
PC9zdmc+Cg==
|
||
" alt="logo"></a><h2><a href="../fixed/index.html">fixed</a><span class="version">1.28.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Fixed<wbr>I32</a></h2><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#examples" title="Examples">Examples</a></li></ul><h3><a href="#implementations">Associated Constants</a></h3><ul class="block associatedconstant"><li><a href="#associatedconstant.CATALAN" title="CATALAN">CATALAN</a></li><li><a href="#associatedconstant.DELTA" title="DELTA">DELTA</a></li><li><a href="#associatedconstant.E" title="E">E</a></li><li><a href="#associatedconstant.FRAC_1_PHI" title="FRAC_1_PHI">FRAC_1_PHI</a></li><li><a href="#associatedconstant.FRAC_1_PI" title="FRAC_1_PI">FRAC_1_PI</a></li><li><a href="#associatedconstant.FRAC_1_SQRT_2" title="FRAC_1_SQRT_2">FRAC_1_SQRT_2</a></li><li><a href="#associatedconstant.FRAC_1_SQRT_2PI" title="FRAC_1_SQRT_2PI">FRAC_1_SQRT_2PI</a></li><li><a href="#associatedconstant.FRAC_1_SQRT_3" title="FRAC_1_SQRT_3">FRAC_1_SQRT_3</a></li><li><a href="#associatedconstant.FRAC_1_SQRT_PI" title="FRAC_1_SQRT_PI">FRAC_1_SQRT_PI</a></li><li><a href="#associatedconstant.FRAC_1_TAU" title="FRAC_1_TAU">FRAC_1_TAU</a></li><li><a href="#associatedconstant.FRAC_2_PI" title="FRAC_2_PI">FRAC_2_PI</a></li><li><a href="#associatedconstant.FRAC_2_SQRT_PI" title="FRAC_2_SQRT_PI">FRAC_2_SQRT_PI</a></li><li><a href="#associatedconstant.FRAC_2_TAU" title="FRAC_2_TAU">FRAC_2_TAU</a></li><li><a href="#associatedconstant.FRAC_4_TAU" title="FRAC_4_TAU">FRAC_4_TAU</a></li><li><a href="#associatedconstant.FRAC_NBITS" title="FRAC_NBITS">FRAC_NBITS</a></li><li><a href="#associatedconstant.FRAC_PI_2" title="FRAC_PI_2">FRAC_PI_2</a></li><li><a href="#associatedconstant.FRAC_PI_3" title="FRAC_PI_3">FRAC_PI_3</a></li><li><a href="#associatedconstant.FRAC_PI_4" title="FRAC_PI_4">FRAC_PI_4</a></li><li><a href="#associatedconstant.FRAC_PI_6" title="FRAC_PI_6">FRAC_PI_6</a></li><li><a href="#associatedconstant.FRAC_PI_8" title="FRAC_PI_8">FRAC_PI_8</a></li><li><a href="#associatedconstant.FRAC_TAU_12" title="FRAC_TAU_12">FRAC_TAU_12</a></li><li><a href="#associatedconstant.FRAC_TAU_2" title="FRAC_TAU_2">FRAC_TAU_2</a></li><li><a href="#associatedconstant.FRAC_TAU_3" title="FRAC_TAU_3">FRAC_TAU_3</a></li><li><a href="#associatedconstant.FRAC_TAU_4" title="FRAC_TAU_4">FRAC_TAU_4</a></li><li><a href="#associatedconstant.FRAC_TAU_6" title="FRAC_TAU_6">FRAC_TAU_6</a></li><li><a href="#associatedconstant.FRAC_TAU_8" title="FRAC_TAU_8">FRAC_TAU_8</a></li><li><a href="#associatedconstant.GAMMA" title="GAMMA">GAMMA</a></li><li><a href="#associatedconstant.INT_NBITS" title="INT_NBITS">INT_NBITS</a></li><li><a href="#associatedconstant.IS_SIGNED" title="IS_SIGNED">IS_SIGNED</a></li><li><a href="#associatedconstant.LN_10" title="LN_10">LN_10</a></li><li><a href="#associatedconstant.LN_2" title="LN_2">LN_2</a></li><li><a href="#associatedconstant.LOG10_2" title="LOG10_2">LOG10_2</a></li><li><a href="#associatedconstant.LOG10_E" title="LOG10_E">LOG10_E</a></li><li><a href="#associatedconstant.LOG2_10" title="LOG2_10">LOG2_10</a></li><li><a href="#associatedconstant.LOG2_E" title="LOG2_E">LOG2_E</a></li><li><a href="#associatedconstant.MAX" title="MAX">MAX</a></li><li><a href="#associatedconstant.MIN" title="MIN">MIN</a></li><li><a href="#associatedconstant.NEG_ONE" title="NEG_ONE">NEG_ONE</a></li><li><a href="#associatedconstant.ONE" title="ONE">ONE</a></li><li><a href="#associatedconstant.PHI" title="PHI">PHI</a></li><li><a href="#associatedconstant.PI" title="PI">PI</a></li><li><a href="#associatedconstant.SQRT_2" title="SQRT_2">SQRT_2</a></li><li><a href="#associatedconstant.SQRT_2PI" title="SQRT_2PI">SQRT_2PI</a></li><li><a href="#associatedconstant.SQRT_3" title="SQRT_3">SQRT_3</a></li><li><a href="#associatedconstant.SQRT_E" title="SQRT_E">SQRT_E</a></li><li><a href="#associatedconstant.SQRT_PHI" title="SQRT_PHI">SQRT_PHI</a></li><li><a href="#associatedconstant.SQRT_PI" title="SQRT_PI">SQRT_PI</a></li><li><a href="#associatedconstant.TAU" title="TAU">TAU</a></li><li><a href="#associatedconstant.ZERO" title="ZERO">ZERO</a></li></ul><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.abs" title="abs">abs</a></li><li><a href="#method.abs_diff" title="abs_diff">abs_diff</a></li><li><a href="#method.add_prod" title="add_prod">add_prod</a></li><li><a href="#method.add_unsigned" title="add_unsigned">add_unsigned</a></li><li><a href="#method.ceil" title="ceil">ceil</a></li><li><a href="#method.checked_abs" title="checked_abs">checked_abs</a></li><li><a href="#method.checked_add" title="checked_add">checked_add</a></li><li><a href="#method.checked_add_prod" title="checked_add_prod">checked_add_prod</a></li><li><a href="#method.checked_add_unsigned" title="checked_add_unsigned">checked_add_unsigned</a></li><li><a href="#method.checked_ceil" title="checked_ceil">checked_ceil</a></li><li><a href="#method.checked_dist" title="checked_dist">checked_dist</a></li><li><a href="#method.checked_div" title="checked_div">checked_div</a></li><li><a href="#method.checked_div_euclid" title="checked_div_euclid">checked_div_euclid</a></li><li><a href="#method.checked_div_euclid_int" title="checked_div_euclid_int">checked_div_euclid_int</a></li><li><a href="#method.checked_div_int" title="checked_div_int">checked_div_int</a></li><li><a href="#method.checked_floor" title="checked_floor">checked_floor</a></li><li><a href="#method.checked_from_num" title="checked_from_num">checked_from_num</a></li><li><a href="#method.checked_hypot" title="checked_hypot">checked_hypot</a></li><li><a href="#method.checked_int_log" title="checked_int_log">checked_int_log</a></li><li><a href="#method.checked_int_log10" title="checked_int_log10">checked_int_log10</a></li><li><a href="#method.checked_int_log2" title="checked_int_log2">checked_int_log2</a></li><li><a href="#method.checked_inv_lerp" title="checked_inv_lerp">checked_inv_lerp</a></li><li><a href="#method.checked_lerp" title="checked_lerp">checked_lerp</a></li><li><a href="#method.checked_mul" title="checked_mul">checked_mul</a></li><li><a href="#method.checked_mul_acc" title="checked_mul_acc">checked_mul_acc</a></li><li><a href="#method.checked_mul_add" title="checked_mul_add">checked_mul_add</a></li><li><a href="#method.checked_mul_int" title="checked_mul_int">checked_mul_int</a></li><li><a href="#method.checked_neg" title="checked_neg">checked_neg</a></li><li><a href="#method.checked_next_multiple_of" title="checked_next_multiple_of">checked_next_multiple_of</a></li><li><a href="#method.checked_recip" title="checked_recip">checked_recip</a></li><li><a href="#method.checked_rem" title="checked_rem">checked_rem</a></li><li><a href="#method.checked_rem_euclid" title="checked_rem_euclid">checked_rem_euclid</a></li><li><a href="#method.checked_rem_euclid_int" title="checked_rem_euclid_int">checked_rem_euclid_int</a></li><li><a href="#method.checked_rem_int" title="checked_rem_int">checked_rem_int</a></li><li><a href="#method.checked_round" title="checked_round">checked_round</a></li><li><a href="#method.checked_round_ties_even" title="checked_round_ties_even">checked_round_ties_even</a></li><li><a href="#method.checked_round_ties_to_even" title="checked_round_ties_to_even">checked_round_ties_to_even</a></li><li><a href="#method.checked_shl" title="checked_shl">checked_shl</a></li><li><a href="#method.checked_shr" title="checked_shr">checked_shr</a></li><li><a href="#method.checked_signum" title="checked_signum">checked_signum</a></li><li><a href="#method.checked_sqrt" title="checked_sqrt">checked_sqrt</a></li><li><a href="#method.checked_sub" title="checked_sub">checked_sub</a></li><li><a href="#method.checked_sub_unsigned" title="checked_sub_unsigned">checked_sub_unsigned</a></li><li><a href="#method.checked_to_num" title="checked_to_num">checked_to_num</a></li><li><a href="#method.const_bitand" title="const_bitand">const_bitand</a></li><li><a href="#method.const_bitor" title="const_bitor">const_bitor</a></li><li><a href="#method.const_bitxor" title="const_bitxor">const_bitxor</a></li><li><a href="#method.const_from_fixed" title="const_from_fixed">const_from_fixed</a></li><li><a href="#method.const_from_int" title="const_from_int">const_from_int</a></li><li><a href="#method.const_not" title="const_not">const_not</a></li><li><a href="#method.count_ones" title="count_ones">count_ones</a></li><li><a href="#method.count_zeros" title="count_zeros">count_zeros</a></li><li><a href="#method.dist" title="dist">dist</a></li><li><a href="#method.div_euclid" title="div_euclid">div_euclid</a></li><li><a href="#method.div_euclid_int" title="div_euclid_int">div_euclid_int</a></li><li><a href="#method.floor" title="floor">floor</a></li><li><a href="#method.frac" title="frac">frac</a></li><li><a href="#method.from_be" title="from_be">from_be</a></li><li><a href="#method.from_be_bytes" title="from_be_bytes">from_be_bytes</a></li><li><a href="#method.from_bits" title="from_bits">from_bits</a></li><li><a href="#method.from_le" title="from_le">from_le</a></li><li><a href="#method.from_le_bytes" title="from_le_bytes">from_le_bytes</a></li><li><a href="#method.from_ne_bytes" title="from_ne_bytes">from_ne_bytes</a></li><li><a href="#method.from_num" title="from_num">from_num</a></li><li><a href="#method.from_str" title="from_str">from_str</a></li><li><a href="#method.from_str_binary" title="from_str_binary">from_str_binary</a></li><li><a href="#method.from_str_hex" title="from_str_hex">from_str_hex</a></li><li><a href="#method.from_str_octal" title="from_str_octal">from_str_octal</a></li><li><a href="#method.hypot" title="hypot">hypot</a></li><li><a href="#method.int" title="int">int</a></li><li><a href="#method.int_log" title="int_log">int_log</a></li><li><a href="#method.int_log10" title="int_log10">int_log10</a></li><li><a href="#method.int_log2" title="int_log2">int_log2</a></li><li><a href="#method.inv_lerp" title="inv_lerp">inv_lerp</a></li><li><a href="#method.is_negative" title="is_negative">is_negative</a></li><li><a href="#method.is_positive" title="is_positive">is_positive</a></li><li><a href="#method.is_zero" title="is_zero">is_zero</a></li><li><a href="#method.leading_ones" title="leading_ones">leading_ones</a></li><li><a href="#method.leading_zeros" title="leading_zeros">leading_zeros</a></li><li><a href="#method.lerp" title="lerp">lerp</a></li><li><a href="#method.lit" title="lit">lit</a></li><li><a href="#method.mean" title="mean">mean</a></li><li><a href="#method.mul_acc" title="mul_acc">mul_acc</a></li><li><a href="#method.mul_add" title="mul_add">mul_add</a></li><li><a href="#method.next_multiple_of" title="next_multiple_of">next_multiple_of</a></li><li><a href="#method.overflowing_abs" title="overflowing_abs">overflowing_abs</a></li><li><a href="#method.overflowing_add" title="overflowing_add">overflowing_add</a></li><li><a href="#method.overflowing_add_prod" title="overflowing_add_prod">overflowing_add_prod</a></li><li><a href="#method.overflowing_add_unsigned" title="overflowing_add_unsigned">overflowing_add_unsigned</a></li><li><a href="#method.overflowing_ceil" title="overflowing_ceil">overflowing_ceil</a></li><li><a href="#method.overflowing_dist" title="overflowing_dist">overflowing_dist</a></li><li><a href="#method.overflowing_div" title="overflowing_div">overflowing_div</a></li><li><a href="#method.overflowing_div_euclid" title="overflowing_div_euclid">overflowing_div_euclid</a></li><li><a href="#method.overflowing_div_euclid_int" title="overflowing_div_euclid_int">overflowing_div_euclid_int</a></li><li><a href="#method.overflowing_div_int" title="overflowing_div_int">overflowing_div_int</a></li><li><a href="#method.overflowing_floor" title="overflowing_floor">overflowing_floor</a></li><li><a href="#method.overflowing_from_num" title="overflowing_from_num">overflowing_from_num</a></li><li><a href="#method.overflowing_from_str" title="overflowing_from_str">overflowing_from_str</a></li><li><a href="#method.overflowing_from_str_binary" title="overflowing_from_str_binary">overflowing_from_str_binary</a></li><li><a href="#method.overflowing_from_str_hex" title="overflowing_from_str_hex">overflowing_from_str_hex</a></li><li><a href="#method.overflowing_from_str_octal" title="overflowing_from_str_octal">overflowing_from_str_octal</a></li><li><a href="#method.overflowing_hypot" title="overflowing_hypot">overflowing_hypot</a></li><li><a href="#method.overflowing_inv_lerp" title="overflowing_inv_lerp">overflowing_inv_lerp</a></li><li><a href="#method.overflowing_lerp" title="overflowing_lerp">overflowing_lerp</a></li><li><a href="#method.overflowing_mul" title="overflowing_mul">overflowing_mul</a></li><li><a href="#method.overflowing_mul_acc" title="overflowing_mul_acc">overflowing_mul_acc</a></li><li><a href="#method.overflowing_mul_add" title="overflowing_mul_add">overflowing_mul_add</a></li><li><a href="#method.overflowing_mul_int" title="overflowing_mul_int">overflowing_mul_int</a></li><li><a href="#method.overflowing_neg" title="overflowing_neg">overflowing_neg</a></li><li><a href="#method.overflowing_next_multiple_of" title="overflowing_next_multiple_of">overflowing_next_multiple_of</a></li><li><a href="#method.overflowing_recip" title="overflowing_recip">overflowing_recip</a></li><li><a href="#method.overflowing_rem_euclid_int" title="overflowing_rem_euclid_int">overflowing_rem_euclid_int</a></li><li><a href="#method.overflowing_round" title="overflowing_round">overflowing_round</a></li><li><a href="#method.overflowing_round_ties_even" title="overflowing_round_ties_even">overflowing_round_ties_even</a></li><li><a href="#method.overflowing_round_ties_to_even" title="overflowing_round_ties_to_even">overflowing_round_ties_to_even</a></li><li><a href="#method.overflowing_shl" title="overflowing_shl">overflowing_shl</a></li><li><a href="#method.overflowing_shr" title="overflowing_shr">overflowing_shr</a></li><li><a href="#method.overflowing_signum" title="overflowing_signum">overflowing_signum</a></li><li><a href="#method.overflowing_sqrt" title="overflowing_sqrt">overflowing_sqrt</a></li><li><a href="#method.overflowing_sub" title="overflowing_sub">overflowing_sub</a></li><li><a href="#method.overflowing_sub_unsigned" title="overflowing_sub_unsigned">overflowing_sub_unsigned</a></li><li><a href="#method.overflowing_to_num" title="overflowing_to_num">overflowing_to_num</a></li><li><a href="#method.recip" title="recip">recip</a></li><li><a href="#method.rem_euclid" title="rem_euclid">rem_euclid</a></li><li><a href="#method.rem_euclid_int" title="rem_euclid_int">rem_euclid_int</a></li><li><a href="#method.reverse_bits" title="reverse_bits">reverse_bits</a></li><li><a href="#method.rotate_left" title="rotate_left">rotate_left</a></li><li><a href="#method.rotate_right" title="rotate_right">rotate_right</a></li><li><a href="#method.round" title="round">round</a></li><li><a href="#method.round_ties_even" title="round_ties_even">round_ties_even</a></li><li><a href="#method.round_ties_to_even" title="round_ties_to_even">round_ties_to_even</a></li><li><a href="#method.round_to_zero" title="round_to_zero">round_to_zero</a></li><li><a href="#method.saturating_abs" title="saturating_abs">saturating_abs</a></li><li><a href="#method.saturating_add" title="saturating_add">saturating_add</a></li><li><a href="#method.saturating_add_prod" title="saturating_add_prod">saturating_add_prod</a></li><li><a href="#method.saturating_add_unsigned" title="saturating_add_unsigned">saturating_add_unsigned</a></li><li><a href="#method.saturating_ceil" title="saturating_ceil">saturating_ceil</a></li><li><a href="#method.saturating_dist" title="saturating_dist">saturating_dist</a></li><li><a href="#method.saturating_div" title="saturating_div">saturating_div</a></li><li><a href="#method.saturating_div_euclid" title="saturating_div_euclid">saturating_div_euclid</a></li><li><a href="#method.saturating_div_euclid_int" title="saturating_div_euclid_int">saturating_div_euclid_int</a></li><li><a href="#method.saturating_div_int" title="saturating_div_int">saturating_div_int</a></li><li><a href="#method.saturating_floor" title="saturating_floor">saturating_floor</a></li><li><a href="#method.saturating_from_num" title="saturating_from_num">saturating_from_num</a></li><li><a href="#method.saturating_from_str" title="saturating_from_str">saturating_from_str</a></li><li><a href="#method.saturating_from_str_binary" title="saturating_from_str_binary">saturating_from_str_binary</a></li><li><a href="#method.saturating_from_str_hex" title="saturating_from_str_hex">saturating_from_str_hex</a></li><li><a href="#method.saturating_from_str_octal" title="saturating_from_str_octal">saturating_from_str_octal</a></li><li><a href="#method.saturating_hypot" title="saturating_hypot">saturating_hypot</a></li><li><a href="#method.saturating_inv_lerp" title="saturating_inv_lerp">saturating_inv_lerp</a></li><li><a href="#method.saturating_lerp" title="saturating_lerp">saturating_lerp</a></li><li><a href="#method.saturating_mul" title="saturating_mul">saturating_mul</a></li><li><a href="#method.saturating_mul_acc" title="saturating_mul_acc">saturating_mul_acc</a></li><li><a href="#method.saturating_mul_add" title="saturating_mul_add">saturating_mul_add</a></li><li><a href="#method.saturating_mul_int" title="saturating_mul_int">saturating_mul_int</a></li><li><a href="#method.saturating_neg" title="saturating_neg">saturating_neg</a></li><li><a href="#method.saturating_next_multiple_of" title="saturating_next_multiple_of">saturating_next_multiple_of</a></li><li><a href="#method.saturating_recip" title="saturating_recip">saturating_recip</a></li><li><a href="#method.saturating_rem_euclid_int" title="saturating_rem_euclid_int">saturating_rem_euclid_int</a></li><li><a href="#method.saturating_round" title="saturating_round">saturating_round</a></li><li><a href="#method.saturating_round_ties_even" title="saturating_round_ties_even">saturating_round_ties_even</a></li><li><a href="#method.saturating_round_ties_to_even" title="saturating_round_ties_to_even">saturating_round_ties_to_even</a></li><li><a href="#method.saturating_signum" title="saturating_signum">saturating_signum</a></li><li><a href="#method.saturating_sqrt" title="saturating_sqrt">saturating_sqrt</a></li><li><a href="#method.saturating_sub" title="saturating_sub">saturating_sub</a></li><li><a href="#method.saturating_sub_unsigned" title="saturating_sub_unsigned">saturating_sub_unsigned</a></li><li><a href="#method.saturating_to_num" title="saturating_to_num">saturating_to_num</a></li><li><a href="#method.signed_bits" title="signed_bits">signed_bits</a></li><li><a href="#method.signum" title="signum">signum</a></li><li><a href="#method.sqrt" title="sqrt">sqrt</a></li><li><a href="#method.sub_unsigned" title="sub_unsigned">sub_unsigned</a></li><li><a href="#method.swap_bytes" title="swap_bytes">swap_bytes</a></li><li><a href="#method.to_be" title="to_be">to_be</a></li><li><a href="#method.to_be_bytes" title="to_be_bytes">to_be_bytes</a></li><li><a href="#method.to_bits" title="to_bits">to_bits</a></li><li><a href="#method.to_le" title="to_le">to_le</a></li><li><a href="#method.to_le_bytes" title="to_le_bytes">to_le_bytes</a></li><li><a href="#method.to_ne_bytes" title="to_ne_bytes">to_ne_bytes</a></li><li><a href="#method.to_num" title="to_num">to_num</a></li><li><a href="#method.trailing_ones" title="trailing_ones">trailing_ones</a></li><li><a href="#method.trailing_zeros" title="trailing_zeros">trailing_zeros</a></li><li><a href="#method.unchecked_add" title="unchecked_add">unchecked_add</a></li><li><a href="#method.unchecked_mul_int" title="unchecked_mul_int">unchecked_mul_int</a></li><li><a href="#method.unchecked_sub" title="unchecked_sub">unchecked_sub</a></li><li><a href="#method.unsigned_abs" title="unsigned_abs">unsigned_abs</a></li><li><a href="#method.unsigned_dist" title="unsigned_dist">unsigned_dist</a></li><li><a href="#method.unwrapped_abs" title="unwrapped_abs">unwrapped_abs</a></li><li><a href="#method.unwrapped_add" title="unwrapped_add">unwrapped_add</a></li><li><a href="#method.unwrapped_add_prod" title="unwrapped_add_prod">unwrapped_add_prod</a></li><li><a href="#method.unwrapped_add_unsigned" title="unwrapped_add_unsigned">unwrapped_add_unsigned</a></li><li><a href="#method.unwrapped_ceil" title="unwrapped_ceil">unwrapped_ceil</a></li><li><a href="#method.unwrapped_dist" title="unwrapped_dist">unwrapped_dist</a></li><li><a href="#method.unwrapped_div" title="unwrapped_div">unwrapped_div</a></li><li><a href="#method.unwrapped_div_euclid" title="unwrapped_div_euclid">unwrapped_div_euclid</a></li><li><a href="#method.unwrapped_div_euclid_int" title="unwrapped_div_euclid_int">unwrapped_div_euclid_int</a></li><li><a href="#method.unwrapped_div_int" title="unwrapped_div_int">unwrapped_div_int</a></li><li><a href="#method.unwrapped_floor" title="unwrapped_floor">unwrapped_floor</a></li><li><a href="#method.unwrapped_from_num" title="unwrapped_from_num">unwrapped_from_num</a></li><li><a href="#method.unwrapped_from_str" title="unwrapped_from_str">unwrapped_from_str</a></li><li><a href="#method.unwrapped_from_str_binary" title="unwrapped_from_str_binary">unwrapped_from_str_binary</a></li><li><a href="#method.unwrapped_from_str_hex" title="unwrapped_from_str_hex">unwrapped_from_str_hex</a></li><li><a href="#method.unwrapped_from_str_octal" title="unwrapped_from_str_octal">unwrapped_from_str_octal</a></li><li><a href="#method.unwrapped_hypot" title="unwrapped_hypot">unwrapped_hypot</a></li><li><a href="#method.unwrapped_inv_lerp" title="unwrapped_inv_lerp">unwrapped_inv_lerp</a></li><li><a href="#method.unwrapped_lerp" title="unwrapped_lerp">unwrapped_lerp</a></li><li><a href="#method.unwrapped_mul" title="unwrapped_mul">unwrapped_mul</a></li><li><a href="#method.unwrapped_mul_acc" title="unwrapped_mul_acc">unwrapped_mul_acc</a></li><li><a href="#method.unwrapped_mul_add" title="unwrapped_mul_add">unwrapped_mul_add</a></li><li><a href="#method.unwrapped_mul_int" title="unwrapped_mul_int">unwrapped_mul_int</a></li><li><a href="#method.unwrapped_neg" title="unwrapped_neg">unwrapped_neg</a></li><li><a href="#method.unwrapped_next_multiple_of" title="unwrapped_next_multiple_of">unwrapped_next_multiple_of</a></li><li><a href="#method.unwrapped_recip" title="unwrapped_recip">unwrapped_recip</a></li><li><a href="#method.unwrapped_rem" title="unwrapped_rem">unwrapped_rem</a></li><li><a href="#method.unwrapped_rem_euclid" title="unwrapped_rem_euclid">unwrapped_rem_euclid</a></li><li><a href="#method.unwrapped_rem_euclid_int" title="unwrapped_rem_euclid_int">unwrapped_rem_euclid_int</a></li><li><a href="#method.unwrapped_rem_int" title="unwrapped_rem_int">unwrapped_rem_int</a></li><li><a href="#method.unwrapped_round" title="unwrapped_round">unwrapped_round</a></li><li><a href="#method.unwrapped_round_ties_even" title="unwrapped_round_ties_even">unwrapped_round_ties_even</a></li><li><a href="#method.unwrapped_round_ties_to_even" title="unwrapped_round_ties_to_even">unwrapped_round_ties_to_even</a></li><li><a href="#method.unwrapped_shl" title="unwrapped_shl">unwrapped_shl</a></li><li><a href="#method.unwrapped_shr" title="unwrapped_shr">unwrapped_shr</a></li><li><a href="#method.unwrapped_signum" title="unwrapped_signum">unwrapped_signum</a></li><li><a href="#method.unwrapped_sqrt" title="unwrapped_sqrt">unwrapped_sqrt</a></li><li><a href="#method.unwrapped_sub" title="unwrapped_sub">unwrapped_sub</a></li><li><a href="#method.unwrapped_sub_unsigned" title="unwrapped_sub_unsigned">unwrapped_sub_unsigned</a></li><li><a href="#method.unwrapped_to_num" title="unwrapped_to_num">unwrapped_to_num</a></li><li><a href="#method.wide_div" title="wide_div">wide_div</a></li><li><a href="#method.wide_div_unsigned" title="wide_div_unsigned">wide_div_unsigned</a></li><li><a href="#method.wide_mul" title="wide_mul">wide_mul</a></li><li><a href="#method.wide_mul_unsigned" title="wide_mul_unsigned">wide_mul_unsigned</a></li><li><a href="#method.wide_sdiv" title="wide_sdiv">wide_sdiv</a></li><li><a href="#method.wrapping_abs" title="wrapping_abs">wrapping_abs</a></li><li><a href="#method.wrapping_add" title="wrapping_add">wrapping_add</a></li><li><a href="#method.wrapping_add_prod" title="wrapping_add_prod">wrapping_add_prod</a></li><li><a href="#method.wrapping_add_unsigned" title="wrapping_add_unsigned">wrapping_add_unsigned</a></li><li><a href="#method.wrapping_ceil" title="wrapping_ceil">wrapping_ceil</a></li><li><a href="#method.wrapping_dist" title="wrapping_dist">wrapping_dist</a></li><li><a href="#method.wrapping_div" title="wrapping_div">wrapping_div</a></li><li><a href="#method.wrapping_div_euclid" title="wrapping_div_euclid">wrapping_div_euclid</a></li><li><a href="#method.wrapping_div_euclid_int" title="wrapping_div_euclid_int">wrapping_div_euclid_int</a></li><li><a href="#method.wrapping_div_int" title="wrapping_div_int">wrapping_div_int</a></li><li><a href="#method.wrapping_floor" title="wrapping_floor">wrapping_floor</a></li><li><a href="#method.wrapping_from_num" title="wrapping_from_num">wrapping_from_num</a></li><li><a href="#method.wrapping_from_str" title="wrapping_from_str">wrapping_from_str</a></li><li><a href="#method.wrapping_from_str_binary" title="wrapping_from_str_binary">wrapping_from_str_binary</a></li><li><a href="#method.wrapping_from_str_hex" title="wrapping_from_str_hex">wrapping_from_str_hex</a></li><li><a href="#method.wrapping_from_str_octal" title="wrapping_from_str_octal">wrapping_from_str_octal</a></li><li><a href="#method.wrapping_hypot" title="wrapping_hypot">wrapping_hypot</a></li><li><a href="#method.wrapping_inv_lerp" title="wrapping_inv_lerp">wrapping_inv_lerp</a></li><li><a href="#method.wrapping_lerp" title="wrapping_lerp">wrapping_lerp</a></li><li><a href="#method.wrapping_mul" title="wrapping_mul">wrapping_mul</a></li><li><a href="#method.wrapping_mul_acc" title="wrapping_mul_acc">wrapping_mul_acc</a></li><li><a href="#method.wrapping_mul_add" title="wrapping_mul_add">wrapping_mul_add</a></li><li><a href="#method.wrapping_mul_int" title="wrapping_mul_int">wrapping_mul_int</a></li><li><a href="#method.wrapping_neg" title="wrapping_neg">wrapping_neg</a></li><li><a href="#method.wrapping_next_multiple_of" title="wrapping_next_multiple_of">wrapping_next_multiple_of</a></li><li><a href="#method.wrapping_recip" title="wrapping_recip">wrapping_recip</a></li><li><a href="#method.wrapping_rem_euclid_int" title="wrapping_rem_euclid_int">wrapping_rem_euclid_int</a></li><li><a href="#method.wrapping_round" title="wrapping_round">wrapping_round</a></li><li><a href="#method.wrapping_round_ties_even" title="wrapping_round_ties_even">wrapping_round_ties_even</a></li><li><a href="#method.wrapping_round_ties_to_even" title="wrapping_round_ties_to_even">wrapping_round_ties_to_even</a></li><li><a href="#method.wrapping_shl" title="wrapping_shl">wrapping_shl</a></li><li><a href="#method.wrapping_shr" title="wrapping_shr">wrapping_shr</a></li><li><a href="#method.wrapping_signum" title="wrapping_signum">wrapping_signum</a></li><li><a href="#method.wrapping_sqrt" title="wrapping_sqrt">wrapping_sqrt</a></li><li><a href="#method.wrapping_sub" title="wrapping_sub">wrapping_sub</a></li><li><a href="#method.wrapping_sub_unsigned" title="wrapping_sub_unsigned">wrapping_sub_unsigned</a></li><li><a href="#method.wrapping_to_num" title="wrapping_to_num">wrapping_to_num</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Add-for-FixedI32%3CFrac%3E" title="Add">Add</a></li><li><a href="#impl-Add%3C%26FixedI32%3CFrac%3E%3E-for-%26FixedI32%3CFrac%3E" title="Add<&FixedI32<Frac>>">Add<&FixedI32<Frac>></a></li><li><a href="#impl-Add%3C%26FixedI32%3CFrac%3E%3E-for-FixedI32%3CFrac%3E" title="Add<&FixedI32<Frac>>">Add<&FixedI32<Frac>></a></li><li><a href="#impl-Add%3CFixedI32%3CFrac%3E%3E-for-%26FixedI32%3CFrac%3E" title="Add<FixedI32<Frac>>">Add<FixedI32<Frac>></a></li><li><a href="#impl-AddAssign-for-FixedI32%3CFrac%3E" title="AddAssign">AddAssign</a></li><li><a href="#impl-AddAssign%3C%26FixedI32%3CFrac%3E%3E-for-FixedI32%3CFrac%3E" title="AddAssign<&FixedI32<Frac>>">AddAssign<&FixedI32<Frac>></a></li><li><a href="#impl-Binary-for-FixedI32%3CFrac%3E" title="Binary">Binary</a></li><li><a href="#impl-BitAnd-for-FixedI32%3CFrac%3E" title="BitAnd">BitAnd</a></li><li><a href="#impl-BitAnd%3C%26FixedI32%3CFrac%3E%3E-for-%26FixedI32%3CFrac%3E" title="BitAnd<&FixedI32<Frac>>">BitAnd<&FixedI32<Frac>></a></li><li><a href="#impl-BitAnd%3C%26FixedI32%3CFrac%3E%3E-for-FixedI32%3CFrac%3E" title="BitAnd<&FixedI32<Frac>>">BitAnd<&FixedI32<Frac>></a></li><li><a href="#impl-BitAnd%3CFixedI32%3CFrac%3E%3E-for-%26FixedI32%3CFrac%3E" title="BitAnd<FixedI32<Frac>>">BitAnd<FixedI32<Frac>></a></li><li><a href="#impl-BitAndAssign-for-FixedI32%3CFrac%3E" title="BitAndAssign">BitAndAssign</a></li><li><a href="#impl-BitAndAssign%3C%26FixedI32%3CFrac%3E%3E-for-FixedI32%3CFrac%3E" title="BitAndAssign<&FixedI32<Frac>>">BitAndAssign<&FixedI32<Frac>></a></li><li><a href="#impl-BitOr-for-FixedI32%3CFrac%3E" title="BitOr">BitOr</a></li><li><a href="#impl-BitOr%3C%26FixedI32%3CFrac%3E%3E-for-%26FixedI32%3CFrac%3E" title="BitOr<&FixedI32<Frac>>">BitOr<&FixedI32<Frac>></a></li><li><a href="#impl-BitOr%3C%26FixedI32%3CFrac%3E%3E-for-FixedI32%3CFrac%3E" title="BitOr<&FixedI32<Frac>>">BitOr<&FixedI32<Frac>></a></li><li><a href="#impl-BitOr%3CFixedI32%3CFrac%3E%3E-for-%26FixedI32%3CFrac%3E" title="BitOr<FixedI32<Frac>>">BitOr<FixedI32<Frac>></a></li><li><a href="#impl-BitOrAssign-for-FixedI32%3CFrac%3E" title="BitOrAssign">BitOrAssign</a></li><li><a href="#impl-BitOrAssign%3C%26FixedI32%3CFrac%3E%3E-for-FixedI32%3CFrac%3E" title="BitOrAssign<&FixedI32<Frac>>">BitOrAssign<&FixedI32<Frac>></a></li><li><a href="#impl-BitXor-for-FixedI32%3CFrac%3E" title="BitXor">BitXor</a></li><li><a href="#impl-BitXor%3C%26FixedI32%3CFrac%3E%3E-for-%26FixedI32%3CFrac%3E" title="BitXor<&FixedI32<Frac>>">BitXor<&FixedI32<Frac>></a></li><li><a href="#impl-BitXor%3C%26FixedI32%3CFrac%3E%3E-for-FixedI32%3CFrac%3E" title="BitXor<&FixedI32<Frac>>">BitXor<&FixedI32<Frac>></a></li><li><a href="#impl-BitXor%3CFixedI32%3CFrac%3E%3E-for-%26FixedI32%3CFrac%3E" title="BitXor<FixedI32<Frac>>">BitXor<FixedI32<Frac>></a></li><li><a href="#impl-BitXorAssign-for-FixedI32%3CFrac%3E" title="BitXorAssign">BitXorAssign</a></li><li><a href="#impl-BitXorAssign%3C%26FixedI32%3CFrac%3E%3E-for-FixedI32%3CFrac%3E" title="BitXorAssign<&FixedI32<Frac>>">BitXorAssign<&FixedI32<Frac>></a></li><li><a href="#impl-Cast%3CF128%3E-for-FixedI32%3CFrac%3E" title="Cast<F128>">Cast<F128></a></li><li><a href="#impl-Cast%3CF128Bits%3E-for-FixedI32%3CFrac%3E" title="Cast<F128Bits>">Cast<F128Bits></a></li><li><a href="#impl-Cast%3CFixedI128%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="Cast<FixedI128<FracDst>>">Cast<FixedI128<FracDst>></a></li><li><a href="#impl-Cast%3CFixedI16%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="Cast<FixedI16<FracDst>>">Cast<FixedI16<FracDst>></a></li><li><a href="#impl-Cast%3CFixedI32%3CFrac%3E%3E-for-F128" title="Cast<FixedI32<Frac>>">Cast<FixedI32<Frac>></a></li><li><a href="#impl-Cast%3CFixedI32%3CFrac%3E%3E-for-F128Bits" title="Cast<FixedI32<Frac>>">Cast<FixedI32<Frac>></a></li><li><a href="#impl-Cast%3CFixedI32%3CFrac%3E%3E-for-bf16" title="Cast<FixedI32<Frac>>">Cast<FixedI32<Frac>></a></li><li><a href="#impl-Cast%3CFixedI32%3CFrac%3E%3E-for-bool" title="Cast<FixedI32<Frac>>">Cast<FixedI32<Frac>></a></li><li><a href="#impl-Cast%3CFixedI32%3CFrac%3E%3E-for-f16" title="Cast<FixedI32<Frac>>">Cast<FixedI32<Frac>></a></li><li><a href="#impl-Cast%3CFixedI32%3CFrac%3E%3E-for-f32" title="Cast<FixedI32<Frac>>">Cast<FixedI32<Frac>></a></li><li><a href="#impl-Cast%3CFixedI32%3CFrac%3E%3E-for-f64" title="Cast<FixedI32<Frac>>">Cast<FixedI32<Frac>></a></li><li><a href="#impl-Cast%3CFixedI32%3CFrac%3E%3E-for-i128" title="Cast<FixedI32<Frac>>">Cast<FixedI32<Frac>></a></li><li><a href="#impl-Cast%3CFixedI32%3CFrac%3E%3E-for-i16" title="Cast<FixedI32<Frac>>">Cast<FixedI32<Frac>></a></li><li><a href="#impl-Cast%3CFixedI32%3CFrac%3E%3E-for-i32" title="Cast<FixedI32<Frac>>">Cast<FixedI32<Frac>></a></li><li><a href="#impl-Cast%3CFixedI32%3CFrac%3E%3E-for-i64" title="Cast<FixedI32<Frac>>">Cast<FixedI32<Frac>></a></li><li><a href="#impl-Cast%3CFixedI32%3CFrac%3E%3E-for-i8" title="Cast<FixedI32<Frac>>">Cast<FixedI32<Frac>></a></li><li><a href="#impl-Cast%3CFixedI32%3CFrac%3E%3E-for-isize" title="Cast<FixedI32<Frac>>">Cast<FixedI32<Frac>></a></li><li><a href="#impl-Cast%3CFixedI32%3CFrac%3E%3E-for-u128" title="Cast<FixedI32<Frac>>">Cast<FixedI32<Frac>></a></li><li><a href="#impl-Cast%3CFixedI32%3CFrac%3E%3E-for-u16" title="Cast<FixedI32<Frac>>">Cast<FixedI32<Frac>></a></li><li><a href="#impl-Cast%3CFixedI32%3CFrac%3E%3E-for-u32" title="Cast<FixedI32<Frac>>">Cast<FixedI32<Frac>></a></li><li><a href="#impl-Cast%3CFixedI32%3CFrac%3E%3E-for-u64" title="Cast<FixedI32<Frac>>">Cast<FixedI32<Frac>></a></li><li><a href="#impl-Cast%3CFixedI32%3CFrac%3E%3E-for-u8" title="Cast<FixedI32<Frac>>">Cast<FixedI32<Frac>></a></li><li><a href="#impl-Cast%3CFixedI32%3CFrac%3E%3E-for-usize" title="Cast<FixedI32<Frac>>">Cast<FixedI32<Frac>></a></li><li><a href="#impl-Cast%3CFixedI32%3CFracDst%3E%3E-for-FixedI128%3CFracSrc%3E" title="Cast<FixedI32<FracDst>>">Cast<FixedI32<FracDst>></a></li><li><a href="#impl-Cast%3CFixedI32%3CFracDst%3E%3E-for-FixedI16%3CFracSrc%3E" title="Cast<FixedI32<FracDst>>">Cast<FixedI32<FracDst>></a></li><li><a href="#impl-Cast%3CFixedI32%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="Cast<FixedI32<FracDst>>">Cast<FixedI32<FracDst>></a></li><li><a href="#impl-Cast%3CFixedI32%3CFracDst%3E%3E-for-FixedI64%3CFracSrc%3E" title="Cast<FixedI32<FracDst>>">Cast<FixedI32<FracDst>></a></li><li><a href="#impl-Cast%3CFixedI32%3CFracDst%3E%3E-for-FixedI8%3CFracSrc%3E" title="Cast<FixedI32<FracDst>>">Cast<FixedI32<FracDst>></a></li><li><a href="#impl-Cast%3CFixedI32%3CFracDst%3E%3E-for-FixedU128%3CFracSrc%3E" title="Cast<FixedI32<FracDst>>">Cast<FixedI32<FracDst>></a></li><li><a href="#impl-Cast%3CFixedI32%3CFracDst%3E%3E-for-FixedU16%3CFracSrc%3E" title="Cast<FixedI32<FracDst>>">Cast<FixedI32<FracDst>></a></li><li><a href="#impl-Cast%3CFixedI32%3CFracDst%3E%3E-for-FixedU32%3CFracSrc%3E" title="Cast<FixedI32<FracDst>>">Cast<FixedI32<FracDst>></a></li><li><a href="#impl-Cast%3CFixedI32%3CFracDst%3E%3E-for-FixedU64%3CFracSrc%3E" title="Cast<FixedI32<FracDst>>">Cast<FixedI32<FracDst>></a></li><li><a href="#impl-Cast%3CFixedI32%3CFracDst%3E%3E-for-FixedU8%3CFracSrc%3E" title="Cast<FixedI32<FracDst>>">Cast<FixedI32<FracDst>></a></li><li><a href="#impl-Cast%3CFixedI64%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="Cast<FixedI64<FracDst>>">Cast<FixedI64<FracDst>></a></li><li><a href="#impl-Cast%3CFixedI8%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="Cast<FixedI8<FracDst>>">Cast<FixedI8<FracDst>></a></li><li><a href="#impl-Cast%3CFixedU128%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="Cast<FixedU128<FracDst>>">Cast<FixedU128<FracDst>></a></li><li><a href="#impl-Cast%3CFixedU16%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="Cast<FixedU16<FracDst>>">Cast<FixedU16<FracDst>></a></li><li><a href="#impl-Cast%3CFixedU32%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="Cast<FixedU32<FracDst>>">Cast<FixedU32<FracDst>></a></li><li><a href="#impl-Cast%3CFixedU64%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="Cast<FixedU64<FracDst>>">Cast<FixedU64<FracDst>></a></li><li><a href="#impl-Cast%3CFixedU8%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="Cast<FixedU8<FracDst>>">Cast<FixedU8<FracDst>></a></li><li><a href="#impl-Cast%3Cbf16%3E-for-FixedI32%3CFrac%3E" title="Cast<bf16>">Cast<bf16></a></li><li><a href="#impl-Cast%3Cf16%3E-for-FixedI32%3CFrac%3E" title="Cast<f16>">Cast<f16></a></li><li><a href="#impl-Cast%3Cf32%3E-for-FixedI32%3CFrac%3E" title="Cast<f32>">Cast<f32></a></li><li><a href="#impl-Cast%3Cf64%3E-for-FixedI32%3CFrac%3E" title="Cast<f64>">Cast<f64></a></li><li><a href="#impl-Cast%3Ci128%3E-for-FixedI32%3CFrac%3E" title="Cast<i128>">Cast<i128></a></li><li><a href="#impl-Cast%3Ci16%3E-for-FixedI32%3CFrac%3E" title="Cast<i16>">Cast<i16></a></li><li><a href="#impl-Cast%3Ci32%3E-for-FixedI32%3CFrac%3E" title="Cast<i32>">Cast<i32></a></li><li><a href="#impl-Cast%3Ci64%3E-for-FixedI32%3CFrac%3E" title="Cast<i64>">Cast<i64></a></li><li><a href="#impl-Cast%3Ci8%3E-for-FixedI32%3CFrac%3E" title="Cast<i8>">Cast<i8></a></li><li><a href="#impl-Cast%3Cisize%3E-for-FixedI32%3CFrac%3E" title="Cast<isize>">Cast<isize></a></li><li><a href="#impl-Cast%3Cu128%3E-for-FixedI32%3CFrac%3E" title="Cast<u128>">Cast<u128></a></li><li><a href="#impl-Cast%3Cu16%3E-for-FixedI32%3CFrac%3E" title="Cast<u16>">Cast<u16></a></li><li><a href="#impl-Cast%3Cu32%3E-for-FixedI32%3CFrac%3E" title="Cast<u32>">Cast<u32></a></li><li><a href="#impl-Cast%3Cu64%3E-for-FixedI32%3CFrac%3E" title="Cast<u64>">Cast<u64></a></li><li><a href="#impl-Cast%3Cu8%3E-for-FixedI32%3CFrac%3E" title="Cast<u8>">Cast<u8></a></li><li><a href="#impl-Cast%3Cusize%3E-for-FixedI32%3CFrac%3E" title="Cast<usize>">Cast<usize></a></li><li><a href="#impl-CheckedCast%3CF128%3E-for-FixedI32%3CFrac%3E" title="CheckedCast<F128>">CheckedCast<F128></a></li><li><a href="#impl-CheckedCast%3CF128Bits%3E-for-FixedI32%3CFrac%3E" title="CheckedCast<F128Bits>">CheckedCast<F128Bits></a></li><li><a href="#impl-CheckedCast%3CFixedI128%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="CheckedCast<FixedI128<FracDst>>">CheckedCast<FixedI128<FracDst>></a></li><li><a href="#impl-CheckedCast%3CFixedI16%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="CheckedCast<FixedI16<FracDst>>">CheckedCast<FixedI16<FracDst>></a></li><li><a href="#impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-F128" title="CheckedCast<FixedI32<Frac>>">CheckedCast<FixedI32<Frac>></a></li><li><a href="#impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-F128Bits" title="CheckedCast<FixedI32<Frac>>">CheckedCast<FixedI32<Frac>></a></li><li><a href="#impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-bf16" title="CheckedCast<FixedI32<Frac>>">CheckedCast<FixedI32<Frac>></a></li><li><a href="#impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-bool" title="CheckedCast<FixedI32<Frac>>">CheckedCast<FixedI32<Frac>></a></li><li><a href="#impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-f16" title="CheckedCast<FixedI32<Frac>>">CheckedCast<FixedI32<Frac>></a></li><li><a href="#impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-f32" title="CheckedCast<FixedI32<Frac>>">CheckedCast<FixedI32<Frac>></a></li><li><a href="#impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-f64" title="CheckedCast<FixedI32<Frac>>">CheckedCast<FixedI32<Frac>></a></li><li><a href="#impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-i128" title="CheckedCast<FixedI32<Frac>>">CheckedCast<FixedI32<Frac>></a></li><li><a href="#impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-i16" title="CheckedCast<FixedI32<Frac>>">CheckedCast<FixedI32<Frac>></a></li><li><a href="#impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-i32" title="CheckedCast<FixedI32<Frac>>">CheckedCast<FixedI32<Frac>></a></li><li><a href="#impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-i64" title="CheckedCast<FixedI32<Frac>>">CheckedCast<FixedI32<Frac>></a></li><li><a href="#impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-i8" title="CheckedCast<FixedI32<Frac>>">CheckedCast<FixedI32<Frac>></a></li><li><a href="#impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-isize" title="CheckedCast<FixedI32<Frac>>">CheckedCast<FixedI32<Frac>></a></li><li><a href="#impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-u128" title="CheckedCast<FixedI32<Frac>>">CheckedCast<FixedI32<Frac>></a></li><li><a href="#impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-u16" title="CheckedCast<FixedI32<Frac>>">CheckedCast<FixedI32<Frac>></a></li><li><a href="#impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-u32" title="CheckedCast<FixedI32<Frac>>">CheckedCast<FixedI32<Frac>></a></li><li><a href="#impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-u64" title="CheckedCast<FixedI32<Frac>>">CheckedCast<FixedI32<Frac>></a></li><li><a href="#impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-u8" title="CheckedCast<FixedI32<Frac>>">CheckedCast<FixedI32<Frac>></a></li><li><a href="#impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-usize" title="CheckedCast<FixedI32<Frac>>">CheckedCast<FixedI32<Frac>></a></li><li><a href="#impl-CheckedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI128%3CFracSrc%3E" title="CheckedCast<FixedI32<FracDst>>">CheckedCast<FixedI32<FracDst>></a></li><li><a href="#impl-CheckedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI16%3CFracSrc%3E" title="CheckedCast<FixedI32<FracDst>>">CheckedCast<FixedI32<FracDst>></a></li><li><a href="#impl-CheckedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="CheckedCast<FixedI32<FracDst>>">CheckedCast<FixedI32<FracDst>></a></li><li><a href="#impl-CheckedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI64%3CFracSrc%3E" title="CheckedCast<FixedI32<FracDst>>">CheckedCast<FixedI32<FracDst>></a></li><li><a href="#impl-CheckedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI8%3CFracSrc%3E" title="CheckedCast<FixedI32<FracDst>>">CheckedCast<FixedI32<FracDst>></a></li><li><a href="#impl-CheckedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU128%3CFracSrc%3E" title="CheckedCast<FixedI32<FracDst>>">CheckedCast<FixedI32<FracDst>></a></li><li><a href="#impl-CheckedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU16%3CFracSrc%3E" title="CheckedCast<FixedI32<FracDst>>">CheckedCast<FixedI32<FracDst>></a></li><li><a href="#impl-CheckedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU32%3CFracSrc%3E" title="CheckedCast<FixedI32<FracDst>>">CheckedCast<FixedI32<FracDst>></a></li><li><a href="#impl-CheckedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU64%3CFracSrc%3E" title="CheckedCast<FixedI32<FracDst>>">CheckedCast<FixedI32<FracDst>></a></li><li><a href="#impl-CheckedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU8%3CFracSrc%3E" title="CheckedCast<FixedI32<FracDst>>">CheckedCast<FixedI32<FracDst>></a></li><li><a href="#impl-CheckedCast%3CFixedI64%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="CheckedCast<FixedI64<FracDst>>">CheckedCast<FixedI64<FracDst>></a></li><li><a href="#impl-CheckedCast%3CFixedI8%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="CheckedCast<FixedI8<FracDst>>">CheckedCast<FixedI8<FracDst>></a></li><li><a href="#impl-CheckedCast%3CFixedU128%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="CheckedCast<FixedU128<FracDst>>">CheckedCast<FixedU128<FracDst>></a></li><li><a href="#impl-CheckedCast%3CFixedU16%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="CheckedCast<FixedU16<FracDst>>">CheckedCast<FixedU16<FracDst>></a></li><li><a href="#impl-CheckedCast%3CFixedU32%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="CheckedCast<FixedU32<FracDst>>">CheckedCast<FixedU32<FracDst>></a></li><li><a href="#impl-CheckedCast%3CFixedU64%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="CheckedCast<FixedU64<FracDst>>">CheckedCast<FixedU64<FracDst>></a></li><li><a href="#impl-CheckedCast%3CFixedU8%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="CheckedCast<FixedU8<FracDst>>">CheckedCast<FixedU8<FracDst>></a></li><li><a href="#impl-CheckedCast%3Cbf16%3E-for-FixedI32%3CFrac%3E" title="CheckedCast<bf16>">CheckedCast<bf16></a></li><li><a href="#impl-CheckedCast%3Cf16%3E-for-FixedI32%3CFrac%3E" title="CheckedCast<f16>">CheckedCast<f16></a></li><li><a href="#impl-CheckedCast%3Cf32%3E-for-FixedI32%3CFrac%3E" title="CheckedCast<f32>">CheckedCast<f32></a></li><li><a href="#impl-CheckedCast%3Cf64%3E-for-FixedI32%3CFrac%3E" title="CheckedCast<f64>">CheckedCast<f64></a></li><li><a href="#impl-CheckedCast%3Ci128%3E-for-FixedI32%3CFrac%3E" title="CheckedCast<i128>">CheckedCast<i128></a></li><li><a href="#impl-CheckedCast%3Ci16%3E-for-FixedI32%3CFrac%3E" title="CheckedCast<i16>">CheckedCast<i16></a></li><li><a href="#impl-CheckedCast%3Ci32%3E-for-FixedI32%3CFrac%3E" title="CheckedCast<i32>">CheckedCast<i32></a></li><li><a href="#impl-CheckedCast%3Ci64%3E-for-FixedI32%3CFrac%3E" title="CheckedCast<i64>">CheckedCast<i64></a></li><li><a href="#impl-CheckedCast%3Ci8%3E-for-FixedI32%3CFrac%3E" title="CheckedCast<i8>">CheckedCast<i8></a></li><li><a href="#impl-CheckedCast%3Cisize%3E-for-FixedI32%3CFrac%3E" title="CheckedCast<isize>">CheckedCast<isize></a></li><li><a href="#impl-CheckedCast%3Cu128%3E-for-FixedI32%3CFrac%3E" title="CheckedCast<u128>">CheckedCast<u128></a></li><li><a href="#impl-CheckedCast%3Cu16%3E-for-FixedI32%3CFrac%3E" title="CheckedCast<u16>">CheckedCast<u16></a></li><li><a href="#impl-CheckedCast%3Cu32%3E-for-FixedI32%3CFrac%3E" title="CheckedCast<u32>">CheckedCast<u32></a></li><li><a href="#impl-CheckedCast%3Cu64%3E-for-FixedI32%3CFrac%3E" title="CheckedCast<u64>">CheckedCast<u64></a></li><li><a href="#impl-CheckedCast%3Cu8%3E-for-FixedI32%3CFrac%3E" title="CheckedCast<u8>">CheckedCast<u8></a></li><li><a href="#impl-CheckedCast%3Cusize%3E-for-FixedI32%3CFrac%3E" title="CheckedCast<usize>">CheckedCast<usize></a></li><li><a href="#impl-Clone-for-FixedI32%3CFrac%3E" title="Clone">Clone</a></li><li><a href="#impl-Contiguous-for-FixedI32%3CFrac%3E" title="Contiguous">Contiguous</a></li><li><a href="#impl-Copy-for-FixedI32%3CFrac%3E" title="Copy">Copy</a></li><li><a href="#impl-Debug-for-FixedI32%3CFrac%3E" title="Debug">Debug</a></li><li><a href="#impl-Default-for-FixedI32%3CFrac%3E" title="Default">Default</a></li><li><a href="#impl-Display-for-FixedI32%3CFrac%3E" title="Display">Display</a></li><li><a href="#impl-Div-for-FixedI32%3CFrac%3E" title="Div">Div</a></li><li><a href="#impl-Div%3C%26FixedI32%3CFrac%3E%3E-for-%26FixedI32%3CFrac%3E" title="Div<&FixedI32<Frac>>">Div<&FixedI32<Frac>></a></li><li><a href="#impl-Div%3C%26FixedI32%3CFrac%3E%3E-for-FixedI32%3CFrac%3E" title="Div<&FixedI32<Frac>>">Div<&FixedI32<Frac>></a></li><li><a href="#impl-Div%3C%26i32%3E-for-%26FixedI32%3CFrac%3E" title="Div<&i32>">Div<&i32></a></li><li><a href="#impl-Div%3C%26i32%3E-for-FixedI32%3CFrac%3E" title="Div<&i32>">Div<&i32></a></li><li><a href="#impl-Div%3CFixedI32%3CFrac%3E%3E-for-%26FixedI32%3CFrac%3E" title="Div<FixedI32<Frac>>">Div<FixedI32<Frac>></a></li><li><a href="#impl-Div%3Ci32%3E-for-%26FixedI32%3CFrac%3E" title="Div<i32>">Div<i32></a></li><li><a href="#impl-Div%3Ci32%3E-for-FixedI32%3CFrac%3E" title="Div<i32>">Div<i32></a></li><li><a href="#impl-DivAssign-for-FixedI32%3CFrac%3E" title="DivAssign">DivAssign</a></li><li><a href="#impl-DivAssign%3C%26FixedI32%3CFrac%3E%3E-for-FixedI32%3CFrac%3E" title="DivAssign<&FixedI32<Frac>>">DivAssign<&FixedI32<Frac>></a></li><li><a href="#impl-DivAssign%3C%26i32%3E-for-FixedI32%3CFrac%3E" title="DivAssign<&i32>">DivAssign<&i32></a></li><li><a href="#impl-DivAssign%3Ci32%3E-for-FixedI32%3CFrac%3E" title="DivAssign<i32>">DivAssign<i32></a></li><li><a href="#impl-Eq-for-FixedI32%3CFrac%3E" title="Eq">Eq</a></li><li><a href="#impl-Fixed-for-FixedI32%3CFrac%3E" title="Fixed">Fixed</a></li><li><a href="#impl-FixedOptionalArbitrary-for-FixedI32%3CFrac%3E" title="FixedOptionalArbitrary">FixedOptionalArbitrary</a></li><li><a href="#impl-FixedOptionalBorsh-for-FixedI32%3CFrac%3E" title="FixedOptionalBorsh">FixedOptionalBorsh</a></li><li><a href="#impl-FixedOptionalFeatures-for-FixedI32%3CFrac%3E" title="FixedOptionalFeatures">FixedOptionalFeatures</a></li><li><a href="#impl-FixedOptionalNightlyFloat-for-FixedI32%3CFrac%3E" title="FixedOptionalNightlyFloat">FixedOptionalNightlyFloat</a></li><li><a href="#impl-FixedOptionalNum-for-FixedI32%3CFrac%3E" title="FixedOptionalNum">FixedOptionalNum</a></li><li><a href="#impl-FixedOptionalSerde-for-FixedI32%3CFrac%3E" title="FixedOptionalSerde">FixedOptionalSerde</a></li><li><a href="#impl-FixedSigned-for-FixedI32%3CFrac%3E" title="FixedSigned">FixedSigned</a></li><li><a href="#impl-From%3CFixedI16%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" title="From<FixedI16<FracSrc>>">From<FixedI16<FracSrc>></a></li><li><a href="#impl-From%3CFixedI32%3CFrac%3E%3E-for-F128" title="From<FixedI32<Frac>>">From<FixedI32<Frac>></a></li><li><a href="#impl-From%3CFixedI32%3CFrac%3E%3E-for-F128Bits" title="From<FixedI32<Frac>>">From<FixedI32<Frac>></a></li><li><a href="#impl-From%3CFixedI32%3CFrac%3E%3E-for-f64" title="From<FixedI32<Frac>>">From<FixedI32<Frac>></a></li><li><a href="#impl-From%3CFixedI32%3CFracSrc%3E%3E-for-FixedI128%3CFracDst%3E" title="From<FixedI32<FracSrc>>">From<FixedI32<FracSrc>></a></li><li><a href="#impl-From%3CFixedI32%3CFracSrc%3E%3E-for-FixedI64%3CFracDst%3E" title="From<FixedI32<FracSrc>>">From<FixedI32<FracSrc>></a></li><li><a href="#impl-From%3CFixedI32%3CUTerm%3E%3E-for-i128" title="From<FixedI32<UTerm>>">From<FixedI32<UTerm>></a></li><li><a href="#impl-From%3CFixedI32%3CUTerm%3E%3E-for-i32" title="From<FixedI32<UTerm>>">From<FixedI32<UTerm>></a></li><li><a href="#impl-From%3CFixedI32%3CUTerm%3E%3E-for-i64" title="From<FixedI32<UTerm>>">From<FixedI32<UTerm>></a></li><li><a href="#impl-From%3CFixedI8%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" title="From<FixedI8<FracSrc>>">From<FixedI8<FracSrc>></a></li><li><a href="#impl-From%3CFixedU16%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" title="From<FixedU16<FracSrc>>">From<FixedU16<FracSrc>></a></li><li><a href="#impl-From%3CFixedU8%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" title="From<FixedU8<FracSrc>>">From<FixedU8<FracSrc>></a></li><li><a href="#impl-From%3Cbool%3E-for-FixedI32%3CFracDst%3E" title="From<bool>">From<bool></a></li><li><a href="#impl-From%3Ci16%3E-for-FixedI32%3CFracDst%3E" title="From<i16>">From<i16></a></li><li><a href="#impl-From%3Ci32%3E-for-FixedI32%3CUTerm%3E" title="From<i32>">From<i32></a></li><li><a href="#impl-From%3Ci8%3E-for-FixedI32%3CFracDst%3E" title="From<i8>">From<i8></a></li><li><a href="#impl-From%3Cu16%3E-for-FixedI32%3CFracDst%3E" title="From<u16>">From<u16></a></li><li><a href="#impl-From%3Cu8%3E-for-FixedI32%3CFracDst%3E" title="From<u8>">From<u8></a></li><li><a href="#impl-FromFixed-for-FixedI32%3CFrac%3E" title="FromFixed">FromFixed</a></li><li><a href="#impl-FromStr-for-FixedI32%3CFrac%3E" title="FromStr">FromStr</a></li><li><a href="#impl-Hash-for-FixedI32%3CFrac%3E" title="Hash">Hash</a></li><li><a href="#impl-LosslessTryFrom%3CFixedI128%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" title="LosslessTryFrom<FixedI128<FracSrc>>">LosslessTryFrom<FixedI128<FracSrc>></a></li><li><a href="#impl-LosslessTryFrom%3CFixedI16%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" title="LosslessTryFrom<FixedI16<FracSrc>>">LosslessTryFrom<FixedI16<FracSrc>></a></li><li><a href="#impl-LosslessTryFrom%3CFixedI32%3CFrac%3E%3E-for-F128" title="LosslessTryFrom<FixedI32<Frac>>">LosslessTryFrom<FixedI32<Frac>></a></li><li><a href="#impl-LosslessTryFrom%3CFixedI32%3CFrac%3E%3E-for-F128Bits" title="LosslessTryFrom<FixedI32<Frac>>">LosslessTryFrom<FixedI32<Frac>></a></li><li><a href="#impl-LosslessTryFrom%3CFixedI32%3CFrac%3E%3E-for-f64" title="LosslessTryFrom<FixedI32<Frac>>">LosslessTryFrom<FixedI32<Frac>></a></li><li><a href="#impl-LosslessTryFrom%3CFixedI32%3CFracSrc%3E%3E-for-FixedI128%3CFracDst%3E" title="LosslessTryFrom<FixedI32<FracSrc>>">LosslessTryFrom<FixedI32<FracSrc>></a></li><li><a href="#impl-LosslessTryFrom%3CFixedI32%3CFracSrc%3E%3E-for-FixedI16%3CFracDst%3E" title="LosslessTryFrom<FixedI32<FracSrc>>">LosslessTryFrom<FixedI32<FracSrc>></a></li><li><a href="#impl-LosslessTryFrom%3CFixedI32%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" title="LosslessTryFrom<FixedI32<FracSrc>>">LosslessTryFrom<FixedI32<FracSrc>></a></li><li><a href="#impl-LosslessTryFrom%3CFixedI32%3CFracSrc%3E%3E-for-FixedI64%3CFracDst%3E" title="LosslessTryFrom<FixedI32<FracSrc>>">LosslessTryFrom<FixedI32<FracSrc>></a></li><li><a href="#impl-LosslessTryFrom%3CFixedI32%3CFracSrc%3E%3E-for-FixedI8%3CFracDst%3E" title="LosslessTryFrom<FixedI32<FracSrc>>">LosslessTryFrom<FixedI32<FracSrc>></a></li><li><a href="#impl-LosslessTryFrom%3CFixedI32%3CFracSrc%3E%3E-for-FixedU128%3CFracDst%3E" title="LosslessTryFrom<FixedI32<FracSrc>>">LosslessTryFrom<FixedI32<FracSrc>></a></li><li><a href="#impl-LosslessTryFrom%3CFixedI32%3CFracSrc%3E%3E-for-FixedU16%3CFracDst%3E" title="LosslessTryFrom<FixedI32<FracSrc>>">LosslessTryFrom<FixedI32<FracSrc>></a></li><li><a href="#impl-LosslessTryFrom%3CFixedI32%3CFracSrc%3E%3E-for-FixedU32%3CFracDst%3E" title="LosslessTryFrom<FixedI32<FracSrc>>">LosslessTryFrom<FixedI32<FracSrc>></a></li><li><a href="#impl-LosslessTryFrom%3CFixedI32%3CFracSrc%3E%3E-for-FixedU64%3CFracDst%3E" title="LosslessTryFrom<FixedI32<FracSrc>>">LosslessTryFrom<FixedI32<FracSrc>></a></li><li><a href="#impl-LosslessTryFrom%3CFixedI32%3CFracSrc%3E%3E-for-FixedU8%3CFracDst%3E" title="LosslessTryFrom<FixedI32<FracSrc>>">LosslessTryFrom<FixedI32<FracSrc>></a></li><li><a href="#impl-LosslessTryFrom%3CFixedI32%3CUTerm%3E%3E-for-i128" title="LosslessTryFrom<FixedI32<UTerm>>">LosslessTryFrom<FixedI32<UTerm>></a></li><li><a href="#impl-LosslessTryFrom%3CFixedI32%3CUTerm%3E%3E-for-i16" title="LosslessTryFrom<FixedI32<UTerm>>">LosslessTryFrom<FixedI32<UTerm>></a></li><li><a href="#impl-LosslessTryFrom%3CFixedI32%3CUTerm%3E%3E-for-i32" title="LosslessTryFrom<FixedI32<UTerm>>">LosslessTryFrom<FixedI32<UTerm>></a></li><li><a href="#impl-LosslessTryFrom%3CFixedI32%3CUTerm%3E%3E-for-i64" title="LosslessTryFrom<FixedI32<UTerm>>">LosslessTryFrom<FixedI32<UTerm>></a></li><li><a href="#impl-LosslessTryFrom%3CFixedI32%3CUTerm%3E%3E-for-i8" title="LosslessTryFrom<FixedI32<UTerm>>">LosslessTryFrom<FixedI32<UTerm>></a></li><li><a href="#impl-LosslessTryFrom%3CFixedI32%3CUTerm%3E%3E-for-isize" title="LosslessTryFrom<FixedI32<UTerm>>">LosslessTryFrom<FixedI32<UTerm>></a></li><li><a href="#impl-LosslessTryFrom%3CFixedI32%3CUTerm%3E%3E-for-u128" title="LosslessTryFrom<FixedI32<UTerm>>">LosslessTryFrom<FixedI32<UTerm>></a></li><li><a href="#impl-LosslessTryFrom%3CFixedI32%3CUTerm%3E%3E-for-u16" title="LosslessTryFrom<FixedI32<UTerm>>">LosslessTryFrom<FixedI32<UTerm>></a></li><li><a href="#impl-LosslessTryFrom%3CFixedI32%3CUTerm%3E%3E-for-u32" title="LosslessTryFrom<FixedI32<UTerm>>">LosslessTryFrom<FixedI32<UTerm>></a></li><li><a href="#impl-LosslessTryFrom%3CFixedI32%3CUTerm%3E%3E-for-u64" title="LosslessTryFrom<FixedI32<UTerm>>">LosslessTryFrom<FixedI32<UTerm>></a></li><li><a href="#impl-LosslessTryFrom%3CFixedI32%3CUTerm%3E%3E-for-u8" title="LosslessTryFrom<FixedI32<UTerm>>">LosslessTryFrom<FixedI32<UTerm>></a></li><li><a href="#impl-LosslessTryFrom%3CFixedI32%3CUTerm%3E%3E-for-usize" title="LosslessTryFrom<FixedI32<UTerm>>">LosslessTryFrom<FixedI32<UTerm>></a></li><li><a href="#impl-LosslessTryFrom%3CFixedI64%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" title="LosslessTryFrom<FixedI64<FracSrc>>">LosslessTryFrom<FixedI64<FracSrc>></a></li><li><a href="#impl-LosslessTryFrom%3CFixedI8%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" title="LosslessTryFrom<FixedI8<FracSrc>>">LosslessTryFrom<FixedI8<FracSrc>></a></li><li><a href="#impl-LosslessTryFrom%3CFixedU128%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" title="LosslessTryFrom<FixedU128<FracSrc>>">LosslessTryFrom<FixedU128<FracSrc>></a></li><li><a href="#impl-LosslessTryFrom%3CFixedU16%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" title="LosslessTryFrom<FixedU16<FracSrc>>">LosslessTryFrom<FixedU16<FracSrc>></a></li><li><a href="#impl-LosslessTryFrom%3CFixedU32%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" title="LosslessTryFrom<FixedU32<FracSrc>>">LosslessTryFrom<FixedU32<FracSrc>></a></li><li><a href="#impl-LosslessTryFrom%3CFixedU64%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" title="LosslessTryFrom<FixedU64<FracSrc>>">LosslessTryFrom<FixedU64<FracSrc>></a></li><li><a href="#impl-LosslessTryFrom%3CFixedU8%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" title="LosslessTryFrom<FixedU8<FracSrc>>">LosslessTryFrom<FixedU8<FracSrc>></a></li><li><a href="#impl-LosslessTryFrom%3Cbool%3E-for-FixedI32%3CFrac%3E" title="LosslessTryFrom<bool>">LosslessTryFrom<bool></a></li><li><a href="#impl-LosslessTryFrom%3Cf16%3E-for-FixedI32%3CFrac%3E" title="LosslessTryFrom<f16>">LosslessTryFrom<f16></a></li><li><a href="#impl-LosslessTryFrom%3Ci128%3E-for-FixedI32%3CFrac%3E" title="LosslessTryFrom<i128>">LosslessTryFrom<i128></a></li><li><a href="#impl-LosslessTryFrom%3Ci16%3E-for-FixedI32%3CFrac%3E" title="LosslessTryFrom<i16>">LosslessTryFrom<i16></a></li><li><a href="#impl-LosslessTryFrom%3Ci32%3E-for-FixedI32%3CFrac%3E" title="LosslessTryFrom<i32>">LosslessTryFrom<i32></a></li><li><a href="#impl-LosslessTryFrom%3Ci64%3E-for-FixedI32%3CFrac%3E" title="LosslessTryFrom<i64>">LosslessTryFrom<i64></a></li><li><a href="#impl-LosslessTryFrom%3Ci8%3E-for-FixedI32%3CFrac%3E" title="LosslessTryFrom<i8>">LosslessTryFrom<i8></a></li><li><a href="#impl-LosslessTryFrom%3Cisize%3E-for-FixedI32%3CFrac%3E" title="LosslessTryFrom<isize>">LosslessTryFrom<isize></a></li><li><a href="#impl-LosslessTryFrom%3Cu128%3E-for-FixedI32%3CFrac%3E" title="LosslessTryFrom<u128>">LosslessTryFrom<u128></a></li><li><a href="#impl-LosslessTryFrom%3Cu16%3E-for-FixedI32%3CFrac%3E" title="LosslessTryFrom<u16>">LosslessTryFrom<u16></a></li><li><a href="#impl-LosslessTryFrom%3Cu32%3E-for-FixedI32%3CFrac%3E" title="LosslessTryFrom<u32>">LosslessTryFrom<u32></a></li><li><a href="#impl-LosslessTryFrom%3Cu64%3E-for-FixedI32%3CFrac%3E" title="LosslessTryFrom<u64>">LosslessTryFrom<u64></a></li><li><a href="#impl-LosslessTryFrom%3Cu8%3E-for-FixedI32%3CFrac%3E" title="LosslessTryFrom<u8>">LosslessTryFrom<u8></a></li><li><a href="#impl-LosslessTryFrom%3Cusize%3E-for-FixedI32%3CFrac%3E" title="LosslessTryFrom<usize>">LosslessTryFrom<usize></a></li><li><a href="#impl-LossyFrom%3CFixedI128%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" title="LossyFrom<FixedI128<FracSrc>>">LossyFrom<FixedI128<FracSrc>></a></li><li><a href="#impl-LossyFrom%3CFixedI16%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" title="LossyFrom<FixedI16<FracSrc>>">LossyFrom<FixedI16<FracSrc>></a></li><li><a href="#impl-LossyFrom%3CFixedI32%3CFrac%3E%3E-for-F128" title="LossyFrom<FixedI32<Frac>>">LossyFrom<FixedI32<Frac>></a></li><li><a href="#impl-LossyFrom%3CFixedI32%3CFrac%3E%3E-for-F128Bits" title="LossyFrom<FixedI32<Frac>>">LossyFrom<FixedI32<Frac>></a></li><li><a href="#impl-LossyFrom%3CFixedI32%3CFrac%3E%3E-for-bf16" title="LossyFrom<FixedI32<Frac>>">LossyFrom<FixedI32<Frac>></a></li><li><a href="#impl-LossyFrom%3CFixedI32%3CFrac%3E%3E-for-f16" title="LossyFrom<FixedI32<Frac>>">LossyFrom<FixedI32<Frac>></a></li><li><a href="#impl-LossyFrom%3CFixedI32%3CFrac%3E%3E-for-f32" title="LossyFrom<FixedI32<Frac>>">LossyFrom<FixedI32<Frac>></a></li><li><a href="#impl-LossyFrom%3CFixedI32%3CFrac%3E%3E-for-f64" title="LossyFrom<FixedI32<Frac>>">LossyFrom<FixedI32<Frac>></a></li><li><a href="#impl-LossyFrom%3CFixedI32%3CFracSrc%3E%3E-for-FixedI128%3CFracDst%3E" title="LossyFrom<FixedI32<FracSrc>>">LossyFrom<FixedI32<FracSrc>></a></li><li><a href="#impl-LossyFrom%3CFixedI32%3CFracSrc%3E%3E-for-FixedI16%3CFracDst%3E" title="LossyFrom<FixedI32<FracSrc>>">LossyFrom<FixedI32<FracSrc>></a></li><li><a href="#impl-LossyFrom%3CFixedI32%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" title="LossyFrom<FixedI32<FracSrc>>">LossyFrom<FixedI32<FracSrc>></a></li><li><a href="#impl-LossyFrom%3CFixedI32%3CFracSrc%3E%3E-for-FixedI64%3CFracDst%3E" title="LossyFrom<FixedI32<FracSrc>>">LossyFrom<FixedI32<FracSrc>></a></li><li><a href="#impl-LossyFrom%3CFixedI32%3CFracSrc%3E%3E-for-FixedI8%3CFracDst%3E" title="LossyFrom<FixedI32<FracSrc>>">LossyFrom<FixedI32<FracSrc>></a></li><li><a href="#impl-LossyFrom%3CFixedI32%3CFracSrc%3E%3E-for-i128" title="LossyFrom<FixedI32<FracSrc>>">LossyFrom<FixedI32<FracSrc>></a></li><li><a href="#impl-LossyFrom%3CFixedI32%3CFracSrc%3E%3E-for-i16" title="LossyFrom<FixedI32<FracSrc>>">LossyFrom<FixedI32<FracSrc>></a></li><li><a href="#impl-LossyFrom%3CFixedI32%3CFracSrc%3E%3E-for-i32" title="LossyFrom<FixedI32<FracSrc>>">LossyFrom<FixedI32<FracSrc>></a></li><li><a href="#impl-LossyFrom%3CFixedI32%3CFracSrc%3E%3E-for-i64" title="LossyFrom<FixedI32<FracSrc>>">LossyFrom<FixedI32<FracSrc>></a></li><li><a href="#impl-LossyFrom%3CFixedI32%3CFracSrc%3E%3E-for-i8" title="LossyFrom<FixedI32<FracSrc>>">LossyFrom<FixedI32<FracSrc>></a></li><li><a href="#impl-LossyFrom%3CFixedI32%3CFracSrc%3E%3E-for-isize" title="LossyFrom<FixedI32<FracSrc>>">LossyFrom<FixedI32<FracSrc>></a></li><li><a href="#impl-LossyFrom%3CFixedI64%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" title="LossyFrom<FixedI64<FracSrc>>">LossyFrom<FixedI64<FracSrc>></a></li><li><a href="#impl-LossyFrom%3CFixedI8%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" title="LossyFrom<FixedI8<FracSrc>>">LossyFrom<FixedI8<FracSrc>></a></li><li><a href="#impl-LossyFrom%3CFixedU128%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" title="LossyFrom<FixedU128<FracSrc>>">LossyFrom<FixedU128<FracSrc>></a></li><li><a href="#impl-LossyFrom%3CFixedU16%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" title="LossyFrom<FixedU16<FracSrc>>">LossyFrom<FixedU16<FracSrc>></a></li><li><a href="#impl-LossyFrom%3CFixedU32%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" title="LossyFrom<FixedU32<FracSrc>>">LossyFrom<FixedU32<FracSrc>></a></li><li><a href="#impl-LossyFrom%3CFixedU64%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" title="LossyFrom<FixedU64<FracSrc>>">LossyFrom<FixedU64<FracSrc>></a></li><li><a href="#impl-LossyFrom%3CFixedU8%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" title="LossyFrom<FixedU8<FracSrc>>">LossyFrom<FixedU8<FracSrc>></a></li><li><a href="#impl-LossyFrom%3Cbool%3E-for-FixedI32%3CFracDst%3E" title="LossyFrom<bool>">LossyFrom<bool></a></li><li><a href="#impl-LossyFrom%3Ci16%3E-for-FixedI32%3CFracDst%3E" title="LossyFrom<i16>">LossyFrom<i16></a></li><li><a href="#impl-LossyFrom%3Ci32%3E-for-FixedI32%3CUTerm%3E" title="LossyFrom<i32>">LossyFrom<i32></a></li><li><a href="#impl-LossyFrom%3Ci8%3E-for-FixedI32%3CFracDst%3E" title="LossyFrom<i8>">LossyFrom<i8></a></li><li><a href="#impl-LossyFrom%3Cu16%3E-for-FixedI32%3CFracDst%3E" title="LossyFrom<u16>">LossyFrom<u16></a></li><li><a href="#impl-LossyFrom%3Cu8%3E-for-FixedI32%3CFracDst%3E" title="LossyFrom<u8>">LossyFrom<u8></a></li><li><a href="#impl-LowerExp-for-FixedI32%3CFrac%3E" title="LowerExp">LowerExp</a></li><li><a href="#impl-LowerHex-for-FixedI32%3CFrac%3E" title="LowerHex">LowerHex</a></li><li><a href="#impl-Mul-for-FixedI32%3CFrac%3E" title="Mul">Mul</a></li><li><a href="#impl-Mul%3C%26FixedI32%3CFrac%3E%3E-for-%26FixedI32%3CFrac%3E" title="Mul<&FixedI32<Frac>>">Mul<&FixedI32<Frac>></a></li><li><a href="#impl-Mul%3C%26FixedI32%3CFrac%3E%3E-for-%26i32" title="Mul<&FixedI32<Frac>>">Mul<&FixedI32<Frac>></a></li><li><a href="#impl-Mul%3C%26FixedI32%3CFrac%3E%3E-for-FixedI32%3CFrac%3E" title="Mul<&FixedI32<Frac>>">Mul<&FixedI32<Frac>></a></li><li><a href="#impl-Mul%3C%26FixedI32%3CFrac%3E%3E-for-i32" title="Mul<&FixedI32<Frac>>">Mul<&FixedI32<Frac>></a></li><li><a href="#impl-Mul%3C%26i32%3E-for-%26FixedI32%3CFrac%3E" title="Mul<&i32>">Mul<&i32></a></li><li><a href="#impl-Mul%3C%26i32%3E-for-FixedI32%3CFrac%3E" title="Mul<&i32>">Mul<&i32></a></li><li><a href="#impl-Mul%3CFixedI32%3CFrac%3E%3E-for-%26FixedI32%3CFrac%3E" title="Mul<FixedI32<Frac>>">Mul<FixedI32<Frac>></a></li><li><a href="#impl-Mul%3CFixedI32%3CFrac%3E%3E-for-%26i32" title="Mul<FixedI32<Frac>>">Mul<FixedI32<Frac>></a></li><li><a href="#impl-Mul%3CFixedI32%3CFrac%3E%3E-for-i32" title="Mul<FixedI32<Frac>>">Mul<FixedI32<Frac>></a></li><li><a href="#impl-Mul%3Ci32%3E-for-%26FixedI32%3CFrac%3E" title="Mul<i32>">Mul<i32></a></li><li><a href="#impl-Mul%3Ci32%3E-for-FixedI32%3CFrac%3E" title="Mul<i32>">Mul<i32></a></li><li><a href="#impl-MulAssign%3C%26FixedI32%3CRhsFrac%3E%3E-for-FixedI32%3CFrac%3E" title="MulAssign<&FixedI32<RhsFrac>>">MulAssign<&FixedI32<RhsFrac>></a></li><li><a href="#impl-MulAssign%3C%26i32%3E-for-FixedI32%3CFrac%3E" title="MulAssign<&i32>">MulAssign<&i32></a></li><li><a href="#impl-MulAssign%3CFixedI32%3CRhsFrac%3E%3E-for-FixedI32%3CFrac%3E" title="MulAssign<FixedI32<RhsFrac>>">MulAssign<FixedI32<RhsFrac>></a></li><li><a href="#impl-MulAssign%3Ci32%3E-for-FixedI32%3CFrac%3E" title="MulAssign<i32>">MulAssign<i32></a></li><li><a href="#impl-Neg-for-%26FixedI32%3CFrac%3E" title="Neg">Neg</a></li><li><a href="#impl-Neg-for-FixedI32%3CFrac%3E" title="Neg">Neg</a></li><li><a href="#impl-Not-for-%26FixedI32%3CFrac%3E" title="Not">Not</a></li><li><a href="#impl-Not-for-FixedI32%3CFrac%3E" title="Not">Not</a></li><li><a href="#impl-Octal-for-FixedI32%3CFrac%3E" title="Octal">Octal</a></li><li><a href="#impl-Ord-for-FixedI32%3CFrac%3E" title="Ord">Ord</a></li><li><a href="#impl-OverflowingCast%3CF128%3E-for-FixedI32%3CFrac%3E" title="OverflowingCast<F128>">OverflowingCast<F128></a></li><li><a href="#impl-OverflowingCast%3CF128Bits%3E-for-FixedI32%3CFrac%3E" title="OverflowingCast<F128Bits>">OverflowingCast<F128Bits></a></li><li><a href="#impl-OverflowingCast%3CFixedI128%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="OverflowingCast<FixedI128<FracDst>>">OverflowingCast<FixedI128<FracDst>></a></li><li><a href="#impl-OverflowingCast%3CFixedI16%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="OverflowingCast<FixedI16<FracDst>>">OverflowingCast<FixedI16<FracDst>></a></li><li><a href="#impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-F128" title="OverflowingCast<FixedI32<Frac>>">OverflowingCast<FixedI32<Frac>></a></li><li><a href="#impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-F128Bits" title="OverflowingCast<FixedI32<Frac>>">OverflowingCast<FixedI32<Frac>></a></li><li><a href="#impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-bf16" title="OverflowingCast<FixedI32<Frac>>">OverflowingCast<FixedI32<Frac>></a></li><li><a href="#impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-bool" title="OverflowingCast<FixedI32<Frac>>">OverflowingCast<FixedI32<Frac>></a></li><li><a href="#impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-f16" title="OverflowingCast<FixedI32<Frac>>">OverflowingCast<FixedI32<Frac>></a></li><li><a href="#impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-f32" title="OverflowingCast<FixedI32<Frac>>">OverflowingCast<FixedI32<Frac>></a></li><li><a href="#impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-f64" title="OverflowingCast<FixedI32<Frac>>">OverflowingCast<FixedI32<Frac>></a></li><li><a href="#impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-i128" title="OverflowingCast<FixedI32<Frac>>">OverflowingCast<FixedI32<Frac>></a></li><li><a href="#impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-i16" title="OverflowingCast<FixedI32<Frac>>">OverflowingCast<FixedI32<Frac>></a></li><li><a href="#impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-i32" title="OverflowingCast<FixedI32<Frac>>">OverflowingCast<FixedI32<Frac>></a></li><li><a href="#impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-i64" title="OverflowingCast<FixedI32<Frac>>">OverflowingCast<FixedI32<Frac>></a></li><li><a href="#impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-i8" title="OverflowingCast<FixedI32<Frac>>">OverflowingCast<FixedI32<Frac>></a></li><li><a href="#impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-isize" title="OverflowingCast<FixedI32<Frac>>">OverflowingCast<FixedI32<Frac>></a></li><li><a href="#impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-u128" title="OverflowingCast<FixedI32<Frac>>">OverflowingCast<FixedI32<Frac>></a></li><li><a href="#impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-u16" title="OverflowingCast<FixedI32<Frac>>">OverflowingCast<FixedI32<Frac>></a></li><li><a href="#impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-u32" title="OverflowingCast<FixedI32<Frac>>">OverflowingCast<FixedI32<Frac>></a></li><li><a href="#impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-u64" title="OverflowingCast<FixedI32<Frac>>">OverflowingCast<FixedI32<Frac>></a></li><li><a href="#impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-u8" title="OverflowingCast<FixedI32<Frac>>">OverflowingCast<FixedI32<Frac>></a></li><li><a href="#impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-usize" title="OverflowingCast<FixedI32<Frac>>">OverflowingCast<FixedI32<Frac>></a></li><li><a href="#impl-OverflowingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI128%3CFracSrc%3E" title="OverflowingCast<FixedI32<FracDst>>">OverflowingCast<FixedI32<FracDst>></a></li><li><a href="#impl-OverflowingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI16%3CFracSrc%3E" title="OverflowingCast<FixedI32<FracDst>>">OverflowingCast<FixedI32<FracDst>></a></li><li><a href="#impl-OverflowingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="OverflowingCast<FixedI32<FracDst>>">OverflowingCast<FixedI32<FracDst>></a></li><li><a href="#impl-OverflowingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI64%3CFracSrc%3E" title="OverflowingCast<FixedI32<FracDst>>">OverflowingCast<FixedI32<FracDst>></a></li><li><a href="#impl-OverflowingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI8%3CFracSrc%3E" title="OverflowingCast<FixedI32<FracDst>>">OverflowingCast<FixedI32<FracDst>></a></li><li><a href="#impl-OverflowingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU128%3CFracSrc%3E" title="OverflowingCast<FixedI32<FracDst>>">OverflowingCast<FixedI32<FracDst>></a></li><li><a href="#impl-OverflowingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU16%3CFracSrc%3E" title="OverflowingCast<FixedI32<FracDst>>">OverflowingCast<FixedI32<FracDst>></a></li><li><a href="#impl-OverflowingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU32%3CFracSrc%3E" title="OverflowingCast<FixedI32<FracDst>>">OverflowingCast<FixedI32<FracDst>></a></li><li><a href="#impl-OverflowingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU64%3CFracSrc%3E" title="OverflowingCast<FixedI32<FracDst>>">OverflowingCast<FixedI32<FracDst>></a></li><li><a href="#impl-OverflowingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU8%3CFracSrc%3E" title="OverflowingCast<FixedI32<FracDst>>">OverflowingCast<FixedI32<FracDst>></a></li><li><a href="#impl-OverflowingCast%3CFixedI64%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="OverflowingCast<FixedI64<FracDst>>">OverflowingCast<FixedI64<FracDst>></a></li><li><a href="#impl-OverflowingCast%3CFixedI8%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="OverflowingCast<FixedI8<FracDst>>">OverflowingCast<FixedI8<FracDst>></a></li><li><a href="#impl-OverflowingCast%3CFixedU128%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="OverflowingCast<FixedU128<FracDst>>">OverflowingCast<FixedU128<FracDst>></a></li><li><a href="#impl-OverflowingCast%3CFixedU16%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="OverflowingCast<FixedU16<FracDst>>">OverflowingCast<FixedU16<FracDst>></a></li><li><a href="#impl-OverflowingCast%3CFixedU32%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="OverflowingCast<FixedU32<FracDst>>">OverflowingCast<FixedU32<FracDst>></a></li><li><a href="#impl-OverflowingCast%3CFixedU64%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="OverflowingCast<FixedU64<FracDst>>">OverflowingCast<FixedU64<FracDst>></a></li><li><a href="#impl-OverflowingCast%3CFixedU8%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="OverflowingCast<FixedU8<FracDst>>">OverflowingCast<FixedU8<FracDst>></a></li><li><a href="#impl-OverflowingCast%3Cbf16%3E-for-FixedI32%3CFrac%3E" title="OverflowingCast<bf16>">OverflowingCast<bf16></a></li><li><a href="#impl-OverflowingCast%3Cf16%3E-for-FixedI32%3CFrac%3E" title="OverflowingCast<f16>">OverflowingCast<f16></a></li><li><a href="#impl-OverflowingCast%3Cf32%3E-for-FixedI32%3CFrac%3E" title="OverflowingCast<f32>">OverflowingCast<f32></a></li><li><a href="#impl-OverflowingCast%3Cf64%3E-for-FixedI32%3CFrac%3E" title="OverflowingCast<f64>">OverflowingCast<f64></a></li><li><a href="#impl-OverflowingCast%3Ci128%3E-for-FixedI32%3CFrac%3E" title="OverflowingCast<i128>">OverflowingCast<i128></a></li><li><a href="#impl-OverflowingCast%3Ci16%3E-for-FixedI32%3CFrac%3E" title="OverflowingCast<i16>">OverflowingCast<i16></a></li><li><a href="#impl-OverflowingCast%3Ci32%3E-for-FixedI32%3CFrac%3E" title="OverflowingCast<i32>">OverflowingCast<i32></a></li><li><a href="#impl-OverflowingCast%3Ci64%3E-for-FixedI32%3CFrac%3E" title="OverflowingCast<i64>">OverflowingCast<i64></a></li><li><a href="#impl-OverflowingCast%3Ci8%3E-for-FixedI32%3CFrac%3E" title="OverflowingCast<i8>">OverflowingCast<i8></a></li><li><a href="#impl-OverflowingCast%3Cisize%3E-for-FixedI32%3CFrac%3E" title="OverflowingCast<isize>">OverflowingCast<isize></a></li><li><a href="#impl-OverflowingCast%3Cu128%3E-for-FixedI32%3CFrac%3E" title="OverflowingCast<u128>">OverflowingCast<u128></a></li><li><a href="#impl-OverflowingCast%3Cu16%3E-for-FixedI32%3CFrac%3E" title="OverflowingCast<u16>">OverflowingCast<u16></a></li><li><a href="#impl-OverflowingCast%3Cu32%3E-for-FixedI32%3CFrac%3E" title="OverflowingCast<u32>">OverflowingCast<u32></a></li><li><a href="#impl-OverflowingCast%3Cu64%3E-for-FixedI32%3CFrac%3E" title="OverflowingCast<u64>">OverflowingCast<u64></a></li><li><a href="#impl-OverflowingCast%3Cu8%3E-for-FixedI32%3CFrac%3E" title="OverflowingCast<u8>">OverflowingCast<u8></a></li><li><a href="#impl-OverflowingCast%3Cusize%3E-for-FixedI32%3CFrac%3E" title="OverflowingCast<usize>">OverflowingCast<usize></a></li><li><a href="#impl-PartialEq%3CF128%3E-for-FixedI32%3CFrac%3E" title="PartialEq<F128>">PartialEq<F128></a></li><li><a href="#impl-PartialEq%3CF128Bits%3E-for-FixedI32%3CFrac%3E" title="PartialEq<F128Bits>">PartialEq<F128Bits></a></li><li><a href="#impl-PartialEq%3CFixedI128%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" title="PartialEq<FixedI128<FracRhs>>">PartialEq<FixedI128<FracRhs>></a></li><li><a href="#impl-PartialEq%3CFixedI16%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" title="PartialEq<FixedI16<FracRhs>>">PartialEq<FixedI16<FracRhs>></a></li><li><a href="#impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-F128" title="PartialEq<FixedI32<Frac>>">PartialEq<FixedI32<Frac>></a></li><li><a href="#impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-F128Bits" title="PartialEq<FixedI32<Frac>>">PartialEq<FixedI32<Frac>></a></li><li><a href="#impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-bf16" title="PartialEq<FixedI32<Frac>>">PartialEq<FixedI32<Frac>></a></li><li><a href="#impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-f16" title="PartialEq<FixedI32<Frac>>">PartialEq<FixedI32<Frac>></a></li><li><a href="#impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-f32" title="PartialEq<FixedI32<Frac>>">PartialEq<FixedI32<Frac>></a></li><li><a href="#impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-f64" title="PartialEq<FixedI32<Frac>>">PartialEq<FixedI32<Frac>></a></li><li><a href="#impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-i128" title="PartialEq<FixedI32<Frac>>">PartialEq<FixedI32<Frac>></a></li><li><a href="#impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-i16" title="PartialEq<FixedI32<Frac>>">PartialEq<FixedI32<Frac>></a></li><li><a href="#impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-i32" title="PartialEq<FixedI32<Frac>>">PartialEq<FixedI32<Frac>></a></li><li><a href="#impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-i64" title="PartialEq<FixedI32<Frac>>">PartialEq<FixedI32<Frac>></a></li><li><a href="#impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-i8" title="PartialEq<FixedI32<Frac>>">PartialEq<FixedI32<Frac>></a></li><li><a href="#impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-isize" title="PartialEq<FixedI32<Frac>>">PartialEq<FixedI32<Frac>></a></li><li><a href="#impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-u128" title="PartialEq<FixedI32<Frac>>">PartialEq<FixedI32<Frac>></a></li><li><a href="#impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-u16" title="PartialEq<FixedI32<Frac>>">PartialEq<FixedI32<Frac>></a></li><li><a href="#impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-u32" title="PartialEq<FixedI32<Frac>>">PartialEq<FixedI32<Frac>></a></li><li><a href="#impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-u64" title="PartialEq<FixedI32<Frac>>">PartialEq<FixedI32<Frac>></a></li><li><a href="#impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-u8" title="PartialEq<FixedI32<Frac>>">PartialEq<FixedI32<Frac>></a></li><li><a href="#impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-usize" title="PartialEq<FixedI32<Frac>>">PartialEq<FixedI32<Frac>></a></li><li><a href="#impl-PartialEq%3CFixedI32%3CFracRhs%3E%3E-for-FixedI128%3CFracLhs%3E" title="PartialEq<FixedI32<FracRhs>>">PartialEq<FixedI32<FracRhs>></a></li><li><a href="#impl-PartialEq%3CFixedI32%3CFracRhs%3E%3E-for-FixedI16%3CFracLhs%3E" title="PartialEq<FixedI32<FracRhs>>">PartialEq<FixedI32<FracRhs>></a></li><li><a href="#impl-PartialEq%3CFixedI32%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" title="PartialEq<FixedI32<FracRhs>>">PartialEq<FixedI32<FracRhs>></a></li><li><a href="#impl-PartialEq%3CFixedI32%3CFracRhs%3E%3E-for-FixedI64%3CFracLhs%3E" title="PartialEq<FixedI32<FracRhs>>">PartialEq<FixedI32<FracRhs>></a></li><li><a href="#impl-PartialEq%3CFixedI32%3CFracRhs%3E%3E-for-FixedI8%3CFracLhs%3E" title="PartialEq<FixedI32<FracRhs>>">PartialEq<FixedI32<FracRhs>></a></li><li><a href="#impl-PartialEq%3CFixedI32%3CFracRhs%3E%3E-for-FixedU128%3CFracLhs%3E" title="PartialEq<FixedI32<FracRhs>>">PartialEq<FixedI32<FracRhs>></a></li><li><a href="#impl-PartialEq%3CFixedI32%3CFracRhs%3E%3E-for-FixedU16%3CFracLhs%3E" title="PartialEq<FixedI32<FracRhs>>">PartialEq<FixedI32<FracRhs>></a></li><li><a href="#impl-PartialEq%3CFixedI32%3CFracRhs%3E%3E-for-FixedU32%3CFracLhs%3E" title="PartialEq<FixedI32<FracRhs>>">PartialEq<FixedI32<FracRhs>></a></li><li><a href="#impl-PartialEq%3CFixedI32%3CFracRhs%3E%3E-for-FixedU64%3CFracLhs%3E" title="PartialEq<FixedI32<FracRhs>>">PartialEq<FixedI32<FracRhs>></a></li><li><a href="#impl-PartialEq%3CFixedI32%3CFracRhs%3E%3E-for-FixedU8%3CFracLhs%3E" title="PartialEq<FixedI32<FracRhs>>">PartialEq<FixedI32<FracRhs>></a></li><li><a href="#impl-PartialEq%3CFixedI64%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" title="PartialEq<FixedI64<FracRhs>>">PartialEq<FixedI64<FracRhs>></a></li><li><a href="#impl-PartialEq%3CFixedI8%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" title="PartialEq<FixedI8<FracRhs>>">PartialEq<FixedI8<FracRhs>></a></li><li><a href="#impl-PartialEq%3CFixedU128%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" title="PartialEq<FixedU128<FracRhs>>">PartialEq<FixedU128<FracRhs>></a></li><li><a href="#impl-PartialEq%3CFixedU16%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" title="PartialEq<FixedU16<FracRhs>>">PartialEq<FixedU16<FracRhs>></a></li><li><a href="#impl-PartialEq%3CFixedU32%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" title="PartialEq<FixedU32<FracRhs>>">PartialEq<FixedU32<FracRhs>></a></li><li><a href="#impl-PartialEq%3CFixedU64%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" title="PartialEq<FixedU64<FracRhs>>">PartialEq<FixedU64<FracRhs>></a></li><li><a href="#impl-PartialEq%3CFixedU8%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" title="PartialEq<FixedU8<FracRhs>>">PartialEq<FixedU8<FracRhs>></a></li><li><a href="#impl-PartialEq%3Cbf16%3E-for-FixedI32%3CFrac%3E" title="PartialEq<bf16>">PartialEq<bf16></a></li><li><a href="#impl-PartialEq%3Cf16%3E-for-FixedI32%3CFrac%3E" title="PartialEq<f16>">PartialEq<f16></a></li><li><a href="#impl-PartialEq%3Cf32%3E-for-FixedI32%3CFrac%3E" title="PartialEq<f32>">PartialEq<f32></a></li><li><a href="#impl-PartialEq%3Cf64%3E-for-FixedI32%3CFrac%3E" title="PartialEq<f64>">PartialEq<f64></a></li><li><a href="#impl-PartialEq%3Ci128%3E-for-FixedI32%3CFrac%3E" title="PartialEq<i128>">PartialEq<i128></a></li><li><a href="#impl-PartialEq%3Ci16%3E-for-FixedI32%3CFrac%3E" title="PartialEq<i16>">PartialEq<i16></a></li><li><a href="#impl-PartialEq%3Ci32%3E-for-FixedI32%3CFrac%3E" title="PartialEq<i32>">PartialEq<i32></a></li><li><a href="#impl-PartialEq%3Ci64%3E-for-FixedI32%3CFrac%3E" title="PartialEq<i64>">PartialEq<i64></a></li><li><a href="#impl-PartialEq%3Ci8%3E-for-FixedI32%3CFrac%3E" title="PartialEq<i8>">PartialEq<i8></a></li><li><a href="#impl-PartialEq%3Cisize%3E-for-FixedI32%3CFrac%3E" title="PartialEq<isize>">PartialEq<isize></a></li><li><a href="#impl-PartialEq%3Cu128%3E-for-FixedI32%3CFrac%3E" title="PartialEq<u128>">PartialEq<u128></a></li><li><a href="#impl-PartialEq%3Cu16%3E-for-FixedI32%3CFrac%3E" title="PartialEq<u16>">PartialEq<u16></a></li><li><a href="#impl-PartialEq%3Cu32%3E-for-FixedI32%3CFrac%3E" title="PartialEq<u32>">PartialEq<u32></a></li><li><a href="#impl-PartialEq%3Cu64%3E-for-FixedI32%3CFrac%3E" title="PartialEq<u64>">PartialEq<u64></a></li><li><a href="#impl-PartialEq%3Cu8%3E-for-FixedI32%3CFrac%3E" title="PartialEq<u8>">PartialEq<u8></a></li><li><a href="#impl-PartialEq%3Cusize%3E-for-FixedI32%3CFrac%3E" title="PartialEq<usize>">PartialEq<usize></a></li><li><a href="#impl-PartialOrd%3CF128%3E-for-FixedI32%3CFrac%3E" title="PartialOrd<F128>">PartialOrd<F128></a></li><li><a href="#impl-PartialOrd%3CF128Bits%3E-for-FixedI32%3CFrac%3E" title="PartialOrd<F128Bits>">PartialOrd<F128Bits></a></li><li><a href="#impl-PartialOrd%3CFixedI128%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" title="PartialOrd<FixedI128<FracRhs>>">PartialOrd<FixedI128<FracRhs>></a></li><li><a href="#impl-PartialOrd%3CFixedI16%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" title="PartialOrd<FixedI16<FracRhs>>">PartialOrd<FixedI16<FracRhs>></a></li><li><a href="#impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-F128" title="PartialOrd<FixedI32<Frac>>">PartialOrd<FixedI32<Frac>></a></li><li><a href="#impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-F128Bits" title="PartialOrd<FixedI32<Frac>>">PartialOrd<FixedI32<Frac>></a></li><li><a href="#impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-bf16" title="PartialOrd<FixedI32<Frac>>">PartialOrd<FixedI32<Frac>></a></li><li><a href="#impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-f16" title="PartialOrd<FixedI32<Frac>>">PartialOrd<FixedI32<Frac>></a></li><li><a href="#impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-f32" title="PartialOrd<FixedI32<Frac>>">PartialOrd<FixedI32<Frac>></a></li><li><a href="#impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-f64" title="PartialOrd<FixedI32<Frac>>">PartialOrd<FixedI32<Frac>></a></li><li><a href="#impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-i128" title="PartialOrd<FixedI32<Frac>>">PartialOrd<FixedI32<Frac>></a></li><li><a href="#impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-i16" title="PartialOrd<FixedI32<Frac>>">PartialOrd<FixedI32<Frac>></a></li><li><a href="#impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-i32" title="PartialOrd<FixedI32<Frac>>">PartialOrd<FixedI32<Frac>></a></li><li><a href="#impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-i64" title="PartialOrd<FixedI32<Frac>>">PartialOrd<FixedI32<Frac>></a></li><li><a href="#impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-i8" title="PartialOrd<FixedI32<Frac>>">PartialOrd<FixedI32<Frac>></a></li><li><a href="#impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-isize" title="PartialOrd<FixedI32<Frac>>">PartialOrd<FixedI32<Frac>></a></li><li><a href="#impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-u128" title="PartialOrd<FixedI32<Frac>>">PartialOrd<FixedI32<Frac>></a></li><li><a href="#impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-u16" title="PartialOrd<FixedI32<Frac>>">PartialOrd<FixedI32<Frac>></a></li><li><a href="#impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-u32" title="PartialOrd<FixedI32<Frac>>">PartialOrd<FixedI32<Frac>></a></li><li><a href="#impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-u64" title="PartialOrd<FixedI32<Frac>>">PartialOrd<FixedI32<Frac>></a></li><li><a href="#impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-u8" title="PartialOrd<FixedI32<Frac>>">PartialOrd<FixedI32<Frac>></a></li><li><a href="#impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-usize" title="PartialOrd<FixedI32<Frac>>">PartialOrd<FixedI32<Frac>></a></li><li><a href="#impl-PartialOrd%3CFixedI32%3CFracRhs%3E%3E-for-FixedI128%3CFracLhs%3E" title="PartialOrd<FixedI32<FracRhs>>">PartialOrd<FixedI32<FracRhs>></a></li><li><a href="#impl-PartialOrd%3CFixedI32%3CFracRhs%3E%3E-for-FixedI16%3CFracLhs%3E" title="PartialOrd<FixedI32<FracRhs>>">PartialOrd<FixedI32<FracRhs>></a></li><li><a href="#impl-PartialOrd%3CFixedI32%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" title="PartialOrd<FixedI32<FracRhs>>">PartialOrd<FixedI32<FracRhs>></a></li><li><a href="#impl-PartialOrd%3CFixedI32%3CFracRhs%3E%3E-for-FixedI64%3CFracLhs%3E" title="PartialOrd<FixedI32<FracRhs>>">PartialOrd<FixedI32<FracRhs>></a></li><li><a href="#impl-PartialOrd%3CFixedI32%3CFracRhs%3E%3E-for-FixedI8%3CFracLhs%3E" title="PartialOrd<FixedI32<FracRhs>>">PartialOrd<FixedI32<FracRhs>></a></li><li><a href="#impl-PartialOrd%3CFixedI32%3CFracRhs%3E%3E-for-FixedU128%3CFracLhs%3E" title="PartialOrd<FixedI32<FracRhs>>">PartialOrd<FixedI32<FracRhs>></a></li><li><a href="#impl-PartialOrd%3CFixedI32%3CFracRhs%3E%3E-for-FixedU16%3CFracLhs%3E" title="PartialOrd<FixedI32<FracRhs>>">PartialOrd<FixedI32<FracRhs>></a></li><li><a href="#impl-PartialOrd%3CFixedI32%3CFracRhs%3E%3E-for-FixedU32%3CFracLhs%3E" title="PartialOrd<FixedI32<FracRhs>>">PartialOrd<FixedI32<FracRhs>></a></li><li><a href="#impl-PartialOrd%3CFixedI32%3CFracRhs%3E%3E-for-FixedU64%3CFracLhs%3E" title="PartialOrd<FixedI32<FracRhs>>">PartialOrd<FixedI32<FracRhs>></a></li><li><a href="#impl-PartialOrd%3CFixedI32%3CFracRhs%3E%3E-for-FixedU8%3CFracLhs%3E" title="PartialOrd<FixedI32<FracRhs>>">PartialOrd<FixedI32<FracRhs>></a></li><li><a href="#impl-PartialOrd%3CFixedI64%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" title="PartialOrd<FixedI64<FracRhs>>">PartialOrd<FixedI64<FracRhs>></a></li><li><a href="#impl-PartialOrd%3CFixedI8%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" title="PartialOrd<FixedI8<FracRhs>>">PartialOrd<FixedI8<FracRhs>></a></li><li><a href="#impl-PartialOrd%3CFixedU128%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" title="PartialOrd<FixedU128<FracRhs>>">PartialOrd<FixedU128<FracRhs>></a></li><li><a href="#impl-PartialOrd%3CFixedU16%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" title="PartialOrd<FixedU16<FracRhs>>">PartialOrd<FixedU16<FracRhs>></a></li><li><a href="#impl-PartialOrd%3CFixedU32%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" title="PartialOrd<FixedU32<FracRhs>>">PartialOrd<FixedU32<FracRhs>></a></li><li><a href="#impl-PartialOrd%3CFixedU64%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" title="PartialOrd<FixedU64<FracRhs>>">PartialOrd<FixedU64<FracRhs>></a></li><li><a href="#impl-PartialOrd%3CFixedU8%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" title="PartialOrd<FixedU8<FracRhs>>">PartialOrd<FixedU8<FracRhs>></a></li><li><a href="#impl-PartialOrd%3Cbf16%3E-for-FixedI32%3CFrac%3E" title="PartialOrd<bf16>">PartialOrd<bf16></a></li><li><a href="#impl-PartialOrd%3Cf16%3E-for-FixedI32%3CFrac%3E" title="PartialOrd<f16>">PartialOrd<f16></a></li><li><a href="#impl-PartialOrd%3Cf32%3E-for-FixedI32%3CFrac%3E" title="PartialOrd<f32>">PartialOrd<f32></a></li><li><a href="#impl-PartialOrd%3Cf64%3E-for-FixedI32%3CFrac%3E" title="PartialOrd<f64>">PartialOrd<f64></a></li><li><a href="#impl-PartialOrd%3Ci128%3E-for-FixedI32%3CFrac%3E" title="PartialOrd<i128>">PartialOrd<i128></a></li><li><a href="#impl-PartialOrd%3Ci16%3E-for-FixedI32%3CFrac%3E" title="PartialOrd<i16>">PartialOrd<i16></a></li><li><a href="#impl-PartialOrd%3Ci32%3E-for-FixedI32%3CFrac%3E" title="PartialOrd<i32>">PartialOrd<i32></a></li><li><a href="#impl-PartialOrd%3Ci64%3E-for-FixedI32%3CFrac%3E" title="PartialOrd<i64>">PartialOrd<i64></a></li><li><a href="#impl-PartialOrd%3Ci8%3E-for-FixedI32%3CFrac%3E" title="PartialOrd<i8>">PartialOrd<i8></a></li><li><a href="#impl-PartialOrd%3Cisize%3E-for-FixedI32%3CFrac%3E" title="PartialOrd<isize>">PartialOrd<isize></a></li><li><a href="#impl-PartialOrd%3Cu128%3E-for-FixedI32%3CFrac%3E" title="PartialOrd<u128>">PartialOrd<u128></a></li><li><a href="#impl-PartialOrd%3Cu16%3E-for-FixedI32%3CFrac%3E" title="PartialOrd<u16>">PartialOrd<u16></a></li><li><a href="#impl-PartialOrd%3Cu32%3E-for-FixedI32%3CFrac%3E" title="PartialOrd<u32>">PartialOrd<u32></a></li><li><a href="#impl-PartialOrd%3Cu64%3E-for-FixedI32%3CFrac%3E" title="PartialOrd<u64>">PartialOrd<u64></a></li><li><a href="#impl-PartialOrd%3Cu8%3E-for-FixedI32%3CFrac%3E" title="PartialOrd<u8>">PartialOrd<u8></a></li><li><a href="#impl-PartialOrd%3Cusize%3E-for-FixedI32%3CFrac%3E" title="PartialOrd<usize>">PartialOrd<usize></a></li><li><a href="#impl-Pod-for-FixedI32%3CFrac%3E" title="Pod">Pod</a></li><li><a href="#impl-Product-for-FixedI32%3CFrac%3E" title="Product">Product</a></li><li><a href="#impl-Product%3C%26FixedI32%3CFrac%3E%3E-for-FixedI32%3CFrac%3E" title="Product<&'a FixedI32<Frac>>">Product<&'a FixedI32<Frac>></a></li><li><a href="#impl-Rem-for-FixedI32%3CFrac%3E" title="Rem">Rem</a></li><li><a href="#impl-Rem%3C%26FixedI32%3CFrac%3E%3E-for-%26FixedI32%3CFrac%3E" title="Rem<&FixedI32<Frac>>">Rem<&FixedI32<Frac>></a></li><li><a href="#impl-Rem%3C%26FixedI32%3CFrac%3E%3E-for-FixedI32%3CFrac%3E" title="Rem<&FixedI32<Frac>>">Rem<&FixedI32<Frac>></a></li><li><a href="#impl-Rem%3C%26NonZero%3Ci32%3E%3E-for-%26FixedI32%3CFrac%3E" title="Rem<&NonZero<i32>>">Rem<&NonZero<i32>></a></li><li><a href="#impl-Rem%3C%26NonZero%3Ci32%3E%3E-for-FixedI32%3CFrac%3E" title="Rem<&NonZero<i32>>">Rem<&NonZero<i32>></a></li><li><a href="#impl-Rem%3C%26i32%3E-for-%26FixedI32%3CFrac%3E" title="Rem<&i32>">Rem<&i32></a></li><li><a href="#impl-Rem%3C%26i32%3E-for-FixedI32%3CFrac%3E" title="Rem<&i32>">Rem<&i32></a></li><li><a href="#impl-Rem%3CFixedI32%3CFrac%3E%3E-for-%26FixedI32%3CFrac%3E" title="Rem<FixedI32<Frac>>">Rem<FixedI32<Frac>></a></li><li><a href="#impl-Rem%3CNonZero%3Ci32%3E%3E-for-%26FixedI32%3CFrac%3E" title="Rem<NonZero<i32>>">Rem<NonZero<i32>></a></li><li><a href="#impl-Rem%3CNonZero%3Ci32%3E%3E-for-FixedI32%3CFrac%3E" title="Rem<NonZero<i32>>">Rem<NonZero<i32>></a></li><li><a href="#impl-Rem%3Ci32%3E-for-%26FixedI32%3CFrac%3E" title="Rem<i32>">Rem<i32></a></li><li><a href="#impl-Rem%3Ci32%3E-for-FixedI32%3CFrac%3E" title="Rem<i32>">Rem<i32></a></li><li><a href="#impl-RemAssign-for-FixedI32%3CFrac%3E" title="RemAssign">RemAssign</a></li><li><a href="#impl-RemAssign%3C%26FixedI32%3CFrac%3E%3E-for-FixedI32%3CFrac%3E" title="RemAssign<&FixedI32<Frac>>">RemAssign<&FixedI32<Frac>></a></li><li><a href="#impl-RemAssign%3C%26NonZero%3Ci32%3E%3E-for-FixedI32%3CFrac%3E" title="RemAssign<&NonZero<i32>>">RemAssign<&NonZero<i32>></a></li><li><a href="#impl-RemAssign%3C%26i32%3E-for-FixedI32%3CFrac%3E" title="RemAssign<&i32>">RemAssign<&i32></a></li><li><a href="#impl-RemAssign%3CNonZero%3Ci32%3E%3E-for-FixedI32%3CFrac%3E" title="RemAssign<NonZero<i32>>">RemAssign<NonZero<i32>></a></li><li><a href="#impl-RemAssign%3Ci32%3E-for-FixedI32%3CFrac%3E" title="RemAssign<i32>">RemAssign<i32></a></li><li><a href="#impl-SaturatingCast%3CF128%3E-for-FixedI32%3CFrac%3E" title="SaturatingCast<F128>">SaturatingCast<F128></a></li><li><a href="#impl-SaturatingCast%3CF128Bits%3E-for-FixedI32%3CFrac%3E" title="SaturatingCast<F128Bits>">SaturatingCast<F128Bits></a></li><li><a href="#impl-SaturatingCast%3CFixedI128%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="SaturatingCast<FixedI128<FracDst>>">SaturatingCast<FixedI128<FracDst>></a></li><li><a href="#impl-SaturatingCast%3CFixedI16%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="SaturatingCast<FixedI16<FracDst>>">SaturatingCast<FixedI16<FracDst>></a></li><li><a href="#impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-F128" title="SaturatingCast<FixedI32<Frac>>">SaturatingCast<FixedI32<Frac>></a></li><li><a href="#impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-F128Bits" title="SaturatingCast<FixedI32<Frac>>">SaturatingCast<FixedI32<Frac>></a></li><li><a href="#impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-bf16" title="SaturatingCast<FixedI32<Frac>>">SaturatingCast<FixedI32<Frac>></a></li><li><a href="#impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-bool" title="SaturatingCast<FixedI32<Frac>>">SaturatingCast<FixedI32<Frac>></a></li><li><a href="#impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-f16" title="SaturatingCast<FixedI32<Frac>>">SaturatingCast<FixedI32<Frac>></a></li><li><a href="#impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-f32" title="SaturatingCast<FixedI32<Frac>>">SaturatingCast<FixedI32<Frac>></a></li><li><a href="#impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-f64" title="SaturatingCast<FixedI32<Frac>>">SaturatingCast<FixedI32<Frac>></a></li><li><a href="#impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-i128" title="SaturatingCast<FixedI32<Frac>>">SaturatingCast<FixedI32<Frac>></a></li><li><a href="#impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-i16" title="SaturatingCast<FixedI32<Frac>>">SaturatingCast<FixedI32<Frac>></a></li><li><a href="#impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-i32" title="SaturatingCast<FixedI32<Frac>>">SaturatingCast<FixedI32<Frac>></a></li><li><a href="#impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-i64" title="SaturatingCast<FixedI32<Frac>>">SaturatingCast<FixedI32<Frac>></a></li><li><a href="#impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-i8" title="SaturatingCast<FixedI32<Frac>>">SaturatingCast<FixedI32<Frac>></a></li><li><a href="#impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-isize" title="SaturatingCast<FixedI32<Frac>>">SaturatingCast<FixedI32<Frac>></a></li><li><a href="#impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-u128" title="SaturatingCast<FixedI32<Frac>>">SaturatingCast<FixedI32<Frac>></a></li><li><a href="#impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-u16" title="SaturatingCast<FixedI32<Frac>>">SaturatingCast<FixedI32<Frac>></a></li><li><a href="#impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-u32" title="SaturatingCast<FixedI32<Frac>>">SaturatingCast<FixedI32<Frac>></a></li><li><a href="#impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-u64" title="SaturatingCast<FixedI32<Frac>>">SaturatingCast<FixedI32<Frac>></a></li><li><a href="#impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-u8" title="SaturatingCast<FixedI32<Frac>>">SaturatingCast<FixedI32<Frac>></a></li><li><a href="#impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-usize" title="SaturatingCast<FixedI32<Frac>>">SaturatingCast<FixedI32<Frac>></a></li><li><a href="#impl-SaturatingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI128%3CFracSrc%3E" title="SaturatingCast<FixedI32<FracDst>>">SaturatingCast<FixedI32<FracDst>></a></li><li><a href="#impl-SaturatingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI16%3CFracSrc%3E" title="SaturatingCast<FixedI32<FracDst>>">SaturatingCast<FixedI32<FracDst>></a></li><li><a href="#impl-SaturatingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="SaturatingCast<FixedI32<FracDst>>">SaturatingCast<FixedI32<FracDst>></a></li><li><a href="#impl-SaturatingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI64%3CFracSrc%3E" title="SaturatingCast<FixedI32<FracDst>>">SaturatingCast<FixedI32<FracDst>></a></li><li><a href="#impl-SaturatingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI8%3CFracSrc%3E" title="SaturatingCast<FixedI32<FracDst>>">SaturatingCast<FixedI32<FracDst>></a></li><li><a href="#impl-SaturatingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU128%3CFracSrc%3E" title="SaturatingCast<FixedI32<FracDst>>">SaturatingCast<FixedI32<FracDst>></a></li><li><a href="#impl-SaturatingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU16%3CFracSrc%3E" title="SaturatingCast<FixedI32<FracDst>>">SaturatingCast<FixedI32<FracDst>></a></li><li><a href="#impl-SaturatingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU32%3CFracSrc%3E" title="SaturatingCast<FixedI32<FracDst>>">SaturatingCast<FixedI32<FracDst>></a></li><li><a href="#impl-SaturatingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU64%3CFracSrc%3E" title="SaturatingCast<FixedI32<FracDst>>">SaturatingCast<FixedI32<FracDst>></a></li><li><a href="#impl-SaturatingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU8%3CFracSrc%3E" title="SaturatingCast<FixedI32<FracDst>>">SaturatingCast<FixedI32<FracDst>></a></li><li><a href="#impl-SaturatingCast%3CFixedI64%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="SaturatingCast<FixedI64<FracDst>>">SaturatingCast<FixedI64<FracDst>></a></li><li><a href="#impl-SaturatingCast%3CFixedI8%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="SaturatingCast<FixedI8<FracDst>>">SaturatingCast<FixedI8<FracDst>></a></li><li><a href="#impl-SaturatingCast%3CFixedU128%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="SaturatingCast<FixedU128<FracDst>>">SaturatingCast<FixedU128<FracDst>></a></li><li><a href="#impl-SaturatingCast%3CFixedU16%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="SaturatingCast<FixedU16<FracDst>>">SaturatingCast<FixedU16<FracDst>></a></li><li><a href="#impl-SaturatingCast%3CFixedU32%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="SaturatingCast<FixedU32<FracDst>>">SaturatingCast<FixedU32<FracDst>></a></li><li><a href="#impl-SaturatingCast%3CFixedU64%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="SaturatingCast<FixedU64<FracDst>>">SaturatingCast<FixedU64<FracDst>></a></li><li><a href="#impl-SaturatingCast%3CFixedU8%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="SaturatingCast<FixedU8<FracDst>>">SaturatingCast<FixedU8<FracDst>></a></li><li><a href="#impl-SaturatingCast%3Cbf16%3E-for-FixedI32%3CFrac%3E" title="SaturatingCast<bf16>">SaturatingCast<bf16></a></li><li><a href="#impl-SaturatingCast%3Cf16%3E-for-FixedI32%3CFrac%3E" title="SaturatingCast<f16>">SaturatingCast<f16></a></li><li><a href="#impl-SaturatingCast%3Cf32%3E-for-FixedI32%3CFrac%3E" title="SaturatingCast<f32>">SaturatingCast<f32></a></li><li><a href="#impl-SaturatingCast%3Cf64%3E-for-FixedI32%3CFrac%3E" title="SaturatingCast<f64>">SaturatingCast<f64></a></li><li><a href="#impl-SaturatingCast%3Ci128%3E-for-FixedI32%3CFrac%3E" title="SaturatingCast<i128>">SaturatingCast<i128></a></li><li><a href="#impl-SaturatingCast%3Ci16%3E-for-FixedI32%3CFrac%3E" title="SaturatingCast<i16>">SaturatingCast<i16></a></li><li><a href="#impl-SaturatingCast%3Ci32%3E-for-FixedI32%3CFrac%3E" title="SaturatingCast<i32>">SaturatingCast<i32></a></li><li><a href="#impl-SaturatingCast%3Ci64%3E-for-FixedI32%3CFrac%3E" title="SaturatingCast<i64>">SaturatingCast<i64></a></li><li><a href="#impl-SaturatingCast%3Ci8%3E-for-FixedI32%3CFrac%3E" title="SaturatingCast<i8>">SaturatingCast<i8></a></li><li><a href="#impl-SaturatingCast%3Cisize%3E-for-FixedI32%3CFrac%3E" title="SaturatingCast<isize>">SaturatingCast<isize></a></li><li><a href="#impl-SaturatingCast%3Cu128%3E-for-FixedI32%3CFrac%3E" title="SaturatingCast<u128>">SaturatingCast<u128></a></li><li><a href="#impl-SaturatingCast%3Cu16%3E-for-FixedI32%3CFrac%3E" title="SaturatingCast<u16>">SaturatingCast<u16></a></li><li><a href="#impl-SaturatingCast%3Cu32%3E-for-FixedI32%3CFrac%3E" title="SaturatingCast<u32>">SaturatingCast<u32></a></li><li><a href="#impl-SaturatingCast%3Cu64%3E-for-FixedI32%3CFrac%3E" title="SaturatingCast<u64>">SaturatingCast<u64></a></li><li><a href="#impl-SaturatingCast%3Cu8%3E-for-FixedI32%3CFrac%3E" title="SaturatingCast<u8>">SaturatingCast<u8></a></li><li><a href="#impl-SaturatingCast%3Cusize%3E-for-FixedI32%3CFrac%3E" title="SaturatingCast<usize>">SaturatingCast<usize></a></li><li><a href="#impl-Shl%3C%26i128%3E-for-%26FixedI32%3CFrac%3E" title="Shl<&i128>">Shl<&i128></a></li><li><a href="#impl-Shl%3C%26i128%3E-for-FixedI32%3CFrac%3E" title="Shl<&i128>">Shl<&i128></a></li><li><a href="#impl-Shl%3C%26i16%3E-for-%26FixedI32%3CFrac%3E" title="Shl<&i16>">Shl<&i16></a></li><li><a href="#impl-Shl%3C%26i16%3E-for-FixedI32%3CFrac%3E" title="Shl<&i16>">Shl<&i16></a></li><li><a href="#impl-Shl%3C%26i32%3E-for-%26FixedI32%3CFrac%3E" title="Shl<&i32>">Shl<&i32></a></li><li><a href="#impl-Shl%3C%26i32%3E-for-FixedI32%3CFrac%3E" title="Shl<&i32>">Shl<&i32></a></li><li><a href="#impl-Shl%3C%26i64%3E-for-%26FixedI32%3CFrac%3E" title="Shl<&i64>">Shl<&i64></a></li><li><a href="#impl-Shl%3C%26i64%3E-for-FixedI32%3CFrac%3E" title="Shl<&i64>">Shl<&i64></a></li><li><a href="#impl-Shl%3C%26i8%3E-for-%26FixedI32%3CFrac%3E" title="Shl<&i8>">Shl<&i8></a></li><li><a href="#impl-Shl%3C%26i8%3E-for-FixedI32%3CFrac%3E" title="Shl<&i8>">Shl<&i8></a></li><li><a href="#impl-Shl%3C%26isize%3E-for-%26FixedI32%3CFrac%3E" title="Shl<&isize>">Shl<&isize></a></li><li><a href="#impl-Shl%3C%26isize%3E-for-FixedI32%3CFrac%3E" title="Shl<&isize>">Shl<&isize></a></li><li><a href="#impl-Shl%3C%26u128%3E-for-%26FixedI32%3CFrac%3E" title="Shl<&u128>">Shl<&u128></a></li><li><a href="#impl-Shl%3C%26u128%3E-for-FixedI32%3CFrac%3E" title="Shl<&u128>">Shl<&u128></a></li><li><a href="#impl-Shl%3C%26u16%3E-for-%26FixedI32%3CFrac%3E" title="Shl<&u16>">Shl<&u16></a></li><li><a href="#impl-Shl%3C%26u16%3E-for-FixedI32%3CFrac%3E" title="Shl<&u16>">Shl<&u16></a></li><li><a href="#impl-Shl%3C%26u32%3E-for-%26FixedI32%3CFrac%3E" title="Shl<&u32>">Shl<&u32></a></li><li><a href="#impl-Shl%3C%26u32%3E-for-FixedI32%3CFrac%3E" title="Shl<&u32>">Shl<&u32></a></li><li><a href="#impl-Shl%3C%26u64%3E-for-%26FixedI32%3CFrac%3E" title="Shl<&u64>">Shl<&u64></a></li><li><a href="#impl-Shl%3C%26u64%3E-for-FixedI32%3CFrac%3E" title="Shl<&u64>">Shl<&u64></a></li><li><a href="#impl-Shl%3C%26u8%3E-for-%26FixedI32%3CFrac%3E" title="Shl<&u8>">Shl<&u8></a></li><li><a href="#impl-Shl%3C%26u8%3E-for-FixedI32%3CFrac%3E" title="Shl<&u8>">Shl<&u8></a></li><li><a href="#impl-Shl%3C%26usize%3E-for-%26FixedI32%3CFrac%3E" title="Shl<&usize>">Shl<&usize></a></li><li><a href="#impl-Shl%3C%26usize%3E-for-FixedI32%3CFrac%3E" title="Shl<&usize>">Shl<&usize></a></li><li><a href="#impl-Shl%3Ci128%3E-for-%26FixedI32%3CFrac%3E" title="Shl<i128>">Shl<i128></a></li><li><a href="#impl-Shl%3Ci128%3E-for-FixedI32%3CFrac%3E" title="Shl<i128>">Shl<i128></a></li><li><a href="#impl-Shl%3Ci16%3E-for-%26FixedI32%3CFrac%3E" title="Shl<i16>">Shl<i16></a></li><li><a href="#impl-Shl%3Ci16%3E-for-FixedI32%3CFrac%3E" title="Shl<i16>">Shl<i16></a></li><li><a href="#impl-Shl%3Ci32%3E-for-%26FixedI32%3CFrac%3E" title="Shl<i32>">Shl<i32></a></li><li><a href="#impl-Shl%3Ci32%3E-for-FixedI32%3CFrac%3E" title="Shl<i32>">Shl<i32></a></li><li><a href="#impl-Shl%3Ci64%3E-for-%26FixedI32%3CFrac%3E" title="Shl<i64>">Shl<i64></a></li><li><a href="#impl-Shl%3Ci64%3E-for-FixedI32%3CFrac%3E" title="Shl<i64>">Shl<i64></a></li><li><a href="#impl-Shl%3Ci8%3E-for-%26FixedI32%3CFrac%3E" title="Shl<i8>">Shl<i8></a></li><li><a href="#impl-Shl%3Ci8%3E-for-FixedI32%3CFrac%3E" title="Shl<i8>">Shl<i8></a></li><li><a href="#impl-Shl%3Cisize%3E-for-%26FixedI32%3CFrac%3E" title="Shl<isize>">Shl<isize></a></li><li><a href="#impl-Shl%3Cisize%3E-for-FixedI32%3CFrac%3E" title="Shl<isize>">Shl<isize></a></li><li><a href="#impl-Shl%3Cu128%3E-for-%26FixedI32%3CFrac%3E" title="Shl<u128>">Shl<u128></a></li><li><a href="#impl-Shl%3Cu128%3E-for-FixedI32%3CFrac%3E" title="Shl<u128>">Shl<u128></a></li><li><a href="#impl-Shl%3Cu16%3E-for-%26FixedI32%3CFrac%3E" title="Shl<u16>">Shl<u16></a></li><li><a href="#impl-Shl%3Cu16%3E-for-FixedI32%3CFrac%3E" title="Shl<u16>">Shl<u16></a></li><li><a href="#impl-Shl%3Cu32%3E-for-%26FixedI32%3CFrac%3E" title="Shl<u32>">Shl<u32></a></li><li><a href="#impl-Shl%3Cu32%3E-for-FixedI32%3CFrac%3E" title="Shl<u32>">Shl<u32></a></li><li><a href="#impl-Shl%3Cu64%3E-for-%26FixedI32%3CFrac%3E" title="Shl<u64>">Shl<u64></a></li><li><a href="#impl-Shl%3Cu64%3E-for-FixedI32%3CFrac%3E" title="Shl<u64>">Shl<u64></a></li><li><a href="#impl-Shl%3Cu8%3E-for-%26FixedI32%3CFrac%3E" title="Shl<u8>">Shl<u8></a></li><li><a href="#impl-Shl%3Cu8%3E-for-FixedI32%3CFrac%3E" title="Shl<u8>">Shl<u8></a></li><li><a href="#impl-Shl%3Cusize%3E-for-%26FixedI32%3CFrac%3E" title="Shl<usize>">Shl<usize></a></li><li><a href="#impl-Shl%3Cusize%3E-for-FixedI32%3CFrac%3E" title="Shl<usize>">Shl<usize></a></li><li><a href="#impl-ShlAssign%3C%26i128%3E-for-FixedI32%3CFrac%3E" title="ShlAssign<&i128>">ShlAssign<&i128></a></li><li><a href="#impl-ShlAssign%3C%26i16%3E-for-FixedI32%3CFrac%3E" title="ShlAssign<&i16>">ShlAssign<&i16></a></li><li><a href="#impl-ShlAssign%3C%26i32%3E-for-FixedI32%3CFrac%3E" title="ShlAssign<&i32>">ShlAssign<&i32></a></li><li><a href="#impl-ShlAssign%3C%26i64%3E-for-FixedI32%3CFrac%3E" title="ShlAssign<&i64>">ShlAssign<&i64></a></li><li><a href="#impl-ShlAssign%3C%26i8%3E-for-FixedI32%3CFrac%3E" title="ShlAssign<&i8>">ShlAssign<&i8></a></li><li><a href="#impl-ShlAssign%3C%26isize%3E-for-FixedI32%3CFrac%3E" title="ShlAssign<&isize>">ShlAssign<&isize></a></li><li><a href="#impl-ShlAssign%3C%26u128%3E-for-FixedI32%3CFrac%3E" title="ShlAssign<&u128>">ShlAssign<&u128></a></li><li><a href="#impl-ShlAssign%3C%26u16%3E-for-FixedI32%3CFrac%3E" title="ShlAssign<&u16>">ShlAssign<&u16></a></li><li><a href="#impl-ShlAssign%3C%26u32%3E-for-FixedI32%3CFrac%3E" title="ShlAssign<&u32>">ShlAssign<&u32></a></li><li><a href="#impl-ShlAssign%3C%26u64%3E-for-FixedI32%3CFrac%3E" title="ShlAssign<&u64>">ShlAssign<&u64></a></li><li><a href="#impl-ShlAssign%3C%26u8%3E-for-FixedI32%3CFrac%3E" title="ShlAssign<&u8>">ShlAssign<&u8></a></li><li><a href="#impl-ShlAssign%3C%26usize%3E-for-FixedI32%3CFrac%3E" title="ShlAssign<&usize>">ShlAssign<&usize></a></li><li><a href="#impl-ShlAssign%3Ci128%3E-for-FixedI32%3CFrac%3E" title="ShlAssign<i128>">ShlAssign<i128></a></li><li><a href="#impl-ShlAssign%3Ci16%3E-for-FixedI32%3CFrac%3E" title="ShlAssign<i16>">ShlAssign<i16></a></li><li><a href="#impl-ShlAssign%3Ci32%3E-for-FixedI32%3CFrac%3E" title="ShlAssign<i32>">ShlAssign<i32></a></li><li><a href="#impl-ShlAssign%3Ci64%3E-for-FixedI32%3CFrac%3E" title="ShlAssign<i64>">ShlAssign<i64></a></li><li><a href="#impl-ShlAssign%3Ci8%3E-for-FixedI32%3CFrac%3E" title="ShlAssign<i8>">ShlAssign<i8></a></li><li><a href="#impl-ShlAssign%3Cisize%3E-for-FixedI32%3CFrac%3E" title="ShlAssign<isize>">ShlAssign<isize></a></li><li><a href="#impl-ShlAssign%3Cu128%3E-for-FixedI32%3CFrac%3E" title="ShlAssign<u128>">ShlAssign<u128></a></li><li><a href="#impl-ShlAssign%3Cu16%3E-for-FixedI32%3CFrac%3E" title="ShlAssign<u16>">ShlAssign<u16></a></li><li><a href="#impl-ShlAssign%3Cu32%3E-for-FixedI32%3CFrac%3E" title="ShlAssign<u32>">ShlAssign<u32></a></li><li><a href="#impl-ShlAssign%3Cu64%3E-for-FixedI32%3CFrac%3E" title="ShlAssign<u64>">ShlAssign<u64></a></li><li><a href="#impl-ShlAssign%3Cu8%3E-for-FixedI32%3CFrac%3E" title="ShlAssign<u8>">ShlAssign<u8></a></li><li><a href="#impl-ShlAssign%3Cusize%3E-for-FixedI32%3CFrac%3E" title="ShlAssign<usize>">ShlAssign<usize></a></li><li><a href="#impl-Shr%3C%26i128%3E-for-%26FixedI32%3CFrac%3E" title="Shr<&i128>">Shr<&i128></a></li><li><a href="#impl-Shr%3C%26i128%3E-for-FixedI32%3CFrac%3E" title="Shr<&i128>">Shr<&i128></a></li><li><a href="#impl-Shr%3C%26i16%3E-for-%26FixedI32%3CFrac%3E" title="Shr<&i16>">Shr<&i16></a></li><li><a href="#impl-Shr%3C%26i16%3E-for-FixedI32%3CFrac%3E" title="Shr<&i16>">Shr<&i16></a></li><li><a href="#impl-Shr%3C%26i32%3E-for-%26FixedI32%3CFrac%3E" title="Shr<&i32>">Shr<&i32></a></li><li><a href="#impl-Shr%3C%26i32%3E-for-FixedI32%3CFrac%3E" title="Shr<&i32>">Shr<&i32></a></li><li><a href="#impl-Shr%3C%26i64%3E-for-%26FixedI32%3CFrac%3E" title="Shr<&i64>">Shr<&i64></a></li><li><a href="#impl-Shr%3C%26i64%3E-for-FixedI32%3CFrac%3E" title="Shr<&i64>">Shr<&i64></a></li><li><a href="#impl-Shr%3C%26i8%3E-for-%26FixedI32%3CFrac%3E" title="Shr<&i8>">Shr<&i8></a></li><li><a href="#impl-Shr%3C%26i8%3E-for-FixedI32%3CFrac%3E" title="Shr<&i8>">Shr<&i8></a></li><li><a href="#impl-Shr%3C%26isize%3E-for-%26FixedI32%3CFrac%3E" title="Shr<&isize>">Shr<&isize></a></li><li><a href="#impl-Shr%3C%26isize%3E-for-FixedI32%3CFrac%3E" title="Shr<&isize>">Shr<&isize></a></li><li><a href="#impl-Shr%3C%26u128%3E-for-%26FixedI32%3CFrac%3E" title="Shr<&u128>">Shr<&u128></a></li><li><a href="#impl-Shr%3C%26u128%3E-for-FixedI32%3CFrac%3E" title="Shr<&u128>">Shr<&u128></a></li><li><a href="#impl-Shr%3C%26u16%3E-for-%26FixedI32%3CFrac%3E" title="Shr<&u16>">Shr<&u16></a></li><li><a href="#impl-Shr%3C%26u16%3E-for-FixedI32%3CFrac%3E" title="Shr<&u16>">Shr<&u16></a></li><li><a href="#impl-Shr%3C%26u32%3E-for-%26FixedI32%3CFrac%3E" title="Shr<&u32>">Shr<&u32></a></li><li><a href="#impl-Shr%3C%26u32%3E-for-FixedI32%3CFrac%3E" title="Shr<&u32>">Shr<&u32></a></li><li><a href="#impl-Shr%3C%26u64%3E-for-%26FixedI32%3CFrac%3E" title="Shr<&u64>">Shr<&u64></a></li><li><a href="#impl-Shr%3C%26u64%3E-for-FixedI32%3CFrac%3E" title="Shr<&u64>">Shr<&u64></a></li><li><a href="#impl-Shr%3C%26u8%3E-for-%26FixedI32%3CFrac%3E" title="Shr<&u8>">Shr<&u8></a></li><li><a href="#impl-Shr%3C%26u8%3E-for-FixedI32%3CFrac%3E" title="Shr<&u8>">Shr<&u8></a></li><li><a href="#impl-Shr%3C%26usize%3E-for-%26FixedI32%3CFrac%3E" title="Shr<&usize>">Shr<&usize></a></li><li><a href="#impl-Shr%3C%26usize%3E-for-FixedI32%3CFrac%3E" title="Shr<&usize>">Shr<&usize></a></li><li><a href="#impl-Shr%3Ci128%3E-for-%26FixedI32%3CFrac%3E" title="Shr<i128>">Shr<i128></a></li><li><a href="#impl-Shr%3Ci128%3E-for-FixedI32%3CFrac%3E" title="Shr<i128>">Shr<i128></a></li><li><a href="#impl-Shr%3Ci16%3E-for-%26FixedI32%3CFrac%3E" title="Shr<i16>">Shr<i16></a></li><li><a href="#impl-Shr%3Ci16%3E-for-FixedI32%3CFrac%3E" title="Shr<i16>">Shr<i16></a></li><li><a href="#impl-Shr%3Ci32%3E-for-%26FixedI32%3CFrac%3E" title="Shr<i32>">Shr<i32></a></li><li><a href="#impl-Shr%3Ci32%3E-for-FixedI32%3CFrac%3E" title="Shr<i32>">Shr<i32></a></li><li><a href="#impl-Shr%3Ci64%3E-for-%26FixedI32%3CFrac%3E" title="Shr<i64>">Shr<i64></a></li><li><a href="#impl-Shr%3Ci64%3E-for-FixedI32%3CFrac%3E" title="Shr<i64>">Shr<i64></a></li><li><a href="#impl-Shr%3Ci8%3E-for-%26FixedI32%3CFrac%3E" title="Shr<i8>">Shr<i8></a></li><li><a href="#impl-Shr%3Ci8%3E-for-FixedI32%3CFrac%3E" title="Shr<i8>">Shr<i8></a></li><li><a href="#impl-Shr%3Cisize%3E-for-%26FixedI32%3CFrac%3E" title="Shr<isize>">Shr<isize></a></li><li><a href="#impl-Shr%3Cisize%3E-for-FixedI32%3CFrac%3E" title="Shr<isize>">Shr<isize></a></li><li><a href="#impl-Shr%3Cu128%3E-for-%26FixedI32%3CFrac%3E" title="Shr<u128>">Shr<u128></a></li><li><a href="#impl-Shr%3Cu128%3E-for-FixedI32%3CFrac%3E" title="Shr<u128>">Shr<u128></a></li><li><a href="#impl-Shr%3Cu16%3E-for-%26FixedI32%3CFrac%3E" title="Shr<u16>">Shr<u16></a></li><li><a href="#impl-Shr%3Cu16%3E-for-FixedI32%3CFrac%3E" title="Shr<u16>">Shr<u16></a></li><li><a href="#impl-Shr%3Cu32%3E-for-%26FixedI32%3CFrac%3E" title="Shr<u32>">Shr<u32></a></li><li><a href="#impl-Shr%3Cu32%3E-for-FixedI32%3CFrac%3E" title="Shr<u32>">Shr<u32></a></li><li><a href="#impl-Shr%3Cu64%3E-for-%26FixedI32%3CFrac%3E" title="Shr<u64>">Shr<u64></a></li><li><a href="#impl-Shr%3Cu64%3E-for-FixedI32%3CFrac%3E" title="Shr<u64>">Shr<u64></a></li><li><a href="#impl-Shr%3Cu8%3E-for-%26FixedI32%3CFrac%3E" title="Shr<u8>">Shr<u8></a></li><li><a href="#impl-Shr%3Cu8%3E-for-FixedI32%3CFrac%3E" title="Shr<u8>">Shr<u8></a></li><li><a href="#impl-Shr%3Cusize%3E-for-%26FixedI32%3CFrac%3E" title="Shr<usize>">Shr<usize></a></li><li><a href="#impl-Shr%3Cusize%3E-for-FixedI32%3CFrac%3E" title="Shr<usize>">Shr<usize></a></li><li><a href="#impl-ShrAssign%3C%26i128%3E-for-FixedI32%3CFrac%3E" title="ShrAssign<&i128>">ShrAssign<&i128></a></li><li><a href="#impl-ShrAssign%3C%26i16%3E-for-FixedI32%3CFrac%3E" title="ShrAssign<&i16>">ShrAssign<&i16></a></li><li><a href="#impl-ShrAssign%3C%26i32%3E-for-FixedI32%3CFrac%3E" title="ShrAssign<&i32>">ShrAssign<&i32></a></li><li><a href="#impl-ShrAssign%3C%26i64%3E-for-FixedI32%3CFrac%3E" title="ShrAssign<&i64>">ShrAssign<&i64></a></li><li><a href="#impl-ShrAssign%3C%26i8%3E-for-FixedI32%3CFrac%3E" title="ShrAssign<&i8>">ShrAssign<&i8></a></li><li><a href="#impl-ShrAssign%3C%26isize%3E-for-FixedI32%3CFrac%3E" title="ShrAssign<&isize>">ShrAssign<&isize></a></li><li><a href="#impl-ShrAssign%3C%26u128%3E-for-FixedI32%3CFrac%3E" title="ShrAssign<&u128>">ShrAssign<&u128></a></li><li><a href="#impl-ShrAssign%3C%26u16%3E-for-FixedI32%3CFrac%3E" title="ShrAssign<&u16>">ShrAssign<&u16></a></li><li><a href="#impl-ShrAssign%3C%26u32%3E-for-FixedI32%3CFrac%3E" title="ShrAssign<&u32>">ShrAssign<&u32></a></li><li><a href="#impl-ShrAssign%3C%26u64%3E-for-FixedI32%3CFrac%3E" title="ShrAssign<&u64>">ShrAssign<&u64></a></li><li><a href="#impl-ShrAssign%3C%26u8%3E-for-FixedI32%3CFrac%3E" title="ShrAssign<&u8>">ShrAssign<&u8></a></li><li><a href="#impl-ShrAssign%3C%26usize%3E-for-FixedI32%3CFrac%3E" title="ShrAssign<&usize>">ShrAssign<&usize></a></li><li><a href="#impl-ShrAssign%3Ci128%3E-for-FixedI32%3CFrac%3E" title="ShrAssign<i128>">ShrAssign<i128></a></li><li><a href="#impl-ShrAssign%3Ci16%3E-for-FixedI32%3CFrac%3E" title="ShrAssign<i16>">ShrAssign<i16></a></li><li><a href="#impl-ShrAssign%3Ci32%3E-for-FixedI32%3CFrac%3E" title="ShrAssign<i32>">ShrAssign<i32></a></li><li><a href="#impl-ShrAssign%3Ci64%3E-for-FixedI32%3CFrac%3E" title="ShrAssign<i64>">ShrAssign<i64></a></li><li><a href="#impl-ShrAssign%3Ci8%3E-for-FixedI32%3CFrac%3E" title="ShrAssign<i8>">ShrAssign<i8></a></li><li><a href="#impl-ShrAssign%3Cisize%3E-for-FixedI32%3CFrac%3E" title="ShrAssign<isize>">ShrAssign<isize></a></li><li><a href="#impl-ShrAssign%3Cu128%3E-for-FixedI32%3CFrac%3E" title="ShrAssign<u128>">ShrAssign<u128></a></li><li><a href="#impl-ShrAssign%3Cu16%3E-for-FixedI32%3CFrac%3E" title="ShrAssign<u16>">ShrAssign<u16></a></li><li><a href="#impl-ShrAssign%3Cu32%3E-for-FixedI32%3CFrac%3E" title="ShrAssign<u32>">ShrAssign<u32></a></li><li><a href="#impl-ShrAssign%3Cu64%3E-for-FixedI32%3CFrac%3E" title="ShrAssign<u64>">ShrAssign<u64></a></li><li><a href="#impl-ShrAssign%3Cu8%3E-for-FixedI32%3CFrac%3E" title="ShrAssign<u8>">ShrAssign<u8></a></li><li><a href="#impl-ShrAssign%3Cusize%3E-for-FixedI32%3CFrac%3E" title="ShrAssign<usize>">ShrAssign<usize></a></li><li><a href="#impl-Sub-for-FixedI32%3CFrac%3E" title="Sub">Sub</a></li><li><a href="#impl-Sub%3C%26FixedI32%3CFrac%3E%3E-for-%26FixedI32%3CFrac%3E" title="Sub<&FixedI32<Frac>>">Sub<&FixedI32<Frac>></a></li><li><a href="#impl-Sub%3C%26FixedI32%3CFrac%3E%3E-for-FixedI32%3CFrac%3E" title="Sub<&FixedI32<Frac>>">Sub<&FixedI32<Frac>></a></li><li><a href="#impl-Sub%3CFixedI32%3CFrac%3E%3E-for-%26FixedI32%3CFrac%3E" title="Sub<FixedI32<Frac>>">Sub<FixedI32<Frac>></a></li><li><a href="#impl-SubAssign-for-FixedI32%3CFrac%3E" title="SubAssign">SubAssign</a></li><li><a href="#impl-SubAssign%3C%26FixedI32%3CFrac%3E%3E-for-FixedI32%3CFrac%3E" title="SubAssign<&FixedI32<Frac>>">SubAssign<&FixedI32<Frac>></a></li><li><a href="#impl-Sum-for-FixedI32%3CFrac%3E" title="Sum">Sum</a></li><li><a href="#impl-Sum%3C%26FixedI32%3CFrac%3E%3E-for-FixedI32%3CFrac%3E" title="Sum<&'a FixedI32<Frac>>">Sum<&'a FixedI32<Frac>></a></li><li><a href="#impl-ToFixed-for-FixedI32%3CFrac%3E" title="ToFixed">ToFixed</a></li><li><a href="#impl-TransparentWrapper%3CFixedI32%3CFrac%3E%3E-for-Unwrapped%3CFixedI32%3CFrac%3E%3E" title="TransparentWrapper<FixedI32<Frac>>">TransparentWrapper<FixedI32<Frac>></a></li><li><a href="#impl-TransparentWrapper%3CFixedI32%3CFrac%3E%3E-for-Wrapping%3CFixedI32%3CFrac%3E%3E" title="TransparentWrapper<FixedI32<Frac>>">TransparentWrapper<FixedI32<Frac>></a></li><li><a href="#impl-TransparentWrapper%3Ci32%3E-for-FixedI32%3CFrac%3E" title="TransparentWrapper<i32>">TransparentWrapper<i32></a></li><li><a href="#impl-UnwrappedCast%3CF128%3E-for-FixedI32%3CFrac%3E" title="UnwrappedCast<F128>">UnwrappedCast<F128></a></li><li><a href="#impl-UnwrappedCast%3CF128Bits%3E-for-FixedI32%3CFrac%3E" title="UnwrappedCast<F128Bits>">UnwrappedCast<F128Bits></a></li><li><a href="#impl-UnwrappedCast%3CFixedI128%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="UnwrappedCast<FixedI128<FracDst>>">UnwrappedCast<FixedI128<FracDst>></a></li><li><a href="#impl-UnwrappedCast%3CFixedI16%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="UnwrappedCast<FixedI16<FracDst>>">UnwrappedCast<FixedI16<FracDst>></a></li><li><a href="#impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-F128" title="UnwrappedCast<FixedI32<Frac>>">UnwrappedCast<FixedI32<Frac>></a></li><li><a href="#impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-F128Bits" title="UnwrappedCast<FixedI32<Frac>>">UnwrappedCast<FixedI32<Frac>></a></li><li><a href="#impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-bf16" title="UnwrappedCast<FixedI32<Frac>>">UnwrappedCast<FixedI32<Frac>></a></li><li><a href="#impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-bool" title="UnwrappedCast<FixedI32<Frac>>">UnwrappedCast<FixedI32<Frac>></a></li><li><a href="#impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-f16" title="UnwrappedCast<FixedI32<Frac>>">UnwrappedCast<FixedI32<Frac>></a></li><li><a href="#impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-f32" title="UnwrappedCast<FixedI32<Frac>>">UnwrappedCast<FixedI32<Frac>></a></li><li><a href="#impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-f64" title="UnwrappedCast<FixedI32<Frac>>">UnwrappedCast<FixedI32<Frac>></a></li><li><a href="#impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-i128" title="UnwrappedCast<FixedI32<Frac>>">UnwrappedCast<FixedI32<Frac>></a></li><li><a href="#impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-i16" title="UnwrappedCast<FixedI32<Frac>>">UnwrappedCast<FixedI32<Frac>></a></li><li><a href="#impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-i32" title="UnwrappedCast<FixedI32<Frac>>">UnwrappedCast<FixedI32<Frac>></a></li><li><a href="#impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-i64" title="UnwrappedCast<FixedI32<Frac>>">UnwrappedCast<FixedI32<Frac>></a></li><li><a href="#impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-i8" title="UnwrappedCast<FixedI32<Frac>>">UnwrappedCast<FixedI32<Frac>></a></li><li><a href="#impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-isize" title="UnwrappedCast<FixedI32<Frac>>">UnwrappedCast<FixedI32<Frac>></a></li><li><a href="#impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-u128" title="UnwrappedCast<FixedI32<Frac>>">UnwrappedCast<FixedI32<Frac>></a></li><li><a href="#impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-u16" title="UnwrappedCast<FixedI32<Frac>>">UnwrappedCast<FixedI32<Frac>></a></li><li><a href="#impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-u32" title="UnwrappedCast<FixedI32<Frac>>">UnwrappedCast<FixedI32<Frac>></a></li><li><a href="#impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-u64" title="UnwrappedCast<FixedI32<Frac>>">UnwrappedCast<FixedI32<Frac>></a></li><li><a href="#impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-u8" title="UnwrappedCast<FixedI32<Frac>>">UnwrappedCast<FixedI32<Frac>></a></li><li><a href="#impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-usize" title="UnwrappedCast<FixedI32<Frac>>">UnwrappedCast<FixedI32<Frac>></a></li><li><a href="#impl-UnwrappedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI128%3CFracSrc%3E" title="UnwrappedCast<FixedI32<FracDst>>">UnwrappedCast<FixedI32<FracDst>></a></li><li><a href="#impl-UnwrappedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI16%3CFracSrc%3E" title="UnwrappedCast<FixedI32<FracDst>>">UnwrappedCast<FixedI32<FracDst>></a></li><li><a href="#impl-UnwrappedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="UnwrappedCast<FixedI32<FracDst>>">UnwrappedCast<FixedI32<FracDst>></a></li><li><a href="#impl-UnwrappedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI64%3CFracSrc%3E" title="UnwrappedCast<FixedI32<FracDst>>">UnwrappedCast<FixedI32<FracDst>></a></li><li><a href="#impl-UnwrappedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI8%3CFracSrc%3E" title="UnwrappedCast<FixedI32<FracDst>>">UnwrappedCast<FixedI32<FracDst>></a></li><li><a href="#impl-UnwrappedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU128%3CFracSrc%3E" title="UnwrappedCast<FixedI32<FracDst>>">UnwrappedCast<FixedI32<FracDst>></a></li><li><a href="#impl-UnwrappedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU16%3CFracSrc%3E" title="UnwrappedCast<FixedI32<FracDst>>">UnwrappedCast<FixedI32<FracDst>></a></li><li><a href="#impl-UnwrappedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU32%3CFracSrc%3E" title="UnwrappedCast<FixedI32<FracDst>>">UnwrappedCast<FixedI32<FracDst>></a></li><li><a href="#impl-UnwrappedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU64%3CFracSrc%3E" title="UnwrappedCast<FixedI32<FracDst>>">UnwrappedCast<FixedI32<FracDst>></a></li><li><a href="#impl-UnwrappedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU8%3CFracSrc%3E" title="UnwrappedCast<FixedI32<FracDst>>">UnwrappedCast<FixedI32<FracDst>></a></li><li><a href="#impl-UnwrappedCast%3CFixedI64%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="UnwrappedCast<FixedI64<FracDst>>">UnwrappedCast<FixedI64<FracDst>></a></li><li><a href="#impl-UnwrappedCast%3CFixedI8%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="UnwrappedCast<FixedI8<FracDst>>">UnwrappedCast<FixedI8<FracDst>></a></li><li><a href="#impl-UnwrappedCast%3CFixedU128%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="UnwrappedCast<FixedU128<FracDst>>">UnwrappedCast<FixedU128<FracDst>></a></li><li><a href="#impl-UnwrappedCast%3CFixedU16%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="UnwrappedCast<FixedU16<FracDst>>">UnwrappedCast<FixedU16<FracDst>></a></li><li><a href="#impl-UnwrappedCast%3CFixedU32%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="UnwrappedCast<FixedU32<FracDst>>">UnwrappedCast<FixedU32<FracDst>></a></li><li><a href="#impl-UnwrappedCast%3CFixedU64%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="UnwrappedCast<FixedU64<FracDst>>">UnwrappedCast<FixedU64<FracDst>></a></li><li><a href="#impl-UnwrappedCast%3CFixedU8%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="UnwrappedCast<FixedU8<FracDst>>">UnwrappedCast<FixedU8<FracDst>></a></li><li><a href="#impl-UnwrappedCast%3Cbf16%3E-for-FixedI32%3CFrac%3E" title="UnwrappedCast<bf16>">UnwrappedCast<bf16></a></li><li><a href="#impl-UnwrappedCast%3Cf16%3E-for-FixedI32%3CFrac%3E" title="UnwrappedCast<f16>">UnwrappedCast<f16></a></li><li><a href="#impl-UnwrappedCast%3Cf32%3E-for-FixedI32%3CFrac%3E" title="UnwrappedCast<f32>">UnwrappedCast<f32></a></li><li><a href="#impl-UnwrappedCast%3Cf64%3E-for-FixedI32%3CFrac%3E" title="UnwrappedCast<f64>">UnwrappedCast<f64></a></li><li><a href="#impl-UnwrappedCast%3Ci128%3E-for-FixedI32%3CFrac%3E" title="UnwrappedCast<i128>">UnwrappedCast<i128></a></li><li><a href="#impl-UnwrappedCast%3Ci16%3E-for-FixedI32%3CFrac%3E" title="UnwrappedCast<i16>">UnwrappedCast<i16></a></li><li><a href="#impl-UnwrappedCast%3Ci32%3E-for-FixedI32%3CFrac%3E" title="UnwrappedCast<i32>">UnwrappedCast<i32></a></li><li><a href="#impl-UnwrappedCast%3Ci64%3E-for-FixedI32%3CFrac%3E" title="UnwrappedCast<i64>">UnwrappedCast<i64></a></li><li><a href="#impl-UnwrappedCast%3Ci8%3E-for-FixedI32%3CFrac%3E" title="UnwrappedCast<i8>">UnwrappedCast<i8></a></li><li><a href="#impl-UnwrappedCast%3Cisize%3E-for-FixedI32%3CFrac%3E" title="UnwrappedCast<isize>">UnwrappedCast<isize></a></li><li><a href="#impl-UnwrappedCast%3Cu128%3E-for-FixedI32%3CFrac%3E" title="UnwrappedCast<u128>">UnwrappedCast<u128></a></li><li><a href="#impl-UnwrappedCast%3Cu16%3E-for-FixedI32%3CFrac%3E" title="UnwrappedCast<u16>">UnwrappedCast<u16></a></li><li><a href="#impl-UnwrappedCast%3Cu32%3E-for-FixedI32%3CFrac%3E" title="UnwrappedCast<u32>">UnwrappedCast<u32></a></li><li><a href="#impl-UnwrappedCast%3Cu64%3E-for-FixedI32%3CFrac%3E" title="UnwrappedCast<u64>">UnwrappedCast<u64></a></li><li><a href="#impl-UnwrappedCast%3Cu8%3E-for-FixedI32%3CFrac%3E" title="UnwrappedCast<u8>">UnwrappedCast<u8></a></li><li><a href="#impl-UnwrappedCast%3Cusize%3E-for-FixedI32%3CFrac%3E" title="UnwrappedCast<usize>">UnwrappedCast<usize></a></li><li><a href="#impl-UpperExp-for-FixedI32%3CFrac%3E" title="UpperExp">UpperExp</a></li><li><a href="#impl-UpperHex-for-FixedI32%3CFrac%3E" title="UpperHex">UpperHex</a></li><li><a href="#impl-WrappingCast%3CF128%3E-for-FixedI32%3CFrac%3E" title="WrappingCast<F128>">WrappingCast<F128></a></li><li><a href="#impl-WrappingCast%3CF128Bits%3E-for-FixedI32%3CFrac%3E" title="WrappingCast<F128Bits>">WrappingCast<F128Bits></a></li><li><a href="#impl-WrappingCast%3CFixedI128%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="WrappingCast<FixedI128<FracDst>>">WrappingCast<FixedI128<FracDst>></a></li><li><a href="#impl-WrappingCast%3CFixedI16%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="WrappingCast<FixedI16<FracDst>>">WrappingCast<FixedI16<FracDst>></a></li><li><a href="#impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-F128" title="WrappingCast<FixedI32<Frac>>">WrappingCast<FixedI32<Frac>></a></li><li><a href="#impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-F128Bits" title="WrappingCast<FixedI32<Frac>>">WrappingCast<FixedI32<Frac>></a></li><li><a href="#impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-bf16" title="WrappingCast<FixedI32<Frac>>">WrappingCast<FixedI32<Frac>></a></li><li><a href="#impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-bool" title="WrappingCast<FixedI32<Frac>>">WrappingCast<FixedI32<Frac>></a></li><li><a href="#impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-f16" title="WrappingCast<FixedI32<Frac>>">WrappingCast<FixedI32<Frac>></a></li><li><a href="#impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-f32" title="WrappingCast<FixedI32<Frac>>">WrappingCast<FixedI32<Frac>></a></li><li><a href="#impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-f64" title="WrappingCast<FixedI32<Frac>>">WrappingCast<FixedI32<Frac>></a></li><li><a href="#impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-i128" title="WrappingCast<FixedI32<Frac>>">WrappingCast<FixedI32<Frac>></a></li><li><a href="#impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-i16" title="WrappingCast<FixedI32<Frac>>">WrappingCast<FixedI32<Frac>></a></li><li><a href="#impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-i32" title="WrappingCast<FixedI32<Frac>>">WrappingCast<FixedI32<Frac>></a></li><li><a href="#impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-i64" title="WrappingCast<FixedI32<Frac>>">WrappingCast<FixedI32<Frac>></a></li><li><a href="#impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-i8" title="WrappingCast<FixedI32<Frac>>">WrappingCast<FixedI32<Frac>></a></li><li><a href="#impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-isize" title="WrappingCast<FixedI32<Frac>>">WrappingCast<FixedI32<Frac>></a></li><li><a href="#impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-u128" title="WrappingCast<FixedI32<Frac>>">WrappingCast<FixedI32<Frac>></a></li><li><a href="#impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-u16" title="WrappingCast<FixedI32<Frac>>">WrappingCast<FixedI32<Frac>></a></li><li><a href="#impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-u32" title="WrappingCast<FixedI32<Frac>>">WrappingCast<FixedI32<Frac>></a></li><li><a href="#impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-u64" title="WrappingCast<FixedI32<Frac>>">WrappingCast<FixedI32<Frac>></a></li><li><a href="#impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-u8" title="WrappingCast<FixedI32<Frac>>">WrappingCast<FixedI32<Frac>></a></li><li><a href="#impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-usize" title="WrappingCast<FixedI32<Frac>>">WrappingCast<FixedI32<Frac>></a></li><li><a href="#impl-WrappingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI128%3CFracSrc%3E" title="WrappingCast<FixedI32<FracDst>>">WrappingCast<FixedI32<FracDst>></a></li><li><a href="#impl-WrappingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI16%3CFracSrc%3E" title="WrappingCast<FixedI32<FracDst>>">WrappingCast<FixedI32<FracDst>></a></li><li><a href="#impl-WrappingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="WrappingCast<FixedI32<FracDst>>">WrappingCast<FixedI32<FracDst>></a></li><li><a href="#impl-WrappingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI64%3CFracSrc%3E" title="WrappingCast<FixedI32<FracDst>>">WrappingCast<FixedI32<FracDst>></a></li><li><a href="#impl-WrappingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI8%3CFracSrc%3E" title="WrappingCast<FixedI32<FracDst>>">WrappingCast<FixedI32<FracDst>></a></li><li><a href="#impl-WrappingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU128%3CFracSrc%3E" title="WrappingCast<FixedI32<FracDst>>">WrappingCast<FixedI32<FracDst>></a></li><li><a href="#impl-WrappingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU16%3CFracSrc%3E" title="WrappingCast<FixedI32<FracDst>>">WrappingCast<FixedI32<FracDst>></a></li><li><a href="#impl-WrappingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU32%3CFracSrc%3E" title="WrappingCast<FixedI32<FracDst>>">WrappingCast<FixedI32<FracDst>></a></li><li><a href="#impl-WrappingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU64%3CFracSrc%3E" title="WrappingCast<FixedI32<FracDst>>">WrappingCast<FixedI32<FracDst>></a></li><li><a href="#impl-WrappingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU8%3CFracSrc%3E" title="WrappingCast<FixedI32<FracDst>>">WrappingCast<FixedI32<FracDst>></a></li><li><a href="#impl-WrappingCast%3CFixedI64%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="WrappingCast<FixedI64<FracDst>>">WrappingCast<FixedI64<FracDst>></a></li><li><a href="#impl-WrappingCast%3CFixedI8%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="WrappingCast<FixedI8<FracDst>>">WrappingCast<FixedI8<FracDst>></a></li><li><a href="#impl-WrappingCast%3CFixedU128%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="WrappingCast<FixedU128<FracDst>>">WrappingCast<FixedU128<FracDst>></a></li><li><a href="#impl-WrappingCast%3CFixedU16%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="WrappingCast<FixedU16<FracDst>>">WrappingCast<FixedU16<FracDst>></a></li><li><a href="#impl-WrappingCast%3CFixedU32%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="WrappingCast<FixedU32<FracDst>>">WrappingCast<FixedU32<FracDst>></a></li><li><a href="#impl-WrappingCast%3CFixedU64%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="WrappingCast<FixedU64<FracDst>>">WrappingCast<FixedU64<FracDst>></a></li><li><a href="#impl-WrappingCast%3CFixedU8%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" title="WrappingCast<FixedU8<FracDst>>">WrappingCast<FixedU8<FracDst>></a></li><li><a href="#impl-WrappingCast%3Cbf16%3E-for-FixedI32%3CFrac%3E" title="WrappingCast<bf16>">WrappingCast<bf16></a></li><li><a href="#impl-WrappingCast%3Cf16%3E-for-FixedI32%3CFrac%3E" title="WrappingCast<f16>">WrappingCast<f16></a></li><li><a href="#impl-WrappingCast%3Cf32%3E-for-FixedI32%3CFrac%3E" title="WrappingCast<f32>">WrappingCast<f32></a></li><li><a href="#impl-WrappingCast%3Cf64%3E-for-FixedI32%3CFrac%3E" title="WrappingCast<f64>">WrappingCast<f64></a></li><li><a href="#impl-WrappingCast%3Ci128%3E-for-FixedI32%3CFrac%3E" title="WrappingCast<i128>">WrappingCast<i128></a></li><li><a href="#impl-WrappingCast%3Ci16%3E-for-FixedI32%3CFrac%3E" title="WrappingCast<i16>">WrappingCast<i16></a></li><li><a href="#impl-WrappingCast%3Ci32%3E-for-FixedI32%3CFrac%3E" title="WrappingCast<i32>">WrappingCast<i32></a></li><li><a href="#impl-WrappingCast%3Ci64%3E-for-FixedI32%3CFrac%3E" title="WrappingCast<i64>">WrappingCast<i64></a></li><li><a href="#impl-WrappingCast%3Ci8%3E-for-FixedI32%3CFrac%3E" title="WrappingCast<i8>">WrappingCast<i8></a></li><li><a href="#impl-WrappingCast%3Cisize%3E-for-FixedI32%3CFrac%3E" title="WrappingCast<isize>">WrappingCast<isize></a></li><li><a href="#impl-WrappingCast%3Cu128%3E-for-FixedI32%3CFrac%3E" title="WrappingCast<u128>">WrappingCast<u128></a></li><li><a href="#impl-WrappingCast%3Cu16%3E-for-FixedI32%3CFrac%3E" title="WrappingCast<u16>">WrappingCast<u16></a></li><li><a href="#impl-WrappingCast%3Cu32%3E-for-FixedI32%3CFrac%3E" title="WrappingCast<u32>">WrappingCast<u32></a></li><li><a href="#impl-WrappingCast%3Cu64%3E-for-FixedI32%3CFrac%3E" title="WrappingCast<u64>">WrappingCast<u64></a></li><li><a href="#impl-WrappingCast%3Cu8%3E-for-FixedI32%3CFrac%3E" title="WrappingCast<u8>">WrappingCast<u8></a></li><li><a href="#impl-WrappingCast%3Cusize%3E-for-FixedI32%3CFrac%3E" title="WrappingCast<usize>">WrappingCast<usize></a></li><li><a href="#impl-Zeroable-for-FixedI32%3CFrac%3E" title="Zeroable">Zeroable</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-FixedI32%3CFrac%3E" title="Freeze">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-FixedI32%3CFrac%3E" title="RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Send-for-FixedI32%3CFrac%3E" title="Send">Send</a></li><li><a href="#impl-Sync-for-FixedI32%3CFrac%3E" title="Sync">Sync</a></li><li><a href="#impl-Unpin-for-FixedI32%3CFrac%3E" title="Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe-for-FixedI32%3CFrac%3E" title="UnwindSafe">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T" title="Any">Any</a></li><li><a href="#impl-AnyBitPattern-for-T" title="AnyBitPattern">AnyBitPattern</a></li><li><a href="#impl-Az-for-T" title="Az">Az</a></li><li><a href="#impl-Borrow%3CT%3E-for-T" title="Borrow<T>">Borrow<T></a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T" title="BorrowMut<T>">BorrowMut<T></a></li><li><a href="#impl-CastFrom%3CSrc%3E-for-Dst" title="CastFrom<Src>">CastFrom<Src></a></li><li><a href="#impl-CheckedAs-for-T" title="CheckedAs">CheckedAs</a></li><li><a href="#impl-CheckedBitPattern-for-T" title="CheckedBitPattern">CheckedBitPattern</a></li><li><a href="#impl-CheckedCastFrom%3CSrc%3E-for-Dst" title="CheckedCastFrom<Src>">CheckedCastFrom<Src></a></li><li><a href="#impl-CloneToUninit-for-T" title="CloneToUninit">CloneToUninit</a></li><li><a href="#impl-From%3CT%3E-for-T" title="From<T>">From<T></a></li><li><a href="#impl-Into%3CU%3E-for-T" title="Into<U>">Into<U></a></li><li><a href="#impl-LosslessTryInto%3CDst%3E-for-Src" title="LosslessTryInto<Dst>">LosslessTryInto<Dst></a></li><li><a href="#impl-LossyInto%3CDst%3E-for-Src" title="LossyInto<Dst>">LossyInto<Dst></a></li><li><a href="#impl-NoUninit-for-T" title="NoUninit">NoUninit</a></li><li><a href="#impl-OverflowingAs-for-T" title="OverflowingAs">OverflowingAs</a></li><li><a href="#impl-OverflowingCastFrom%3CSrc%3E-for-Dst" title="OverflowingCastFrom<Src>">OverflowingCastFrom<Src></a></li><li><a href="#impl-Same-for-T" title="Same">Same</a></li><li><a href="#impl-SaturatingAs-for-T" title="SaturatingAs">SaturatingAs</a></li><li><a href="#impl-SaturatingCastFrom%3CSrc%3E-for-Dst" title="SaturatingCastFrom<Src>">SaturatingCastFrom<Src></a></li><li><a href="#impl-ToOwned-for-T" title="ToOwned">ToOwned</a></li><li><a href="#impl-ToString-for-T" title="ToString">ToString</a></li><li><a href="#impl-TransparentWrapperAlloc%3CI%3E-for-T" title="TransparentWrapperAlloc<I>">TransparentWrapperAlloc<I></a></li><li><a href="#impl-TryFrom%3CU%3E-for-T" title="TryFrom<U>">TryFrom<U></a></li><li><a href="#impl-TryInto%3CU%3E-for-T" title="TryInto<U>">TryInto<U></a></li><li><a href="#impl-UnwrappedAs-for-T" title="UnwrappedAs">UnwrappedAs</a></li><li><a href="#impl-UnwrappedCastFrom%3CSrc%3E-for-Dst" title="UnwrappedCastFrom<Src>">UnwrappedCastFrom<Src></a></li><li><a href="#impl-WrappingAs-for-T" title="WrappingAs">WrappingAs</a></li><li><a href="#impl-WrappingCastFrom%3CSrc%3E-for-Dst" title="WrappingCastFrom<Src>">WrappingCastFrom<Src></a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="index.html">In crate fixed</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">fixed</a></span><h1>Struct <span class="struct">FixedI32</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/fixed/lib.rs.html#766-783">Source</a> </span></div><pre class="rust item-decl"><code>pub struct FixedI32<Frac> { <span class="comment">/* private fields */</span> }</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A 32-bit signed number with <code>Frac</code> fractional bits.</p>
|
||
<p>The number has 32 bits, of which <i>f</i> = <code>Frac</code> are
|
||
fractional bits and 32 − <i>f</i> are integer bits.
|
||
The value <i>x</i> can lie in the range −2<sup>31</sup>/2<sup><i>f</i></sup> ≤ <i>x</i> < 2<sup>31</sup>/2<sup><i>f</i></sup>. The difference between successive
|
||
numbers is constant throughout the range: <i>Δ</i> = 1/2<sup><i>f</i></sup>.</p>
|
||
<p>For <code>FixedI32<<a href="types/extra/type.U0.html" title="type fixed::types::extra::U0">U0</a>></code>, <i>f</i> = 0 and
|
||
<i>Δ</i> = 1, and the fixed-point number behaves like an <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html" title="primitive i32"><code>i32</code></a> with the value lying in the range −2<sup>31</sup> ≤ <i>x</i> < 2<sup>31</sup>. For <code>FixedI32<<a href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>></code>,
|
||
<i>f</i> = 32 and
|
||
<i>Δ</i> = 1/2<sup>32</sup>, and the value lies in the
|
||
range −1/2 ≤ <i>x</i> < 1/2.</p>
|
||
<p><code>Frac</code> is an <a href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned"><code>Unsigned</code></a> as provided by the <a href="https://crates.io/crates/typenum"><em>typenum</em> crate</a>; the plan is to
|
||
to have a major version 2 where <code>Frac</code> is replaced by <code>FRAC</code> of type <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html" title="primitive i32"><code>i32</code></a>
|
||
when the Rust compiler’s <a href="https://github.com/rust-lang/rust/issues/76560"><code>generic_const_exprs</code> feature</a> is ready and stabilized.
|
||
An <a href="https://docs.rs/fixed/2.0.0-alpha/fixed/">alpha version</a> is already available.</p>
|
||
<p><code>FixedI32<Frac></code> has the same size, alignment and ABI as
|
||
<a href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html" title="primitive i32"><code>i32</code></a>; it is <code>#[repr(transparent)]</code> with
|
||
<a href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html" title="primitive i32"><code>i32</code></a> as the only non-zero-sized field.</p>
|
||
<h2 id="examples"><a class="doc-anchor" href="#examples">§</a>Examples</h2>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U3, FixedI32};
|
||
<span class="kw">let </span>eleven = FixedI32::<U3>::from_num(<span class="number">11</span>);
|
||
<span class="macro">assert_eq!</span>(eleven, FixedI32::<U3>::from_bits(<span class="number">11 </span><< <span class="number">3</span>));
|
||
<span class="macro">assert_eq!</span>(eleven, <span class="number">11</span>);
|
||
<span class="macro">assert_eq!</span>(eleven.to_string(), <span class="string">"11"</span>);
|
||
<span class="kw">let </span>two_point_75 = eleven / <span class="number">4</span>;
|
||
<span class="macro">assert_eq!</span>(two_point_75, FixedI32::<U3>::from_bits(<span class="number">11 </span><< <span class="number">1</span>));
|
||
<span class="macro">assert_eq!</span>(two_point_75, <span class="number">2.75</span>);
|
||
<span class="macro">assert_eq!</span>(two_point_75.to_string(), <span class="string">"2.8"</span>);</code></pre></div>
|
||
</div></details><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><a href="#impl-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="docblock"><p>The implementation of items in this block is independent
|
||
of the number of fractional bits <code>Frac</code>.</p>
|
||
</div><div class="impl-items"><details class="toggle" open><summary><section id="associatedconstant.ZERO" class="associatedconstant"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.ZERO" class="constant">ZERO</a>: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac> = _</h4></section></summary><div class="docblock"><p>Zero.</p>
|
||
<h5 id="examples-1"><a class="doc-anchor" href="#examples-1">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::ZERO, Fix::from_bits(<span class="number">0</span>));</code></pre></div>
|
||
</div></details><details class="toggle" open><summary><section id="associatedconstant.DELTA" class="associatedconstant"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.DELTA" class="constant">DELTA</a>: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac> = _</h4></section></summary><div class="docblock"><p>The difference between any two successive representable numbers, <i>Δ</i>.</p>
|
||
<p>If the number has <i>f</i> = <code>Frac</code> fractional bits, then
|
||
<i>Δ</i> = 1/2<sup><i>f</i></sup>.</p>
|
||
<h5 id="examples-2"><a class="doc-anchor" href="#examples-2">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::DELTA, Fix::from_bits(<span class="number">1</span>));
|
||
<span class="comment">// binary 0.0001 is decimal 0.0625
|
||
</span><span class="macro">assert_eq!</span>(Fix::DELTA, <span class="number">0.0625</span>);</code></pre></div>
|
||
</div></details><details class="toggle" open><summary><section id="associatedconstant.MIN" class="associatedconstant"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.MIN" class="constant">MIN</a>: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac> = _</h4></section></summary><div class="docblock"><p>The smallest value that can be represented.</p>
|
||
<p>If the number has <i>f</i> = <code>Frac</code> fractional bits,
|
||
then the minimum is −2<sup>31</sup>/2<sup><i>f</i></sup>.</p>
|
||
<h5 id="examples-3"><a class="doc-anchor" href="#examples-3">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::MIN, Fix::from_bits(i32::MIN));</code></pre></div>
|
||
</div></details><details class="toggle" open><summary><section id="associatedconstant.MAX" class="associatedconstant"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.MAX" class="constant">MAX</a>: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac> = _</h4></section></summary><div class="docblock"><p>The largest value that can be represented.</p>
|
||
<p>If the number has <i>f</i> = <code>Frac</code> fractional bits, then the maximum is
|
||
(2<sup>31</sup> − 1)/2<sup><i>f</i></sup>.</p>
|
||
<h5 id="examples-4"><a class="doc-anchor" href="#examples-4">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::MAX, Fix::from_bits(i32::MAX));</code></pre></div>
|
||
</div></details><details class="toggle" open><summary><section id="associatedconstant.IS_SIGNED" class="associatedconstant"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.IS_SIGNED" class="constant">IS_SIGNED</a>: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a> = true</h4></section></summary><div class="docblock"><p><a href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html" title="primitive bool"><code>true</code></a> because the <a href="struct.FixedI32.html" title="struct fixed::FixedI32"><code>FixedI32</code></a> type is signed.</p>
|
||
<h5 id="examples-5"><a class="doc-anchor" href="#examples-5">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert!</span>(Fix::IS_SIGNED);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.from_bits" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.from_bits" class="fn">from_bits</a>(bits: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Creates a fixed-point number that has a bitwise
|
||
representation identical to the given integer.</p>
|
||
<h5 id="examples-6"><a class="doc-anchor" href="#examples-6">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="comment">// 0010.0000 = 2
|
||
</span><span class="macro">assert_eq!</span>(Fix::from_bits(<span class="number">0b10_0000</span>), <span class="number">2</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.to_bits" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.to_bits" class="fn">to_bits</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a></h4></section></summary><div class="docblock"><p>Creates an integer that has a bitwise representation
|
||
identical to the given fixed-point number.</p>
|
||
<h5 id="examples-7"><a class="doc-anchor" href="#examples-7">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="comment">// 2 is 0010.0000
|
||
</span><span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">2</span>).to_bits(), <span class="number">0b10_0000</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.from_be" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.from_be" class="fn">from_be</a>(f: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Converts a fixed-point number from big endian to the target’s endianness.</p>
|
||
<h5 id="examples-8"><a class="doc-anchor" href="#examples-8">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>f = Fix::from_bits(<span class="number">0x1234_5678</span>);
|
||
<span class="kw">if </span><span class="macro">cfg!</span>(target_endian = <span class="string">"big"</span>) {
|
||
<span class="macro">assert_eq!</span>(Fix::from_be(f), f);
|
||
} <span class="kw">else </span>{
|
||
<span class="macro">assert_eq!</span>(Fix::from_be(f), f.swap_bytes());
|
||
}</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.from_le" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.from_le" class="fn">from_le</a>(f: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Converts a fixed-point number from little endian to the target’s endianness.</p>
|
||
<h5 id="examples-9"><a class="doc-anchor" href="#examples-9">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>f = Fix::from_bits(<span class="number">0x1234_5678</span>);
|
||
<span class="kw">if </span><span class="macro">cfg!</span>(target_endian = <span class="string">"little"</span>) {
|
||
<span class="macro">assert_eq!</span>(Fix::from_le(f), f);
|
||
} <span class="kw">else </span>{
|
||
<span class="macro">assert_eq!</span>(Fix::from_le(f), f.swap_bytes());
|
||
}</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.to_be" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.to_be" class="fn">to_be</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Converts <code>self</code> to big endian from the target’s endianness.</p>
|
||
<h5 id="examples-10"><a class="doc-anchor" href="#examples-10">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>f = Fix::from_bits(<span class="number">0x1234_5678</span>);
|
||
<span class="kw">if </span><span class="macro">cfg!</span>(target_endian = <span class="string">"big"</span>) {
|
||
<span class="macro">assert_eq!</span>(f.to_be(), f);
|
||
} <span class="kw">else </span>{
|
||
<span class="macro">assert_eq!</span>(f.to_be(), f.swap_bytes());
|
||
}</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.to_le" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.to_le" class="fn">to_le</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Converts <code>self</code> to little endian from the target’s endianness.</p>
|
||
<h5 id="examples-11"><a class="doc-anchor" href="#examples-11">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>f = Fix::from_bits(<span class="number">0x1234_5678</span>);
|
||
<span class="kw">if </span><span class="macro">cfg!</span>(target_endian = <span class="string">"little"</span>) {
|
||
<span class="macro">assert_eq!</span>(f.to_le(), f);
|
||
} <span class="kw">else </span>{
|
||
<span class="macro">assert_eq!</span>(f.to_le(), f.swap_bytes());
|
||
}</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.swap_bytes" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.swap_bytes" class="fn">swap_bytes</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Reverses the byte order of the fixed-point number.</p>
|
||
<h5 id="examples-12"><a class="doc-anchor" href="#examples-12">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>f = Fix::from_bits(<span class="number">0x1234_5678</span>);
|
||
<span class="kw">let </span>swapped = Fix::from_bits(<span class="number">0x7856_3412</span>);
|
||
<span class="macro">assert_eq!</span>(f.swap_bytes(), swapped);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.from_be_bytes" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.from_be_bytes" class="fn">from_be_bytes</a>(bytes: [<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.array.html">4</a>]) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Creates a fixed-point number from its representation
|
||
as a byte array in big endian.</p>
|
||
<h5 id="examples-13"><a class="doc-anchor" href="#examples-13">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(
|
||
Fix::from_be_bytes([<span class="number">0x12</span>, <span class="number">0x34</span>, <span class="number">0x56</span>, <span class="number">0x78</span>]),
|
||
Fix::from_bits(<span class="number">0x1234_5678</span>)
|
||
);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.from_le_bytes" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.from_le_bytes" class="fn">from_le_bytes</a>(bytes: [<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.array.html">4</a>]) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Creates a fixed-point number from its representation
|
||
as a byte array in little endian.</p>
|
||
<h5 id="examples-14"><a class="doc-anchor" href="#examples-14">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(
|
||
Fix::from_le_bytes([<span class="number">0x78</span>, <span class="number">0x56</span>, <span class="number">0x34</span>, <span class="number">0x12</span>]),
|
||
Fix::from_bits(<span class="number">0x1234_5678</span>)
|
||
);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.from_ne_bytes" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.from_ne_bytes" class="fn">from_ne_bytes</a>(bytes: [<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.array.html">4</a>]) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Creates a fixed-point number from its representation
|
||
as a byte array in native endian.</p>
|
||
<h5 id="examples-15"><a class="doc-anchor" href="#examples-15">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(
|
||
<span class="kw">if </span><span class="macro">cfg!</span>(target_endian = <span class="string">"big"</span>) {
|
||
Fix::from_ne_bytes([<span class="number">0x12</span>, <span class="number">0x34</span>, <span class="number">0x56</span>, <span class="number">0x78</span>])
|
||
} <span class="kw">else </span>{
|
||
Fix::from_ne_bytes([<span class="number">0x78</span>, <span class="number">0x56</span>, <span class="number">0x34</span>, <span class="number">0x12</span>])
|
||
},
|
||
Fix::from_bits(<span class="number">0x1234_5678</span>)
|
||
);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.to_be_bytes" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.to_be_bytes" class="fn">to_be_bytes</a>(self) -> [<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.array.html">4</a>]</h4></section></summary><div class="docblock"><p>Returns the memory representation of this fixed-point
|
||
number as a byte array in big-endian byte order.</p>
|
||
<h5 id="examples-16"><a class="doc-anchor" href="#examples-16">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>val = Fix::from_bits(<span class="number">0x1234_5678</span>);
|
||
<span class="macro">assert_eq!</span>(
|
||
val.to_be_bytes(),
|
||
[<span class="number">0x12</span>, <span class="number">0x34</span>, <span class="number">0x56</span>, <span class="number">0x78</span>]
|
||
);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.to_le_bytes" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.to_le_bytes" class="fn">to_le_bytes</a>(self) -> [<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.array.html">4</a>]</h4></section></summary><div class="docblock"><p>Returns the memory representation of this fixed-point
|
||
number as a byte array in little-endian byte order.</p>
|
||
<h5 id="examples-17"><a class="doc-anchor" href="#examples-17">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>val = Fix::from_bits(<span class="number">0x1234_5678</span>);
|
||
<span class="macro">assert_eq!</span>(
|
||
val.to_le_bytes(),
|
||
[<span class="number">0x78</span>, <span class="number">0x56</span>, <span class="number">0x34</span>, <span class="number">0x12</span>]
|
||
);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.to_ne_bytes" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.to_ne_bytes" class="fn">to_ne_bytes</a>(self) -> [<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.array.html">4</a>]</h4></section></summary><div class="docblock"><p>Returns the memory representation of this fixed-point
|
||
number as a byte array in native byte order.</p>
|
||
<h5 id="examples-18"><a class="doc-anchor" href="#examples-18">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>val = Fix::from_bits(<span class="number">0x1234_5678</span>);
|
||
<span class="macro">assert_eq!</span>(
|
||
val.to_ne_bytes(),
|
||
<span class="kw">if </span><span class="macro">cfg!</span>(target_endian = <span class="string">"big"</span>) {
|
||
[<span class="number">0x12</span>, <span class="number">0x34</span>, <span class="number">0x56</span>, <span class="number">0x78</span>]
|
||
} <span class="kw">else </span>{
|
||
[<span class="number">0x78</span>, <span class="number">0x56</span>, <span class="number">0x34</span>, <span class="number">0x12</span>]
|
||
}
|
||
);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.count_ones" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.count_ones" class="fn">count_ones</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a></h4></section></summary><div class="docblock"><p>Returns the number of ones in the binary
|
||
representation.</p>
|
||
<h5 id="examples-19"><a class="doc-anchor" href="#examples-19">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>f = Fix::from_bits(<span class="number">0b11_0010</span>);
|
||
<span class="macro">assert_eq!</span>(f.count_ones(), <span class="number">3</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.count_zeros" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.count_zeros" class="fn">count_zeros</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a></h4></section></summary><div class="docblock"><p>Returns the number of zeros in the binary
|
||
representation.</p>
|
||
<h5 id="examples-20"><a class="doc-anchor" href="#examples-20">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>f = Fix::from_bits(!<span class="number">0b11_0010</span>);
|
||
<span class="macro">assert_eq!</span>(f.count_zeros(), <span class="number">3</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.leading_ones" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.leading_ones" class="fn">leading_ones</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a></h4></section></summary><div class="docblock"><p>Returns the number of leading ones in the binary
|
||
representation.</p>
|
||
<h5 id="examples-21"><a class="doc-anchor" href="#examples-21">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>all_ones = !Fix::ZERO;
|
||
<span class="kw">let </span>f = all_ones - Fix::from_bits(<span class="number">0b10_0000</span>);
|
||
<span class="macro">assert_eq!</span>(f.leading_ones(), <span class="number">32 </span>- <span class="number">6</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.leading_zeros" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.leading_zeros" class="fn">leading_zeros</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a></h4></section></summary><div class="docblock"><p>Returns the number of leading zeros in the binary
|
||
representation.</p>
|
||
<h5 id="examples-22"><a class="doc-anchor" href="#examples-22">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>f = Fix::from_bits(<span class="number">0b10_0000</span>);
|
||
<span class="macro">assert_eq!</span>(f.leading_zeros(), <span class="number">32 </span>- <span class="number">6</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.trailing_ones" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.trailing_ones" class="fn">trailing_ones</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a></h4></section></summary><div class="docblock"><p>Returns the number of trailing ones in the binary
|
||
representation.</p>
|
||
<h5 id="examples-23"><a class="doc-anchor" href="#examples-23">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>f = Fix::from_bits(<span class="number">0b101_1111</span>);
|
||
<span class="macro">assert_eq!</span>(f.trailing_ones(), <span class="number">5</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.trailing_zeros" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.trailing_zeros" class="fn">trailing_zeros</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a></h4></section></summary><div class="docblock"><p>Returns the number of trailing zeros in the binary
|
||
representation.</p>
|
||
<h5 id="examples-24"><a class="doc-anchor" href="#examples-24">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>f = Fix::from_bits(<span class="number">0b10_0000</span>);
|
||
<span class="macro">assert_eq!</span>(f.trailing_zeros(), <span class="number">5</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.signed_bits" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.signed_bits" class="fn">signed_bits</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a></h4></section></summary><div class="docblock"><p>Returns the number of bits required to represent the value.</p>
|
||
<p>The number of bits required includes an initial one for negative
|
||
numbers, and an initial zero for non-negative numbers.</p>
|
||
<h5 id="examples-25"><a class="doc-anchor" href="#examples-25">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">3</span>).signed_bits(), <span class="number">7</span>); <span class="comment">// “_101.0000”
|
||
</span><span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">1</span>).signed_bits(), <span class="number">5</span>); <span class="comment">// “___1.0000”
|
||
</span><span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">0.0625</span>).signed_bits(), <span class="number">1</span>); <span class="comment">// “____.___1”
|
||
</span><span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">0</span>).signed_bits(), <span class="number">1</span>); <span class="comment">// “____.___0”
|
||
</span><span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">0.0625</span>).signed_bits(), <span class="number">2</span>); <span class="comment">// “____.__01”
|
||
</span><span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">1</span>).signed_bits(), <span class="number">6</span>); <span class="comment">// “__01.0000”
|
||
</span><span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">3</span>).signed_bits(), <span class="number">7</span>); <span class="comment">// “_011.0000”</span></code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.reverse_bits" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.reverse_bits" class="fn">reverse_bits</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Reverses the order of the bits of the fixed-point number.</p>
|
||
<h5 id="examples-26"><a class="doc-anchor" href="#examples-26">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>bits = <span class="number">0x1234_5678_i32</span>;
|
||
<span class="kw">let </span>rev_bits = bits.reverse_bits();
|
||
<span class="macro">assert_eq!</span>(Fix::from_bits(bits).reverse_bits(), Fix::from_bits(rev_bits));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.rotate_left" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.rotate_left" class="fn">rotate_left</a>(self, n: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Shifts to the left by <code>n</code> bits, wrapping the
|
||
truncated bits to the right end.</p>
|
||
<h5 id="examples-27"><a class="doc-anchor" href="#examples-27">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>bits: i32 = (<span class="number">0b111 </span><< (<span class="number">32 </span>- <span class="number">3</span>)) | <span class="number">0b1010</span>;
|
||
<span class="kw">let </span>rot = <span class="number">0b1010111</span>;
|
||
<span class="macro">assert_eq!</span>(bits.rotate_left(<span class="number">3</span>), rot);
|
||
<span class="macro">assert_eq!</span>(Fix::from_bits(bits).rotate_left(<span class="number">3</span>), Fix::from_bits(rot));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.rotate_right" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.rotate_right" class="fn">rotate_right</a>(self, n: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Shifts to the right by <code>n</code> bits, wrapping the
|
||
truncated bits to the left end.</p>
|
||
<h5 id="examples-28"><a class="doc-anchor" href="#examples-28">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>bits: i32 = <span class="number">0b1010111</span>;
|
||
<span class="kw">let </span>rot = (<span class="number">0b111 </span><< (<span class="number">32 </span>- <span class="number">3</span>)) | <span class="number">0b1010</span>;
|
||
<span class="macro">assert_eq!</span>(bits.rotate_right(<span class="number">3</span>), rot);
|
||
<span class="macro">assert_eq!</span>(Fix::from_bits(bits).rotate_right(<span class="number">3</span>), Fix::from_bits(rot));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.is_zero" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.is_zero" class="fn">is_zero</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Returns <a href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html" title="primitive bool"><code>true</code></a> if the number is zero.</p>
|
||
<h5 id="examples-29"><a class="doc-anchor" href="#examples-29">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert!</span>(Fix::ZERO.is_zero());
|
||
<span class="macro">assert!</span>(!Fix::from_num(<span class="number">5</span>).is_zero());</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.is_positive" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.is_positive" class="fn">is_positive</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Returns <a href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html" title="primitive bool"><code>true</code></a> if the number is > 0.</p>
|
||
<h5 id="examples-30"><a class="doc-anchor" href="#examples-30">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert!</span>(Fix::from_num(<span class="number">5</span>).is_positive());
|
||
<span class="macro">assert!</span>(!Fix::ZERO.is_positive());
|
||
<span class="macro">assert!</span>(!Fix::from_num(-<span class="number">5</span>).is_positive());</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.is_negative" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.is_negative" class="fn">is_negative</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Returns <a href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html" title="primitive bool"><code>true</code></a> if the number is < 0.</p>
|
||
<h5 id="examples-31"><a class="doc-anchor" href="#examples-31">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert!</span>(!Fix::from_num(<span class="number">5</span>).is_negative());
|
||
<span class="macro">assert!</span>(!Fix::ZERO.is_negative());
|
||
<span class="macro">assert!</span>(Fix::from_num(-<span class="number">5</span>).is_negative());</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.wide_mul" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.wide_mul" class="fn">wide_mul</a><RhsFrac>(
|
||
self,
|
||
rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><RhsFrac>,
|
||
) -> <a class="struct" href="struct.FixedI64.html" title="struct fixed::FixedI64">FixedI64</a><<a class="type" href="types/extra/type.Sum.html" title="type fixed::types::extra::Sum">Sum</a><Frac, RhsFrac>><div class="where">where
|
||
Frac: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a><RhsFrac>,</div></h4></section></summary><div class="docblock"><p>Multiplies two fixed-point numbers and returns a
|
||
wider type to retain all precision.</p>
|
||
<p>If <code>self</code> has <i>f</i> fractional bits and 32 − <i>f</i>
|
||
integer bits, and <code>rhs</code> has <i>g</i> fractional bits and 32 − <i>g</i> integer bits, then the returned fixed-point number will
|
||
have <i>f</i> + <i>g</i> fractional bits and 64 − <i>f</i> − <i>g</i> integer bits.</p>
|
||
<h5 id="examples-32"><a class="doc-anchor" href="#examples-32">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{
|
||
types::extra::{U2, U4},
|
||
FixedI32,
|
||
};
|
||
<span class="comment">// decimal: 1.25 × 1.0625 = 1.328_125
|
||
// binary: 1.01 × 1.0001 = 1.010101
|
||
</span><span class="kw">let </span>a = FixedI32::<U2>::from_num(<span class="number">1.25</span>);
|
||
<span class="kw">let </span>b = FixedI32::<U4>::from_num(<span class="number">1.0625</span>);
|
||
<span class="macro">assert_eq!</span>(a.wide_mul(b), <span class="number">1.328_125</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.wide_mul_unsigned" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.wide_mul_unsigned" class="fn">wide_mul_unsigned</a><RhsFrac>(
|
||
self,
|
||
rhs: <a class="struct" href="struct.FixedU32.html" title="struct fixed::FixedU32">FixedU32</a><RhsFrac>,
|
||
) -> <a class="struct" href="struct.FixedI64.html" title="struct fixed::FixedI64">FixedI64</a><<a class="type" href="types/extra/type.Sum.html" title="type fixed::types::extra::Sum">Sum</a><Frac, RhsFrac>><div class="where">where
|
||
Frac: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a><RhsFrac>,</div></h4></section></summary><div class="docblock"><p>Multiplies an unsigned fixed-point number and returns a
|
||
wider signed type to retain all precision.</p>
|
||
<p>If <code>self</code> has <i>f</i> fractional bits and
|
||
32 − <i>f</i>
|
||
integer bits, and <code>rhs</code> has <i>g</i> fractional bits and
|
||
32 − <i>g</i>
|
||
integer bits, then the returned fixed-point number will
|
||
have <i>f</i> + <i>g</i> fractional bits and
|
||
64 − <i>f</i> − <i>g</i>
|
||
integer bits.</p>
|
||
<h5 id="examples-33"><a class="doc-anchor" href="#examples-33">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{
|
||
types::extra::{U2, U4},
|
||
FixedI32, FixedU32,
|
||
};
|
||
<span class="comment">// decimal: -1.25 × 1.0625 = -1.328_125
|
||
// binary: -1.01 × 1.0001 = -1.010101
|
||
</span><span class="kw">let </span>a = FixedI32::<U2>::from_num(-<span class="number">1.25</span>);
|
||
<span class="kw">let </span>b = FixedU32::<U4>::from_num(<span class="number">1.0625</span>);
|
||
<span class="macro">assert_eq!</span>(a.wide_mul_unsigned(b), -<span class="number">1.328_125</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.wide_div" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.wide_div" class="fn">wide_div</a><RhsFrac>(
|
||
self,
|
||
rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><RhsFrac>,
|
||
) -> <a class="struct" href="struct.FixedI64.html" title="struct fixed::FixedI64">FixedI64</a><<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.Sum.html" title="type fixed::types::extra::Sum">Sum</a><<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>, Frac>, RhsFrac>><div class="where">where
|
||
<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a><Frac>,
|
||
<a class="type" href="types/extra/type.Sum.html" title="type fixed::types::extra::Sum">Sum</a><<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>, Frac>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><RhsFrac>,</div></h4></section></summary><div class="docblock"><p>Divides two fixed-point numbers and returns a
|
||
wider type to retain more precision.</p>
|
||
<p>If <code>self</code> has <i>f</i> fractional bits
|
||
and 32 − <i>f</i> integer bits, and <code>rhs</code> has
|
||
<i>g</i> fractional bits and 32 − <i>g</i> integer
|
||
bits, then the returned fixed-point number will
|
||
have 32 + <i>f</i> − <i>g</i> fractional
|
||
bits and 32 − <i>f</i> + <i>g</i> integer
|
||
bits.</p>
|
||
<p><strong>Warning:</strong> While most cases of overflow are avoided using this method,
|
||
dividing <a href="struct.FixedI32.html#associatedconstant.MIN" title="associated constant fixed::FixedI32::MIN"><code>MIN</code></a> by <code>-<a href="struct.FixedI32.html#associatedconstant.DELTA" title="associated constant fixed::FixedI32::DELTA">DELTA</a></code> will still
|
||
result in panic due to overflow. The alternative <a href="struct.FixedI32.html#method.wide_sdiv" title="method fixed::FixedI32::wide_sdiv"><code>wide_sdiv</code></a>
|
||
method avoids this by sacrificing one fractional bit in the return type.</p>
|
||
<h5 id="panics"><a class="doc-anchor" href="#panics">§</a>Panics</h5>
|
||
<p>Panics if the divisor is zero or on overflow. Overflow can only occur when dividing
|
||
<a href="struct.FixedI32.html#associatedconstant.MIN" title="associated constant fixed::FixedI32::MIN"><code>MIN</code></a> by <code>-<a href="struct.FixedI32.html#associatedconstant.DELTA" title="associated constant fixed::FixedI32::DELTA">DELTA</a></code>.</p>
|
||
<h5 id="examples-34"><a class="doc-anchor" href="#examples-34">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{
|
||
types::extra::{U3, U5, U30},
|
||
FixedI32, FixedI64,
|
||
};
|
||
<span class="comment">// decimal: 4.625 / 0.03125 = 148
|
||
// binary: 100.101 / 0.00001 = 10010100
|
||
</span><span class="kw">let </span>a = FixedI32::<U3>::from_num(<span class="number">4.625</span>);
|
||
<span class="kw">let </span>b = FixedI32::<U5>::from_num(<span class="number">0.03125</span>);
|
||
<span class="kw">let </span>ans: FixedI64<U30> = a.wide_div(b);
|
||
<span class="macro">assert_eq!</span>(ans, <span class="number">148</span>);</code></pre></div>
|
||
<p>The following panics because of overflow.</p>
|
||
|
||
<div class="example-wrap should_panic"><a href="#" class="tooltip" title="This example panics">ⓘ</a><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>_overflow = Fix::MIN.wide_div(-Fix::DELTA);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.wide_sdiv" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.wide_sdiv" class="fn">wide_sdiv</a><RhsFrac>(
|
||
self,
|
||
rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><RhsFrac>,
|
||
) -> <a class="struct" href="struct.FixedI64.html" title="struct fixed::FixedI64">FixedI64</a><<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.Sum.html" title="type fixed::types::extra::Sum">Sum</a><<a class="type" href="types/extra/type.U31.html" title="type fixed::types::extra::U31">U31</a>, Frac>, RhsFrac>><div class="where">where
|
||
<a class="type" href="types/extra/type.U31.html" title="type fixed::types::extra::U31">U31</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a><Frac>,
|
||
<a class="type" href="types/extra/type.Sum.html" title="type fixed::types::extra::Sum">Sum</a><<a class="type" href="types/extra/type.U31.html" title="type fixed::types::extra::U31">U31</a>, Frac>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><RhsFrac>,</div></h4></section></summary><div class="docblock"><p>Divides two fixed-point numbers and returns a wider type
|
||
to retain more precision.</p>
|
||
<p>If <code>self</code> has <i>f</i> fractional bits and
|
||
32 − <i>f</i>
|
||
integer bits, and <code>rhs</code> has <i>g</i> fractional bits and
|
||
32 − <i>g</i>
|
||
integer bits, then the returned fixed-point number will have
|
||
31 + <i>f</i> − <i>g</i>
|
||
fractional bits and
|
||
33 − <i>f</i> + <i>g</i>
|
||
integer bits.</p>
|
||
<p>This is similar to the <a href="struct.FixedI32.html#method.wide_div" title="method fixed::FixedI32::wide_div"><code>wide_div</code></a> method but
|
||
sacrifices one fractional bit to avoid overflow.</p>
|
||
<h5 id="panics-1"><a class="doc-anchor" href="#panics-1">§</a>Panics</h5>
|
||
<p>Panics if the divisor is zero.</p>
|
||
<h5 id="examples-35"><a class="doc-anchor" href="#examples-35">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{
|
||
types::extra::{U4, U5, U30},
|
||
FixedI32, FixedI64,
|
||
};
|
||
<span class="comment">// decimal: 4.625 / 0.03125 = 148
|
||
// binary: 100.101 / 0.00001 = 10010100
|
||
</span><span class="kw">let </span>a = FixedI32::<U4>::from_num(<span class="number">4.625</span>);
|
||
<span class="kw">let </span>b = FixedI32::<U5>::from_num(<span class="number">0.03125</span>);
|
||
<span class="kw">let </span>ans: FixedI64<U30> = a.wide_sdiv(b);
|
||
<span class="macro">assert_eq!</span>(ans, <span class="number">148</span>);</code></pre></div>
|
||
<p>Unlike <a href="struct.FixedI32.html#method.wide_div" title="method fixed::FixedI32::wide_div"><code>wide_div</code></a>, dividing <a href="struct.FixedI32.html#associatedconstant.MIN" title="associated constant fixed::FixedI32::MIN"><code>MIN</code></a> by
|
||
<code>-<a href="struct.FixedI32.html#associatedconstant.DELTA" title="associated constant fixed::FixedI32::DELTA">DELTA</a></code> does not overflow.</p>
|
||
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{
|
||
types::extra::{U4, U31},
|
||
FixedI32, FixedI64,
|
||
};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">type </span>DFix = FixedI64<U31>;
|
||
<span class="macro">assert_eq!</span>(Fix::MIN.wide_sdiv(-Fix::DELTA), (DFix::MIN / <span class="number">2</span>).abs());</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.wide_div_unsigned" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.wide_div_unsigned" class="fn">wide_div_unsigned</a><RhsFrac>(
|
||
self,
|
||
rhs: <a class="struct" href="struct.FixedU32.html" title="struct fixed::FixedU32">FixedU32</a><RhsFrac>,
|
||
) -> <a class="struct" href="struct.FixedI64.html" title="struct fixed::FixedI64">FixedI64</a><<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.Sum.html" title="type fixed::types::extra::Sum">Sum</a><<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>, Frac>, RhsFrac>><div class="where">where
|
||
<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a><Frac>,
|
||
<a class="type" href="types/extra/type.Sum.html" title="type fixed::types::extra::Sum">Sum</a><<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>, Frac>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><RhsFrac>,</div></h4></section></summary><div class="docblock"><p>Divides by an unsigned fixed-point number and returns a
|
||
wider signed type to retain more precision.</p>
|
||
<p>If <code>self</code> has <i>f</i> fractional bits and
|
||
32 − <i>f</i>
|
||
integer bits, and <code>rhs</code> has <i>g</i> fractional bits and
|
||
32 − <i>g</i>
|
||
integer bits, then the returned fixed-point number will have
|
||
32 + <i>f</i> − <i>g</i>
|
||
fractional bits and
|
||
32 − <i>f</i> + <i>g</i>
|
||
integer bits.</p>
|
||
<h5 id="panics-2"><a class="doc-anchor" href="#panics-2">§</a>Panics</h5>
|
||
<p>Panics if the divisor is zero.</p>
|
||
<h5 id="examples-36"><a class="doc-anchor" href="#examples-36">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{
|
||
types::extra::{U3, U5, U30},
|
||
FixedI32, FixedI64, FixedU32,
|
||
};
|
||
<span class="comment">// decimal: -4.625 / 0.03125 = -148
|
||
// binary: -100.101 / 0.00001 = -10010100
|
||
</span><span class="kw">let </span>a = FixedI32::<U3>::from_num(-<span class="number">4.625</span>);
|
||
<span class="kw">let </span>b = FixedU32::<U5>::from_num(<span class="number">0.03125</span>);
|
||
<span class="kw">let </span>ans: FixedI64<U30> = a.wide_div_unsigned(b);
|
||
<span class="macro">assert_eq!</span>(ans, -<span class="number">148</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.mul_add" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.mul_add" class="fn">mul_add</a><MulFrac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>>(
|
||
self,
|
||
mul: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><MulFrac>,
|
||
add: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>,
|
||
) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Multiply and add. Returns <code>self</code> × <code>mul</code> + <code>add</code>.</p>
|
||
<p>For some cases, the product <code>self</code> × <code>mul</code> would overflow
|
||
on its own, but the final result <code>self</code> × <code>mul</code> + <code>add</code> is representable; in
|
||
these cases this method returns the correct result without overflow.</p>
|
||
<p>The <code>mul</code> parameter can have a fixed-point type like
|
||
<code>self</code> but with a different number of fractional bits.</p>
|
||
<h5 id="panics-3"><a class="doc-anchor" href="#panics-3">§</a>Panics</h5>
|
||
<p>When debug assertions are enabled, this method panics if the result
|
||
overflows. When debug assertions are not enabled, the wrapped value
|
||
can be returned, but it is not considered a breaking change if in the
|
||
future it panics; if wrapping is required use <a href="struct.FixedI32.html#method.wrapping_mul_add" title="method fixed::FixedI32::wrapping_mul_add"><code>wrapping_mul_add</code></a>
|
||
instead.</p>
|
||
<h5 id="examples-37"><a class="doc-anchor" href="#examples-37">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(
|
||
Fix::from_num(<span class="number">4</span>).mul_add(Fix::from_num(<span class="number">0.5</span>), Fix::from_num(<span class="number">3</span>)),
|
||
Fix::from_num(<span class="number">5</span>)
|
||
);
|
||
<span class="comment">// MAX × 1.5 - MAX = MAX / 2, which does not overflow
|
||
</span><span class="macro">assert_eq!</span>(Fix::MAX.mul_add(Fix::from_num(<span class="number">1.5</span>), -Fix::MAX), Fix::MAX / <span class="number">2</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.rem_euclid" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.rem_euclid" class="fn">rem_euclid</a>(self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Remainder for Euclidean division.</p>
|
||
<h5 id="panics-4"><a class="doc-anchor" href="#panics-4">§</a>Panics</h5>
|
||
<p>Panics if the divisor is zero.</p>
|
||
<h5 id="examples-38"><a class="doc-anchor" href="#examples-38">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">7.5</span>).rem_euclid(Fix::from_num(<span class="number">2</span>)), Fix::from_num(<span class="number">1.5</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">7.5</span>).rem_euclid(Fix::from_num(<span class="number">2</span>)), Fix::from_num(<span class="number">0.5</span>));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.abs" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.abs" class="fn">abs</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Returns the absolute value.</p>
|
||
<h5 id="examples-39"><a class="doc-anchor" href="#examples-39">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>five = Fix::from_num(<span class="number">5</span>);
|
||
<span class="kw">let </span>minus_five = Fix::from_num(-<span class="number">5</span>);
|
||
<span class="macro">assert_eq!</span>(five.abs(), five);
|
||
<span class="macro">assert_eq!</span>(minus_five.abs(), five);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.unsigned_abs" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.unsigned_abs" class="fn">unsigned_abs</a>(self) -> <a class="struct" href="struct.FixedU32.html" title="struct fixed::FixedU32">FixedU32</a><Frac></h4></section></summary><div class="docblock"><p>Returns the absolute value using an unsigned type
|
||
without any wrapping or panicking.</p>
|
||
<h5 id="examples-40"><a class="doc-anchor" href="#examples-40">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32, FixedU32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">type </span>UFix = FixedU32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">5</span>).unsigned_abs(), UFix::from_num(<span class="number">5</span>));
|
||
<span class="comment">// min_as_unsigned has only highest bit set
|
||
</span><span class="kw">let </span>min_as_unsigned = UFix::ONE << (UFix::INT_NBITS - <span class="number">1</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::MIN.unsigned_abs(), min_as_unsigned);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.dist" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.dist" class="fn">dist</a>(self, other: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Returns the distance from <code>self</code> to <code>other</code>.</p>
|
||
<p>The distance is the absolute value of the difference.</p>
|
||
<h5 id="panics-5"><a class="doc-anchor" href="#panics-5">§</a>Panics</h5>
|
||
<p>When debug assertions are enabled, this method panics if the result overflows.
|
||
When debug assertions are not enabled, the wrapped value can be returned, but it
|
||
is not considered a breaking change if in the future it panics; if wrapping is
|
||
required use <a href="struct.FixedI32.html#method.wrapping_dist" title="method fixed::FixedI32::wrapping_dist"><code>wrapping_dist</code></a> instead.</p>
|
||
<h5 id="examples-41"><a class="doc-anchor" href="#examples-41">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::ONE.dist(Fix::from_num(<span class="number">5</span>)), Fix::from_num(<span class="number">4</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::NEG_ONE.dist(Fix::from_num(<span class="number">2</span>)), Fix::from_num(<span class="number">3</span>));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.unsigned_dist" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.unsigned_dist" class="fn">unsigned_dist</a>(self, other: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedU32.html" title="struct fixed::FixedU32">FixedU32</a><Frac></h4></section></summary><div class="docblock"><p>Returns the distance from <code>self</code> to <code>other</code> using an
|
||
unsigned type without any wrapping or panicking.</p>
|
||
<p>The distance is the absolute value of the difference.</p>
|
||
<h5 id="examples-42"><a class="doc-anchor" href="#examples-42">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32, FixedU32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">type </span>UFix = FixedU32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::NEG_ONE.unsigned_dist(Fix::from_num(<span class="number">2</span>)), UFix::from_num(<span class="number">3</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::MIN.unsigned_dist(Fix::MAX), UFix::MAX);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.abs_diff" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.abs_diff" class="fn">abs_diff</a>(self, other: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedU32.html" title="struct fixed::FixedU32">FixedU32</a><Frac></h4></section></summary><div class="docblock"><p>Returns the absolute value of the difference between <code>self</code>
|
||
and <code>other</code> using an unsigned type without any wrapping or panicking.</p>
|
||
<p>This method is the same as <a href="struct.FixedI32.html#method.unsigned_dist" title="method fixed::FixedI32::unsigned_dist"><code>unsigned_dist</code></a> for signed fixed-point numbers.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.mean" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.mean" class="fn">mean</a>(self, other: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Returns the mean of <code>self</code> and <code>other</code>.</p>
|
||
<h5 id="examples-43"><a class="doc-anchor" href="#examples-43">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">3</span>).mean(Fix::from_num(<span class="number">4</span>)), Fix::from_num(<span class="number">3.5</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">3</span>).mean(Fix::from_num(<span class="number">4</span>)), Fix::from_num(<span class="number">0.5</span>));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.hypot" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.hypot" class="fn">hypot</a>(self, other: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Compute the hypotenuse of a right triange.</p>
|
||
<p>The hypotenuse is equal to the square root of the sum of the squares of the
|
||
operands.</p>
|
||
<p>This method uses an iterative method for its square root, with up to 32
|
||
iterations for <a href="struct.FixedI32.html" title="struct fixed::FixedI32"><code>FixedI32</code></a>. The result is rounded down, and the
|
||
error is < <a href="struct.FixedI32.html#associatedconstant.DELTA" title="associated constant fixed::FixedI32::DELTA"><code>DELTA</code></a>. That is,
|
||
result ≤ √(<code>self</code>² + <code>other</code>²) < result + <code>DELTA</code>.</p>
|
||
<h5 id="panics-6"><a class="doc-anchor" href="#panics-6">§</a>Panics</h5>
|
||
<p>When debug assertions are enabled, this method panics if the result overflows.
|
||
When debug assertions are not enabled, the wrapped value can be returned, but it
|
||
is not considered a breaking change if in the future it panics; if wrapping is
|
||
required use <a href="struct.FixedI32.html#method.wrapping_hypot" title="method fixed::FixedI32::wrapping_hypot"><code>wrapping_hypot</code></a> instead.</p>
|
||
<h5 id="examples-44"><a class="doc-anchor" href="#examples-44">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::types::extra::U28;
|
||
<span class="kw">use </span>fixed::FixedI32;
|
||
<span class="kw">type </span>Fix = FixedI32<U28>;
|
||
|
||
<span class="comment">// hypot(3, 4) == 5
|
||
</span><span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">3</span>).hypot(Fix::from_num(<span class="number">4</span>)), Fix::from_num(<span class="number">5</span>));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.next_multiple_of" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.next_multiple_of" class="fn">next_multiple_of</a>(self, other: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Returns the smallest multiple of <code>other</code> that is ≥ <code>self</code> if <code>other</code> is positive, and the largest multiple of
|
||
<code>other</code> that is ≤ <code>self</code> if <code>other</code> is negative.</p>
|
||
<h5 id="panics-7"><a class="doc-anchor" href="#panics-7">§</a>Panics</h5>
|
||
<p>Panics if <code>other</code> is zero.</p>
|
||
<p>When debug assertions are enabled, this method also panics if the result
|
||
overflows. When debug assertions are not enabled, the wrapped value can be
|
||
returned, but it is not considered a breaking change if in the future it panics;
|
||
if wrapping is required use <a href="struct.FixedI32.html#method.wrapping_next_multiple_of" title="method fixed::FixedI32::wrapping_next_multiple_of"><code>wrapping_next_multiple_of</code></a> instead.</p>
|
||
<h5 id="examples-45"><a class="doc-anchor" href="#examples-45">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(
|
||
Fix::from_num(<span class="number">4</span>).next_multiple_of(Fix::from_num(<span class="number">1.5</span>)),
|
||
Fix::from_num(<span class="number">4.5</span>)
|
||
);
|
||
<span class="macro">assert_eq!</span>(
|
||
Fix::from_num(<span class="number">4</span>).next_multiple_of(Fix::from_num(-<span class="number">1.5</span>)),
|
||
Fix::from_num(<span class="number">3</span>)
|
||
);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.inv_lerp" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.inv_lerp" class="fn">inv_lerp</a><RetFrac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>>(
|
||
self,
|
||
start: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>,
|
||
end: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>,
|
||
) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><RetFrac></h4></section></summary><div class="docblock"><p>Inverse linear interpolation between <code>start</code> and <code>end</code>.</p>
|
||
<p>The computed value can have a fixed-point type like <code>self</code> but with a different
|
||
number of fractional bits.</p>
|
||
<p>Returns
|
||
(<code>self</code> − <code>start</code>) / (<code>end</code> − <code>start</code>).
|
||
This is 0 when <code>self</code> = <code>start</code>, and 1 when <code>self</code> = <code>end</code>.</p>
|
||
<h5 id="panics-8"><a class="doc-anchor" href="#panics-8">§</a>Panics</h5>
|
||
<p>Panics when <code>start</code> = <code>end</code>.</p>
|
||
<p>When debug assertions are enabled, this method also panics if the result
|
||
overflows. When debug assertions are not enabled, the wrapped value can be
|
||
returned, but it is not considered a breaking change if in the future it panics;
|
||
if wrapping is required use <a href="struct.FixedI32.html#method.wrapping_inv_lerp" title="method fixed::FixedI32::wrapping_inv_lerp"><code>wrapping_inv_lerp</code></a> instead.</p>
|
||
<h5 id="examples-46"><a class="doc-anchor" href="#examples-46">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>start = Fix::from_num(<span class="number">2</span>);
|
||
<span class="kw">let </span>end = Fix::from_num(<span class="number">3.5</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">0.5</span>).inv_lerp::<U4>(start, end), -<span class="number">1</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">2</span>).inv_lerp::<U4>(start, end), <span class="number">0</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">2.75</span>).inv_lerp::<U4>(start, end), <span class="number">0.5</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">3.5</span>).inv_lerp::<U4>(start, end), <span class="number">1</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">5</span>).inv_lerp::<U4>(start, end), <span class="number">2</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.add_unsigned" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.add_unsigned" class="fn">add_unsigned</a>(self, rhs: <a class="struct" href="struct.FixedU32.html" title="struct fixed::FixedU32">FixedU32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Addition with an unsigned fixed-point number.</p>
|
||
<h5 id="panics-9"><a class="doc-anchor" href="#panics-9">§</a>Panics</h5>
|
||
<p>When debug assertions are enabled, this method panics if the
|
||
result overflows. When debug assertions are not enabled, the
|
||
wrapped value can be returned, but it is not considered a
|
||
breaking change if in the future it panics; if wrapping is
|
||
required use <a href="struct.FixedI32.html#method.wrapping_add_unsigned" title="method fixed::FixedI32::wrapping_add_unsigned"><code>wrapping_add_unsigned</code></a> instead.</p>
|
||
<h5 id="examples-47"><a class="doc-anchor" href="#examples-47">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32, FixedU32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">type </span>UFix = FixedU32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">5</span>).add_unsigned(UFix::from_num(<span class="number">3</span>)), -<span class="number">2</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.sub_unsigned" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.sub_unsigned" class="fn">sub_unsigned</a>(self, rhs: <a class="struct" href="struct.FixedU32.html" title="struct fixed::FixedU32">FixedU32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Subtraction with an unsigned fixed-point number.</p>
|
||
<h5 id="panics-10"><a class="doc-anchor" href="#panics-10">§</a>Panics</h5>
|
||
<p>When debug assertions are enabled, this method panics if the
|
||
result overflows. When debug assertions are not enabled, the
|
||
wrapped value can be returned, but it is not considered a
|
||
breaking change if in the future it panics; if wrapping is
|
||
required use <a href="struct.FixedI32.html#method.wrapping_sub_unsigned" title="method fixed::FixedI32::wrapping_sub_unsigned"><code>wrapping_sub_unsigned</code></a> instead.</p>
|
||
<h5 id="examples-48"><a class="doc-anchor" href="#examples-48">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32, FixedU32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">type </span>UFix = FixedU32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">3</span>).sub_unsigned(UFix::from_num(<span class="number">5</span>)), -<span class="number">2</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.const_not" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.const_not" class="fn">const_not</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Bitwise NOT. Usable in constant context.</p>
|
||
<p>This is equivalent to the <code>!</code> operator and
|
||
<code><a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Not.html" title="trait core::ops::bit::Not">Not</a>::<a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Not.html#tymethod.not" title="method core::ops::bit::Not::not">not</a></code>, but
|
||
can also be used in constant context. Unless required in constant
|
||
context, use the operator or trait instead.</p>
|
||
<h5 id="planned-deprecation"><a class="doc-anchor" href="#planned-deprecation">§</a>Planned deprecation</h5>
|
||
<p>This method will be deprecated when the <code>!</code> operator and the
|
||
<a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Not.html" title="trait core::ops::bit::Not"><code>Not</code></a> trait are usable in constant context.</p>
|
||
<h5 id="examples-49"><a class="doc-anchor" href="#examples-49">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">const </span>A: Fix = Fix::from_bits(<span class="number">0x3E</span>);
|
||
<span class="kw">const </span>NOT_A: Fix = A.const_not();
|
||
<span class="macro">assert_eq!</span>(NOT_A, !A);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.const_bitand" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.const_bitand" class="fn">const_bitand</a>(self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Bitwise AND. Usable in constant context.</p>
|
||
<p>This is equivalent to the <code>&</code> operator and
|
||
<code><a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitAnd.html" title="trait core::ops::bit::BitAnd">BitAnd</a>::<a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitAnd.html#tymethod.bitand" title="method core::ops::bit::BitAnd::bitand">bitand</a></code>,
|
||
but can also be used in constant context. Unless required in constant
|
||
context, use the operator or trait instead.</p>
|
||
<h5 id="planned-deprecation-1"><a class="doc-anchor" href="#planned-deprecation-1">§</a>Planned deprecation</h5>
|
||
<p>This method will be deprecated when the <code>&</code> operator and the
|
||
<a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitAnd.html" title="trait core::ops::bit::BitAnd"><code>BitAnd</code></a> trait are usable in constant context.</p>
|
||
<h5 id="examples-50"><a class="doc-anchor" href="#examples-50">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">const </span>A: Fix = Fix::from_bits(<span class="number">0x3E</span>);
|
||
<span class="kw">const </span>B: Fix = Fix::from_bits(<span class="number">0x55</span>);
|
||
<span class="kw">const </span>A_BITAND_B: Fix = A.const_bitand(B);
|
||
<span class="macro">assert_eq!</span>(A_BITAND_B, A & B);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.const_bitor" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.const_bitor" class="fn">const_bitor</a>(self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Bitwise OR. Usable in constant context.</p>
|
||
<p>This is equivalent to the <code>|</code> operator and
|
||
<code><a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitOr.html" title="trait core::ops::bit::BitOr">BitOr</a>::<a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitOr.html#tymethod.bitor" title="method core::ops::bit::BitOr::bitor">bitor</a></code>,
|
||
but can also be used in constant context. Unless required in constant
|
||
context, use the operator or trait instead.</p>
|
||
<h5 id="planned-deprecation-2"><a class="doc-anchor" href="#planned-deprecation-2">§</a>Planned deprecation</h5>
|
||
<p>This method will be deprecated when the <code>|</code> operator and the
|
||
<a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitOr.html" title="trait core::ops::bit::BitOr"><code>BitOr</code></a> trait are usable in constant context.</p>
|
||
<h5 id="examples-51"><a class="doc-anchor" href="#examples-51">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">const </span>A: Fix = Fix::from_bits(<span class="number">0x3E</span>);
|
||
<span class="kw">const </span>B: Fix = Fix::from_bits(<span class="number">0x55</span>);
|
||
<span class="kw">const </span>A_BITOR_B: Fix = A.const_bitor(B);
|
||
<span class="macro">assert_eq!</span>(A_BITOR_B, A | B);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.const_bitxor" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.const_bitxor" class="fn">const_bitxor</a>(self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Bitwise XOR. Usable in constant context.</p>
|
||
<p>This is equivalent to the <code>^</code> operator and
|
||
<code><a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitXor.html" title="trait core::ops::bit::BitXor">BitXor</a>::<a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitXor.html#tymethod.bitxor" title="method core::ops::bit::BitXor::bitxor">bitxor</a></code>,
|
||
but can also be used in constant context. Unless required in constant
|
||
context, use the operator or trait instead.</p>
|
||
<h5 id="planned-deprecation-3"><a class="doc-anchor" href="#planned-deprecation-3">§</a>Planned deprecation</h5>
|
||
<p>This method will be deprecated when the <code>^</code> operator and the
|
||
<a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitXor.html" title="trait core::ops::bit::BitXor"><code>BitXor</code></a> trait are usable in constant context.</p>
|
||
<h5 id="examples-52"><a class="doc-anchor" href="#examples-52">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">const </span>A: Fix = Fix::from_bits(<span class="number">0x3E</span>);
|
||
<span class="kw">const </span>B: Fix = Fix::from_bits(<span class="number">0x55</span>);
|
||
<span class="kw">const </span>A_BITXOR_B: Fix = A.const_bitxor(B);
|
||
<span class="macro">assert_eq!</span>(A_BITXOR_B, A ^ B);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.checked_neg" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.checked_neg" class="fn">checked_neg</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>></h4></section></summary><div class="docblock"><p>Checked negation. Returns the negated value, or <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> on overflow.</p>
|
||
<p>Overflow can only occur when negating the minimum value.</p>
|
||
<h5 id="examples-53"><a class="doc-anchor" href="#examples-53">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">5</span>).checked_neg(), <span class="prelude-val">Some</span>(Fix::from_num(-<span class="number">5</span>)));
|
||
<span class="macro">assert_eq!</span>(Fix::MIN.checked_neg(), <span class="prelude-val">None</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.checked_add" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.checked_add" class="fn">checked_add</a>(self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>></h4></section></summary><div class="docblock"><p>Checked addition. Returns the sum, or <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> on overflow.</p>
|
||
<h5 id="examples-54"><a class="doc-anchor" href="#examples-54">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>((Fix::MAX - Fix::ONE).checked_add(Fix::ONE), <span class="prelude-val">Some</span>(Fix::MAX));
|
||
<span class="macro">assert_eq!</span>(Fix::MAX.checked_add(Fix::ONE), <span class="prelude-val">None</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.checked_sub" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.checked_sub" class="fn">checked_sub</a>(self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>></h4></section></summary><div class="docblock"><p>Checked subtraction. Returns the difference, or <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> on overflow.</p>
|
||
<h5 id="examples-55"><a class="doc-anchor" href="#examples-55">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>((Fix::MIN + Fix::ONE).checked_sub(Fix::ONE), <span class="prelude-val">Some</span>(Fix::MIN));
|
||
<span class="macro">assert_eq!</span>(Fix::MIN.checked_sub(Fix::ONE), <span class="prelude-val">None</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.checked_rem" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.checked_rem" class="fn">checked_rem</a>(self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>></h4></section></summary><div class="docblock"><p>Checked remainder. Returns the remainder, or <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> if
|
||
the divisor is zero.</p>
|
||
<h5 id="examples-56"><a class="doc-anchor" href="#examples-56">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">1.5</span>).checked_rem(Fix::ONE), <span class="prelude-val">Some</span>(Fix::from_num(<span class="number">0.5</span>)));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">1.5</span>).checked_rem(Fix::ZERO), <span class="prelude-val">None</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.checked_mul_add" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.checked_mul_add" class="fn">checked_mul_add</a><MulFrac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>>(
|
||
self,
|
||
mul: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><MulFrac>,
|
||
add: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>></h4></section></summary><div class="docblock"><p>Checked multiply and add.
|
||
Returns <code>self</code> × <code>mul</code> + <code>add</code>, or <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> on overflow.</p>
|
||
<p>For some cases, the product <code>self</code> × <code>mul</code> would overflow
|
||
on its own, but the final result <code>self</code> × <code>mul</code> + <code>add</code> is representable; in
|
||
these cases this method returns the correct result without overflow.</p>
|
||
<p>The <code>mul</code> parameter can have a fixed-point type like
|
||
<code>self</code> but with a different number of fractional bits.</p>
|
||
<h5 id="examples-57"><a class="doc-anchor" href="#examples-57">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(
|
||
Fix::from_num(<span class="number">4</span>).checked_mul_add(Fix::from_num(<span class="number">0.5</span>), Fix::from_num(<span class="number">3</span>)),
|
||
<span class="prelude-val">Some</span>(Fix::from_num(<span class="number">5</span>))
|
||
);
|
||
<span class="macro">assert_eq!</span>(Fix::MAX.checked_mul_add(Fix::ONE, Fix::ZERO), <span class="prelude-val">Some</span>(Fix::MAX));
|
||
<span class="macro">assert_eq!</span>(Fix::MAX.checked_mul_add(Fix::ONE, Fix::DELTA), <span class="prelude-val">None</span>);
|
||
<span class="comment">// MAX × 1.5 - MAX = MAX / 2, which does not overflow
|
||
</span><span class="macro">assert_eq!</span>(Fix::MAX.checked_mul_add(Fix::from_num(<span class="number">1.5</span>), -Fix::MAX), <span class="prelude-val">Some</span>(Fix::MAX / <span class="number">2</span>));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.checked_mul_int" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.checked_mul_int" class="fn">checked_mul_int</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>></h4></section></summary><div class="docblock"><p>Checked multiplication by an integer. Returns the
|
||
product, or <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> on overflow.</p>
|
||
<h5 id="examples-58"><a class="doc-anchor" href="#examples-58">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::MAX.checked_mul_int(<span class="number">1</span>), <span class="prelude-val">Some</span>(Fix::MAX));
|
||
<span class="macro">assert_eq!</span>(Fix::MAX.checked_mul_int(<span class="number">2</span>), <span class="prelude-val">None</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.checked_div_int" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.checked_div_int" class="fn">checked_div_int</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>></h4></section></summary><div class="docblock"><p>Checked division by an integer. Returns the quotient, or
|
||
<a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> if the divisor is zero or if the division results in overflow.</p>
|
||
<h5 id="examples-59"><a class="doc-anchor" href="#examples-59">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::MAX.checked_div_int(<span class="number">1</span>), <span class="prelude-val">Some</span>(Fix::MAX));
|
||
<span class="macro">assert_eq!</span>(Fix::ONE.checked_div_int(<span class="number">0</span>), <span class="prelude-val">None</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::MIN.checked_div_int(-<span class="number">1</span>), <span class="prelude-val">None</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.checked_rem_euclid" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.checked_rem_euclid" class="fn">checked_rem_euclid</a>(
|
||
self,
|
||
rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>></h4></section></summary><div class="docblock"><p>Checked remainder for Euclidean division. Returns the
|
||
remainder, or <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> if the divisor is zero.</p>
|
||
<h5 id="examples-60"><a class="doc-anchor" href="#examples-60">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>num = Fix::from_num(<span class="number">7.5</span>);
|
||
<span class="macro">assert_eq!</span>(num.checked_rem_euclid(Fix::from_num(<span class="number">2</span>)), <span class="prelude-val">Some</span>(Fix::from_num(<span class="number">1.5</span>)));
|
||
<span class="macro">assert_eq!</span>(num.checked_rem_euclid(Fix::ZERO), <span class="prelude-val">None</span>);
|
||
<span class="macro">assert_eq!</span>((-num).checked_rem_euclid(Fix::from_num(<span class="number">2</span>)), <span class="prelude-val">Some</span>(Fix::from_num(<span class="number">0.5</span>)));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.checked_shl" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.checked_shl" class="fn">checked_shl</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>></h4></section></summary><div class="docblock"><p>Checked shift left. Returns the shifted number,
|
||
or <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> if <code>rhs</code> ≥ 32.</p>
|
||
<h5 id="examples-61"><a class="doc-anchor" href="#examples-61">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>((Fix::ONE / <span class="number">2</span>).checked_shl(<span class="number">3</span>), <span class="prelude-val">Some</span>(Fix::from_num(<span class="number">4</span>)));
|
||
<span class="macro">assert_eq!</span>((Fix::ONE / <span class="number">2</span>).checked_shl(<span class="number">32</span>), <span class="prelude-val">None</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.checked_shr" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.checked_shr" class="fn">checked_shr</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>></h4></section></summary><div class="docblock"><p>Checked shift right. Returns the shifted number,
|
||
or <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> if <code>rhs</code> ≥ 32.</p>
|
||
<h5 id="examples-62"><a class="doc-anchor" href="#examples-62">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">4</span>).checked_shr(<span class="number">3</span>), <span class="prelude-val">Some</span>(Fix::ONE / <span class="number">2</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">4</span>).checked_shr(<span class="number">32</span>), <span class="prelude-val">None</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.checked_abs" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.checked_abs" class="fn">checked_abs</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>></h4></section></summary><div class="docblock"><p>Checked absolute value. Returns the absolute value, or <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> on overflow.</p>
|
||
<p>Overflow can only occur when trying to find the absolute value of the minimum value.</p>
|
||
<h5 id="examples-63"><a class="doc-anchor" href="#examples-63">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">5</span>).checked_abs(), <span class="prelude-val">Some</span>(Fix::from_num(<span class="number">5</span>)));
|
||
<span class="macro">assert_eq!</span>(Fix::MIN.checked_abs(), <span class="prelude-val">None</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.checked_dist" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.checked_dist" class="fn">checked_dist</a>(self, other: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>></h4></section></summary><div class="docblock"><p>Checked distance. Returns the distance from <code>self</code> to <code>other</code>, or <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> on overflow.</p>
|
||
<p>The distance is the absolute value of the difference.</p>
|
||
<h5 id="examples-64"><a class="doc-anchor" href="#examples-64">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::ONE.checked_dist(Fix::from_num(<span class="number">5</span>)), <span class="prelude-val">Some</span>(Fix::from_num(<span class="number">4</span>)));
|
||
<span class="macro">assert_eq!</span>(Fix::MIN.checked_dist(Fix::ZERO), <span class="prelude-val">None</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.checked_hypot" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.checked_hypot" class="fn">checked_hypot</a>(
|
||
self,
|
||
other: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>></h4></section></summary><div class="docblock"><p>Compute the hypotenuse of a right triange, returning <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> on overflow.</p>
|
||
<p>The hypotenuse is equal to the square root of the sum of the squares of the
|
||
operands.</p>
|
||
<p>This method uses an iterative method for its square root, with up to 32
|
||
iterations for <a href="struct.FixedI32.html" title="struct fixed::FixedI32"><code>FixedI32</code></a>. The result is rounded down, and the
|
||
error is < <a href="struct.FixedI32.html#associatedconstant.DELTA" title="associated constant fixed::FixedI32::DELTA"><code>DELTA</code></a>. That is,
|
||
result ≤ √(<code>self</code>² + <code>other</code>²) < result + <code>DELTA</code>.</p>
|
||
<h5 id="examples-65"><a class="doc-anchor" href="#examples-65">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::types::extra::U28;
|
||
<span class="kw">use </span>fixed::FixedI32;
|
||
<span class="kw">type </span>Fix = FixedI32<U28>;
|
||
|
||
<span class="comment">// hypot(3, 4) == 5
|
||
</span><span class="macro">assert_eq!</span>(
|
||
Fix::from_num(<span class="number">3</span>).checked_hypot(Fix::from_num(<span class="number">4</span>)),
|
||
<span class="prelude-val">Some</span>(Fix::from_num(<span class="number">5</span>))
|
||
);
|
||
|
||
<span class="comment">// hypot(2, 7.875) == 8.125, which does not fit
|
||
</span><span class="macro">assert_eq!</span>(
|
||
Fix::from_num(<span class="number">2</span>).checked_hypot(Fix::from_num(<span class="number">7.875</span>)),
|
||
<span class="prelude-val">None
|
||
</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.checked_next_multiple_of" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.checked_next_multiple_of" class="fn">checked_next_multiple_of</a>(
|
||
self,
|
||
other: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>></h4></section></summary><div class="docblock"><p>Checked next multiple of <code>other</code>. Returns the next multiple, or
|
||
<a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> if <code>other</code> is zero or on overflow.</p>
|
||
<p>The next multiple is the smallest multiple of <code>other</code> that is ≥ <code>self</code> if <code>other</code> is positive, and the largest multiple of
|
||
<code>other</code> that is ≤ <code>self</code> if <code>other</code> is negative.</p>
|
||
<h5 id="examples-66"><a class="doc-anchor" href="#examples-66">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(
|
||
Fix::from_num(<span class="number">4</span>).checked_next_multiple_of(Fix::from_num(<span class="number">1.5</span>)),
|
||
<span class="prelude-val">Some</span>(Fix::from_num(<span class="number">4.5</span>))
|
||
);
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">4</span>).checked_next_multiple_of(Fix::ZERO), <span class="prelude-val">None</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::MAX.checked_next_multiple_of(Fix::from_num(<span class="number">2</span>)), <span class="prelude-val">None</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.checked_inv_lerp" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.checked_inv_lerp" class="fn">checked_inv_lerp</a><RetFrac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>>(
|
||
self,
|
||
start: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>,
|
||
end: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><RetFrac>></h4></section></summary><div class="docblock"><p>Checked inverse linear interpolation between <code>start</code> and <code>end</code>.
|
||
Returns <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> on overflow or when <code>start</code> = <code>end</code>.</p>
|
||
<p>The computed value can have a fixed-point type like <code>self</code> but with a different
|
||
number of fractional bits.</p>
|
||
<p>Returns
|
||
(<code>self</code> − <code>start</code>) / (<code>end</code> − <code>start</code>).
|
||
This is 0 when <code>self</code> = <code>start</code>, and 1 when <code>self</code> = <code>end</code>.</p>
|
||
<h5 id="examples-67"><a class="doc-anchor" href="#examples-67">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>two = Fix::from_num(<span class="number">2</span>);
|
||
<span class="kw">let </span>four = Fix::from_num(<span class="number">4</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">3</span>).checked_inv_lerp::<U4>(two, four), <span class="prelude-val">Some</span>(Fix::from_num(<span class="number">0.5</span>)));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">2</span>).checked_inv_lerp::<U4>(two, two), <span class="prelude-val">None</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::MAX.checked_inv_lerp::<U4>(Fix::ZERO, Fix::from_num(<span class="number">0.5</span>)), <span class="prelude-val">None</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.checked_add_unsigned" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.checked_add_unsigned" class="fn">checked_add_unsigned</a>(
|
||
self,
|
||
rhs: <a class="struct" href="struct.FixedU32.html" title="struct fixed::FixedU32">FixedU32</a><Frac>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>></h4></section></summary><div class="docblock"><p>Checked addition with an unsigned fixed-point number.
|
||
Returns the sum, or <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> on overflow.</p>
|
||
<h5 id="examples-68"><a class="doc-anchor" href="#examples-68">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32, FixedU32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">type </span>UFix = FixedU32<U4>;
|
||
<span class="macro">assert_eq!</span>(
|
||
Fix::from_num(-<span class="number">5</span>).checked_add_unsigned(UFix::from_num(<span class="number">3</span>)),
|
||
<span class="prelude-val">Some</span>(Fix::from_num(-<span class="number">2</span>))
|
||
);
|
||
<span class="macro">assert_eq!</span>(Fix::MAX.checked_add_unsigned(UFix::DELTA), <span class="prelude-val">None</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.checked_sub_unsigned" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.checked_sub_unsigned" class="fn">checked_sub_unsigned</a>(
|
||
self,
|
||
rhs: <a class="struct" href="struct.FixedU32.html" title="struct fixed::FixedU32">FixedU32</a><Frac>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>></h4></section></summary><div class="docblock"><p>Checked subtraction with an unsigned fixed-point number.
|
||
Returns the difference, or <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> on overflow.</p>
|
||
<h5 id="examples-69"><a class="doc-anchor" href="#examples-69">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32, FixedU32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">type </span>UFix = FixedU32<U4>;
|
||
<span class="macro">assert_eq!</span>(
|
||
Fix::from_num(<span class="number">3</span>).checked_sub_unsigned(UFix::from_num(<span class="number">5</span>)),
|
||
<span class="prelude-val">Some</span>(Fix::from_num(-<span class="number">2</span>))
|
||
);
|
||
<span class="macro">assert_eq!</span>(Fix::MIN.checked_sub_unsigned(UFix::DELTA), <span class="prelude-val">None</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_neg" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.saturating_neg" class="fn">saturating_neg</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Saturating negation. Returns the negated value, saturating on overflow.</p>
|
||
<p>Overflow can only occur when negating the minimum value.</p>
|
||
<h5 id="examples-70"><a class="doc-anchor" href="#examples-70">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">5</span>).saturating_neg(), Fix::from_num(-<span class="number">5</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::MIN.saturating_neg(), Fix::MAX);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_add" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.saturating_add" class="fn">saturating_add</a>(self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Saturating addition. Returns the sum, saturating on overflow.</p>
|
||
<h5 id="examples-71"><a class="doc-anchor" href="#examples-71">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">3</span>).saturating_add(Fix::from_num(<span class="number">2</span>)), Fix::from_num(<span class="number">5</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::MAX.saturating_add(Fix::ONE), Fix::MAX);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_sub" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.saturating_sub" class="fn">saturating_sub</a>(self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Saturating subtraction. Returns the difference, saturating on overflow.</p>
|
||
<h5 id="examples-72"><a class="doc-anchor" href="#examples-72">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::ONE.saturating_sub(Fix::from_num(<span class="number">3</span>)), Fix::from_num(-<span class="number">2</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::MIN.saturating_sub(Fix::ONE), Fix::MIN);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_mul_add" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.saturating_mul_add" class="fn">saturating_mul_add</a><MulFrac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>>(
|
||
self,
|
||
mul: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><MulFrac>,
|
||
add: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>,
|
||
) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Saturating multiply and add.
|
||
Returns <code>self</code> × <code>mul</code> + <code>add</code>, saturating on overflow.</p>
|
||
<p>For some cases, the product <code>self</code> × <code>mul</code> would overflow
|
||
on its own, but the final result <code>self</code> × <code>mul</code> + <code>add</code> is representable; in
|
||
these cases this method returns the correct result without overflow.</p>
|
||
<p>The <code>mul</code> parameter can have a fixed-point type like
|
||
<code>self</code> but with a different number of fractional bits.</p>
|
||
<h5 id="examples-73"><a class="doc-anchor" href="#examples-73">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(
|
||
Fix::from_num(<span class="number">4</span>).saturating_mul_add(Fix::from_num(<span class="number">0.5</span>), Fix::from_num(<span class="number">3</span>)),
|
||
Fix::from_num(<span class="number">5</span>)
|
||
);
|
||
<span class="kw">let </span>half_max = Fix::MAX / <span class="number">2</span>;
|
||
<span class="macro">assert_eq!</span>(half_max.saturating_mul_add(Fix::from_num(<span class="number">3</span>), half_max), Fix::MAX);
|
||
<span class="macro">assert_eq!</span>(half_max.saturating_mul_add(Fix::from_num(-<span class="number">5</span>), half_max), Fix::MIN);
|
||
<span class="comment">// MAX × 1.5 - MAX = MAX / 2, which does not overflow
|
||
</span><span class="macro">assert_eq!</span>(Fix::MAX.saturating_mul_add(Fix::from_num(<span class="number">1.5</span>), -Fix::MAX), half_max);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_mul_int" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.saturating_mul_int" class="fn">saturating_mul_int</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Saturating multiplication by an integer. Returns the product, saturating on overflow.</p>
|
||
<h5 id="examples-74"><a class="doc-anchor" href="#examples-74">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">3</span>).saturating_mul_int(<span class="number">2</span>), Fix::from_num(<span class="number">6</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::MAX.saturating_mul_int(<span class="number">2</span>), Fix::MAX);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_div_int" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.saturating_div_int" class="fn">saturating_div_int</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Saturating division by an integer. Returns the quotient, saturating on overflow.</p>
|
||
<p>Overflow can only occur when dividing the minimum value by −1.</p>
|
||
<h5 id="panics-11"><a class="doc-anchor" href="#panics-11">§</a>Panics</h5>
|
||
<p>Panics if the divisor is zero.</p>
|
||
<h5 id="examples-75"><a class="doc-anchor" href="#examples-75">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="comment">// 1.5 is binary 1.1
|
||
</span><span class="kw">let </span>one_point_5 = Fix::from_bits(<span class="number">0b11 </span><< (<span class="number">4 </span>- <span class="number">1</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">3</span>).saturating_div_int(<span class="number">2</span>), one_point_5);
|
||
<span class="macro">assert_eq!</span>(Fix::MIN.saturating_div_int(-<span class="number">1</span>), Fix::MAX);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_abs" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.saturating_abs" class="fn">saturating_abs</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Saturating absolute value. Returns the absolute value, saturating on overflow.</p>
|
||
<p>Overflow can only occur when trying to find the absolute value of the minimum value.</p>
|
||
<h5 id="examples-76"><a class="doc-anchor" href="#examples-76">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">5</span>).saturating_abs(), Fix::from_num(<span class="number">5</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::MIN.saturating_abs(), Fix::MAX);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_dist" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.saturating_dist" class="fn">saturating_dist</a>(self, other: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Saturating distance. Returns the distance from <code>self</code> to <code>other</code>, saturating on overflow.</p>
|
||
<p>The distance is the absolute value of the difference.</p>
|
||
<h5 id="examples-77"><a class="doc-anchor" href="#examples-77">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::ONE.saturating_dist(Fix::from_num(<span class="number">5</span>)), Fix::from_num(<span class="number">4</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::MIN.saturating_dist(Fix::MAX), Fix::MAX);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_hypot" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.saturating_hypot" class="fn">saturating_hypot</a>(self, other: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Compute the hypotenuse of a right triange, saturating on overflow.</p>
|
||
<p>The hypotenuse is equal to the square root of the sum of the squares of the
|
||
operands.</p>
|
||
<p>This method uses an iterative method for its square root, with up to 32
|
||
iterations for <a href="struct.FixedI32.html" title="struct fixed::FixedI32"><code>FixedI32</code></a>. The result is rounded down, and the
|
||
error is < <a href="struct.FixedI32.html#associatedconstant.DELTA" title="associated constant fixed::FixedI32::DELTA"><code>DELTA</code></a>. That is,
|
||
result ≤ √(<code>self</code>² + <code>other</code>²) < result + <code>DELTA</code>.</p>
|
||
<h5 id="examples-78"><a class="doc-anchor" href="#examples-78">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::types::extra::U28;
|
||
<span class="kw">use </span>fixed::FixedI32;
|
||
<span class="kw">type </span>Fix = FixedI32<U28>;
|
||
|
||
<span class="comment">// hypot(3, 4) == 5
|
||
</span><span class="macro">assert_eq!</span>(
|
||
Fix::from_num(<span class="number">3</span>).saturating_hypot(Fix::from_num(<span class="number">4</span>)),
|
||
Fix::from_num(<span class="number">5</span>)
|
||
);
|
||
|
||
<span class="comment">// hypot(2, 7.875) == 8.125, which does not fit
|
||
</span><span class="macro">assert_eq!</span>(
|
||
Fix::from_num(<span class="number">2</span>).saturating_hypot(Fix::from_num(<span class="number">7.875</span>)),
|
||
Fix::MAX
|
||
);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_next_multiple_of" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.saturating_next_multiple_of" class="fn">saturating_next_multiple_of</a>(
|
||
self,
|
||
other: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>,
|
||
) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Saturating next multiple of <code>other</code>.</p>
|
||
<p>The next multiple is the smallest multiple of <code>other</code> that is ≥ <code>self</code> if <code>other</code> is positive, and the largest multiple of
|
||
<code>other</code> that is ≤ <code>self</code> if <code>other</code> is negative.</p>
|
||
<h5 id="panics-12"><a class="doc-anchor" href="#panics-12">§</a>Panics</h5>
|
||
<p>Panics if <code>other</code> is zero.</p>
|
||
<h5 id="examples-79"><a class="doc-anchor" href="#examples-79">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(
|
||
Fix::from_num(<span class="number">4</span>).saturating_next_multiple_of(Fix::from_num(<span class="number">1.5</span>)),
|
||
Fix::from_num(<span class="number">4.5</span>)
|
||
);
|
||
<span class="macro">assert_eq!</span>(Fix::MAX.saturating_next_multiple_of(Fix::from_num(<span class="number">2</span>)), Fix::MAX);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_inv_lerp" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.saturating_inv_lerp" class="fn">saturating_inv_lerp</a><RetFrac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>>(
|
||
self,
|
||
start: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>,
|
||
end: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>,
|
||
) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><RetFrac></h4></section></summary><div class="docblock"><p>Inverse linear interpolation between <code>start</code> and <code>end</code>,
|
||
saturating on overflow.</p>
|
||
<p>The computed value can have a fixed-point type like <code>self</code> but with a different
|
||
number of fractional bits.</p>
|
||
<p>Returns
|
||
(<code>self</code> − <code>start</code>) / (<code>end</code> − <code>start</code>).
|
||
This is 0 when <code>self</code> = <code>start</code>, and 1 when <code>self</code> = <code>end</code>.</p>
|
||
<h5 id="panics-13"><a class="doc-anchor" href="#panics-13">§</a>Panics</h5>
|
||
<p>Panics when <code>start</code> = <code>end</code>.</p>
|
||
<h5 id="examples-80"><a class="doc-anchor" href="#examples-80">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>two = Fix::from_num(<span class="number">2</span>);
|
||
<span class="kw">let </span>four = Fix::from_num(<span class="number">4</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">3</span>).saturating_inv_lerp::<U4>(two, four), <span class="number">0.5</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::MAX.saturating_inv_lerp::<U4>(Fix::ZERO, Fix::from_num(<span class="number">0.5</span>)), Fix::MAX);
|
||
<span class="macro">assert_eq!</span>(Fix::MAX.saturating_inv_lerp::<U4>(Fix::from_num(<span class="number">0.5</span>), Fix::ZERO), Fix::MIN);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_add_unsigned" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.saturating_add_unsigned" class="fn">saturating_add_unsigned</a>(
|
||
self,
|
||
rhs: <a class="struct" href="struct.FixedU32.html" title="struct fixed::FixedU32">FixedU32</a><Frac>,
|
||
) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Saturating addition with an unsigned fixed-point number.
|
||
Returns the sum, saturating on overflow.</p>
|
||
<h5 id="examples-81"><a class="doc-anchor" href="#examples-81">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32, FixedU32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">type </span>UFix = FixedU32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">5</span>).saturating_add_unsigned(UFix::from_num(<span class="number">3</span>)), -<span class="number">2</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">5</span>).saturating_add_unsigned(UFix::MAX), Fix::MAX);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_sub_unsigned" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.saturating_sub_unsigned" class="fn">saturating_sub_unsigned</a>(
|
||
self,
|
||
rhs: <a class="struct" href="struct.FixedU32.html" title="struct fixed::FixedU32">FixedU32</a><Frac>,
|
||
) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Saturating subtraction with an unsigned fixed-point number.
|
||
Returns the difference, saturating on overflow.</p>
|
||
<h5 id="examples-82"><a class="doc-anchor" href="#examples-82">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32, FixedU32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">type </span>UFix = FixedU32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">3</span>).saturating_sub_unsigned(UFix::from_num(<span class="number">5</span>)), -<span class="number">2</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">5</span>).saturating_sub_unsigned(UFix::MAX), Fix::MIN);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_neg" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.wrapping_neg" class="fn">wrapping_neg</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Wrapping negation. Returns the negated value, wrapping on overflow.</p>
|
||
<p>Overflow can only occur when negating the minimum value.</p>
|
||
<h5 id="examples-83"><a class="doc-anchor" href="#examples-83">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">5</span>).wrapping_neg(), Fix::from_num(-<span class="number">5</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::MIN.wrapping_neg(), Fix::MIN);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_add" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.wrapping_add" class="fn">wrapping_add</a>(self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Wrapping addition. Returns the sum, wrapping on overflow.</p>
|
||
<h5 id="examples-84"><a class="doc-anchor" href="#examples-84">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>one_minus_delta = Fix::ONE - Fix::DELTA;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">3</span>).wrapping_add(Fix::from_num(<span class="number">2</span>)), Fix::from_num(<span class="number">5</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::MAX.wrapping_add(Fix::ONE), Fix::MIN + one_minus_delta);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_sub" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.wrapping_sub" class="fn">wrapping_sub</a>(self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Wrapping subtraction. Returns the difference, wrapping on overflow.</p>
|
||
<h5 id="examples-85"><a class="doc-anchor" href="#examples-85">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>one_minus_delta = Fix::ONE - Fix::DELTA;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">3</span>).wrapping_sub(Fix::from_num(<span class="number">5</span>)), Fix::from_num(-<span class="number">2</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::MIN.wrapping_sub(Fix::ONE), Fix::MAX - one_minus_delta);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_mul_add" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.wrapping_mul_add" class="fn">wrapping_mul_add</a><MulFrac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>>(
|
||
self,
|
||
mul: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><MulFrac>,
|
||
add: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>,
|
||
) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Wrapping multiply and add.
|
||
Returns <code>self</code> × <code>mul</code> + <code>add</code>, wrapping on overflow.</p>
|
||
<p>The <code>mul</code> parameter can have a fixed-point type like
|
||
<code>self</code> but with a different number of fractional bits.</p>
|
||
<h5 id="examples-86"><a class="doc-anchor" href="#examples-86">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(
|
||
Fix::from_num(<span class="number">4</span>).wrapping_mul_add(Fix::from_num(<span class="number">0.5</span>), Fix::from_num(<span class="number">3</span>)),
|
||
Fix::from_num(<span class="number">5</span>)
|
||
);
|
||
<span class="macro">assert_eq!</span>(Fix::MAX.wrapping_mul_add(Fix::ONE, Fix::from_num(<span class="number">0</span>)), Fix::MAX);
|
||
<span class="macro">assert_eq!</span>(Fix::MAX.wrapping_mul_add(Fix::ONE, Fix::from_bits(<span class="number">1</span>)), Fix::MIN);
|
||
<span class="kw">let </span>wrapped = Fix::MAX.wrapping_mul_int(<span class="number">4</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::MAX.wrapping_mul_add(Fix::from_num(<span class="number">3</span>), Fix::MAX), wrapped);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_mul_int" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.wrapping_mul_int" class="fn">wrapping_mul_int</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Wrapping multiplication by an integer. Returns the product, wrapping on overflow.</p>
|
||
<h5 id="examples-87"><a class="doc-anchor" href="#examples-87">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">3</span>).wrapping_mul_int(<span class="number">2</span>), Fix::from_num(<span class="number">6</span>));
|
||
<span class="kw">let </span>wrapped = Fix::from_bits(!<span class="number">0 </span><< <span class="number">2</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::MAX.wrapping_mul_int(<span class="number">4</span>), wrapped);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_div_int" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.wrapping_div_int" class="fn">wrapping_div_int</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Wrapping division by an integer. Returns the quotient, wrapping on overflow.</p>
|
||
<p>Overflow can only occur when dividing the minimum value by −1.</p>
|
||
<h5 id="panics-14"><a class="doc-anchor" href="#panics-14">§</a>Panics</h5>
|
||
<p>Panics if the divisor is zero.</p>
|
||
<h5 id="examples-88"><a class="doc-anchor" href="#examples-88">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="comment">// 1.5 is binary 1.1
|
||
</span><span class="kw">let </span>one_point_5 = Fix::from_bits(<span class="number">0b11 </span><< (<span class="number">4 </span>- <span class="number">1</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">3</span>).wrapping_div_int(<span class="number">2</span>), one_point_5);
|
||
<span class="macro">assert_eq!</span>(Fix::MIN.wrapping_div_int(-<span class="number">1</span>), Fix::MIN);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_shl" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.wrapping_shl" class="fn">wrapping_shl</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Wrapping shift left. Wraps <code>rhs</code> if <code>rhs</code> ≥ 32,
|
||
then shifts and returns the number.</p>
|
||
<p>Unlike most other methods which wrap the result, this method (as well as
|
||
<a href="struct.FixedI32.html#method.wrapping_shr" title="method fixed::FixedI32::wrapping_shr"><code>wrapping_shr</code></a>) wraps the input operand <code>rhs</code>.</p>
|
||
<h5 id="examples-89"><a class="doc-anchor" href="#examples-89">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>((Fix::ONE / <span class="number">2</span>).wrapping_shl(<span class="number">3</span>), Fix::from_num(<span class="number">4</span>));
|
||
<span class="macro">assert_eq!</span>((Fix::ONE / <span class="number">2</span>).wrapping_shl(<span class="number">3 </span>+ <span class="number">32</span>), Fix::from_num(<span class="number">4</span>));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_shr" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.wrapping_shr" class="fn">wrapping_shr</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Wrapping shift right. Wraps <code>rhs</code> if <code>rhs</code> ≥ 32,
|
||
then shifts and returns the number.</p>
|
||
<p>Unlike most other methods which wrap the result, this method (as well as
|
||
<a href="struct.FixedI32.html#method.wrapping_shl" title="method fixed::FixedI32::wrapping_shl"><code>wrapping_shl</code></a>) wraps the input operand <code>rhs</code>.</p>
|
||
<h5 id="examples-90"><a class="doc-anchor" href="#examples-90">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>((Fix::from_num(<span class="number">4</span>)).wrapping_shr(<span class="number">3</span>), Fix::ONE / <span class="number">2</span>);
|
||
<span class="macro">assert_eq!</span>((Fix::from_num(<span class="number">4</span>)).wrapping_shr(<span class="number">3 </span>+ <span class="number">32</span>), Fix::ONE / <span class="number">2</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_abs" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.wrapping_abs" class="fn">wrapping_abs</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Wrapping absolute value. Returns the absolute value, wrapping on overflow.</p>
|
||
<p>Overflow can only occur when trying to find the absolute value of the minimum value.</p>
|
||
<h5 id="examples-91"><a class="doc-anchor" href="#examples-91">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">5</span>).wrapping_abs(), Fix::from_num(<span class="number">5</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::MIN.wrapping_abs(), Fix::MIN);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_dist" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.wrapping_dist" class="fn">wrapping_dist</a>(self, other: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Wrapping distance. Returns the distance from <code>self</code> to <code>other</code>, wrapping on overflow.</p>
|
||
<p>The distance is the absolute value of the difference.</p>
|
||
<h5 id="examples-92"><a class="doc-anchor" href="#examples-92">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::ONE.wrapping_dist(Fix::from_num(<span class="number">5</span>)), Fix::from_num(<span class="number">4</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::MIN.wrapping_dist(Fix::MAX), -Fix::DELTA);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_hypot" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.wrapping_hypot" class="fn">wrapping_hypot</a>(self, other: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Compute the hypotenuse of a right triange, wrapping on overflow.</p>
|
||
<p>The hypotenuse is equal to the square root of the sum of the squares of the
|
||
operands.</p>
|
||
<p>This method uses an iterative method for its square root, with up to 32
|
||
iterations for <a href="struct.FixedI32.html" title="struct fixed::FixedI32"><code>FixedI32</code></a>. The result is rounded down, and the
|
||
error is < <a href="struct.FixedI32.html#associatedconstant.DELTA" title="associated constant fixed::FixedI32::DELTA"><code>DELTA</code></a>. That is,
|
||
result ≤ √(<code>self</code>² + <code>other</code>²) < result + <code>DELTA</code>.</p>
|
||
<h5 id="examples-93"><a class="doc-anchor" href="#examples-93">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::types::extra::U28;
|
||
<span class="kw">use </span>fixed::FixedI32;
|
||
<span class="kw">type </span>Fix = FixedI32<U28>;
|
||
|
||
<span class="comment">// hypot(3, 4) == 5
|
||
</span><span class="macro">assert_eq!</span>(
|
||
Fix::from_num(<span class="number">3</span>).wrapping_hypot(Fix::from_num(<span class="number">4</span>)),
|
||
Fix::from_num(<span class="number">5</span>)
|
||
);
|
||
|
||
<span class="comment">// hypot(2, 7.875) == 8.125, which wraps to -7.875
|
||
</span><span class="macro">assert_eq!</span>(
|
||
Fix::from_num(<span class="number">2</span>).wrapping_hypot(Fix::from_num(<span class="number">7.875</span>)),
|
||
Fix::from_num(-<span class="number">7.875</span>)
|
||
);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_next_multiple_of" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.wrapping_next_multiple_of" class="fn">wrapping_next_multiple_of</a>(
|
||
self,
|
||
other: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>,
|
||
) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Wrapping next multiple of <code>other</code>.</p>
|
||
<p>The next multiple is the smallest multiple of <code>other</code> that is ≥ <code>self</code> if <code>other</code> is positive, and the largest multiple of
|
||
<code>other</code> that is ≤ <code>self</code> if <code>other</code> is negative.</p>
|
||
<h5 id="panics-15"><a class="doc-anchor" href="#panics-15">§</a>Panics</h5>
|
||
<p>Panics if <code>other</code> is zero.</p>
|
||
<h5 id="examples-94"><a class="doc-anchor" href="#examples-94">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(
|
||
Fix::from_num(<span class="number">4</span>).wrapping_next_multiple_of(Fix::from_num(<span class="number">1.5</span>)),
|
||
Fix::from_num(<span class="number">4.5</span>)
|
||
);
|
||
<span class="kw">let </span>max_minus_delta = Fix::MAX - Fix::DELTA;
|
||
<span class="macro">assert_eq!</span>(
|
||
Fix::MAX.wrapping_next_multiple_of(max_minus_delta),
|
||
max_minus_delta.wrapping_mul_int(<span class="number">2</span>)
|
||
);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_inv_lerp" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.wrapping_inv_lerp" class="fn">wrapping_inv_lerp</a><RetFrac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>>(
|
||
self,
|
||
start: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>,
|
||
end: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>,
|
||
) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><RetFrac></h4></section></summary><div class="docblock"><p>Inverse linear interpolation between <code>start</code> and <code>end</code>,
|
||
wrapping on overflow.</p>
|
||
<p>The computed value can have a fixed-point type like <code>self</code> but with a different
|
||
number of fractional bits.</p>
|
||
<p>Returns
|
||
(<code>self</code> − <code>start</code>) / (<code>end</code> − <code>start</code>).
|
||
This is 0 when <code>self</code> = <code>start</code>, and 1 when <code>self</code> = <code>end</code>.</p>
|
||
<h5 id="panics-16"><a class="doc-anchor" href="#panics-16">§</a>Panics</h5>
|
||
<p>Panics when <code>start</code> = <code>end</code>.</p>
|
||
<h5 id="examples-95"><a class="doc-anchor" href="#examples-95">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>two = Fix::from_num(<span class="number">2</span>);
|
||
<span class="kw">let </span>four = Fix::from_num(<span class="number">4</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">3</span>).wrapping_inv_lerp::<U4>(two, four), <span class="number">0.5</span>);
|
||
<span class="macro">assert_eq!</span>(
|
||
Fix::MAX.wrapping_inv_lerp::<U4>(Fix::ZERO, Fix::from_num(<span class="number">0.5</span>)),
|
||
Fix::MAX.wrapping_mul_int(<span class="number">2</span>)
|
||
);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_add_unsigned" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.wrapping_add_unsigned" class="fn">wrapping_add_unsigned</a>(self, rhs: <a class="struct" href="struct.FixedU32.html" title="struct fixed::FixedU32">FixedU32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Wrapping addition with an unsigned fixed-point number.
|
||
Returns the sum, wrapping on overflow.</p>
|
||
<h5 id="examples-96"><a class="doc-anchor" href="#examples-96">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32, FixedU32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">type </span>UFix = FixedU32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">5</span>).wrapping_add_unsigned(UFix::from_num(<span class="number">3</span>)), -<span class="number">2</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::ZERO.wrapping_add_unsigned(UFix::MAX), -Fix::DELTA);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_sub_unsigned" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.wrapping_sub_unsigned" class="fn">wrapping_sub_unsigned</a>(self, rhs: <a class="struct" href="struct.FixedU32.html" title="struct fixed::FixedU32">FixedU32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Wrapping subtraction with an unsigned fixed-point number.
|
||
Returns the difference, wrapping on overflow.</p>
|
||
<h5 id="examples-97"><a class="doc-anchor" href="#examples-97">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32, FixedU32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">type </span>UFix = FixedU32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">3</span>).wrapping_sub_unsigned(UFix::from_num(<span class="number">5</span>)), -<span class="number">2</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::ZERO.wrapping_sub_unsigned(UFix::MAX), Fix::DELTA);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_neg" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.unwrapped_neg" class="fn">unwrapped_neg</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Unwrapped negation. Returns the negated value, panicking on overflow.</p>
|
||
<p>Overflow can only occur when negating the minimum value.</p>
|
||
<h5 id="panics-17"><a class="doc-anchor" href="#panics-17">§</a>Panics</h5>
|
||
<p>Panics if the result does not fit.</p>
|
||
<h5 id="examples-98"><a class="doc-anchor" href="#examples-98">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">5</span>).unwrapped_neg(), Fix::from_num(-<span class="number">5</span>));</code></pre></div>
|
||
<p>The following panics because of overflow.</p>
|
||
|
||
<div class="example-wrap should_panic"><a href="#" class="tooltip" title="This example panics">ⓘ</a><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>_overflow = Fix::MIN.unwrapped_neg();</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_add" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.unwrapped_add" class="fn">unwrapped_add</a>(self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Unwrapped addition. Returns the sum, panicking on overflow.</p>
|
||
<h5 id="panics-18"><a class="doc-anchor" href="#panics-18">§</a>Panics</h5>
|
||
<p>Panics if the result does not fit.</p>
|
||
<h5 id="examples-99"><a class="doc-anchor" href="#examples-99">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">3</span>).unwrapped_add(Fix::from_num(<span class="number">2</span>)), Fix::from_num(<span class="number">5</span>));</code></pre></div>
|
||
<p>The following panics because of overflow.</p>
|
||
|
||
<div class="example-wrap should_panic"><a href="#" class="tooltip" title="This example panics">ⓘ</a><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>_overflow = Fix::MAX.unwrapped_add(Fix::DELTA);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_sub" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.unwrapped_sub" class="fn">unwrapped_sub</a>(self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Unwrapped subtraction. Returns the difference, panicking on overflow.</p>
|
||
<h5 id="panics-19"><a class="doc-anchor" href="#panics-19">§</a>Panics</h5>
|
||
<p>Panics if the result does not fit.</p>
|
||
<h5 id="examples-100"><a class="doc-anchor" href="#examples-100">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">3</span>).unwrapped_sub(Fix::from_num(<span class="number">5</span>)), Fix::from_num(-<span class="number">2</span>));</code></pre></div>
|
||
<p>The following panics because of overflow.</p>
|
||
|
||
<div class="example-wrap should_panic"><a href="#" class="tooltip" title="This example panics">ⓘ</a><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>_overflow = Fix::MIN.unwrapped_sub(Fix::DELTA);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_rem" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.unwrapped_rem" class="fn">unwrapped_rem</a>(self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Unwrapped remainder. Returns the remainder, panicking if the divisor is zero.</p>
|
||
<h5 id="panics-20"><a class="doc-anchor" href="#panics-20">§</a>Panics</h5>
|
||
<p>Panics if the divisor is zero.</p>
|
||
<h5 id="examples-101"><a class="doc-anchor" href="#examples-101">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">1.5</span>).unwrapped_rem(Fix::ONE), Fix::from_num(<span class="number">0.5</span>));</code></pre></div>
|
||
<p>The following panics because the divisor is zero.</p>
|
||
|
||
<div class="example-wrap should_panic"><a href="#" class="tooltip" title="This example panics">ⓘ</a><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>_divisor_is_zero = Fix::from_num(<span class="number">1.5</span>).unwrapped_rem(Fix::ZERO);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_mul_add" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.unwrapped_mul_add" class="fn">unwrapped_mul_add</a><MulFrac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>>(
|
||
self,
|
||
mul: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><MulFrac>,
|
||
add: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>,
|
||
) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Unwrapped multiply and add.
|
||
Returns <code>self</code> × <code>mul</code> + <code>add</code>, panicking on overflow.</p>
|
||
<p>For some cases, the product <code>self</code> × <code>mul</code> would overflow
|
||
on its own, but the final result <code>self</code> × <code>mul</code> + <code>add</code> is representable; in
|
||
these cases this method returns the correct result without overflow.</p>
|
||
<p>The <code>mul</code> parameter can have a fixed-point type like
|
||
<code>self</code> but with a different number of fractional bits.</p>
|
||
<h5 id="panics-21"><a class="doc-anchor" href="#panics-21">§</a>Panics</h5>
|
||
<p>Panics if the result does not fit.</p>
|
||
<h5 id="examples-102"><a class="doc-anchor" href="#examples-102">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(
|
||
Fix::from_num(<span class="number">4</span>).unwrapped_mul_add(Fix::from_num(<span class="number">0.5</span>), Fix::from_num(<span class="number">3</span>)),
|
||
Fix::from_num(<span class="number">5</span>)
|
||
);
|
||
<span class="comment">// MAX × 1.5 - MAX = MAX / 2, which does not overflow
|
||
</span><span class="macro">assert_eq!</span>(Fix::MAX.unwrapped_mul_add(Fix::from_num(<span class="number">1.5</span>), -Fix::MAX), Fix::MAX / <span class="number">2</span>);</code></pre></div>
|
||
<p>The following panics because of overflow.</p>
|
||
|
||
<div class="example-wrap should_panic"><a href="#" class="tooltip" title="This example panics">ⓘ</a><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>_overflow = Fix::MAX.unwrapped_mul_add(Fix::ONE, Fix::DELTA);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_mul_int" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.unwrapped_mul_int" class="fn">unwrapped_mul_int</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Unwrapped multiplication by an integer. Returns the product, panicking on overflow.</p>
|
||
<h5 id="panics-22"><a class="doc-anchor" href="#panics-22">§</a>Panics</h5>
|
||
<p>Panics if the result does not fit.</p>
|
||
<h5 id="examples-103"><a class="doc-anchor" href="#examples-103">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">3</span>).unwrapped_mul_int(<span class="number">2</span>), Fix::from_num(<span class="number">6</span>));</code></pre></div>
|
||
<p>The following panics because of overflow.</p>
|
||
|
||
<div class="example-wrap should_panic"><a href="#" class="tooltip" title="This example panics">ⓘ</a><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>_overflow = Fix::MAX.unwrapped_mul_int(<span class="number">4</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_div_int" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.unwrapped_div_int" class="fn">unwrapped_div_int</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Unwrapped division by an integer. Returns the quotient, panicking on overflow.</p>
|
||
<p>Overflow can only occur when dividing the minimum value by −1.</p>
|
||
<h5 id="panics-23"><a class="doc-anchor" href="#panics-23">§</a>Panics</h5>
|
||
<p>Panics if the divisor is zero or if the division results in overflow.</p>
|
||
<h5 id="examples-104"><a class="doc-anchor" href="#examples-104">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="comment">// 1.5 is binary 1.1
|
||
</span><span class="kw">let </span>one_point_5 = Fix::from_bits(<span class="number">0b11 </span><< (<span class="number">4 </span>- <span class="number">1</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">3</span>).unwrapped_div_int(<span class="number">2</span>), one_point_5);</code></pre></div>
|
||
<p>The following panics because the divisor is zero.</p>
|
||
|
||
<div class="example-wrap should_panic"><a href="#" class="tooltip" title="This example panics">ⓘ</a><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>_divisor_is_zero = Fix::from_num(<span class="number">3</span>).unwrapped_div_int(<span class="number">0</span>);</code></pre></div>
|
||
<p>The following panics because of overflow.</p>
|
||
|
||
<div class="example-wrap should_panic"><a href="#" class="tooltip" title="This example panics">ⓘ</a><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>_overflow = Fix::MIN.unwrapped_div_int(-<span class="number">1</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_rem_euclid" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.unwrapped_rem_euclid" class="fn">unwrapped_rem_euclid</a>(self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Unwrapped remainder for Euclidean division. Returns the
|
||
remainder, panicking if the divisor is zero.</p>
|
||
<h5 id="examples-105"><a class="doc-anchor" href="#examples-105">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>num = Fix::from_num(<span class="number">7.5</span>);
|
||
<span class="macro">assert_eq!</span>(num.unwrapped_rem_euclid(Fix::from_num(<span class="number">2</span>)), Fix::from_num(<span class="number">1.5</span>));</code></pre></div>
|
||
<p>The following panics because the divisor is zero.</p>
|
||
|
||
<div class="example-wrap should_panic"><a href="#" class="tooltip" title="This example panics">ⓘ</a><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>_divisor_is_zero = Fix::from_num(<span class="number">3</span>).unwrapped_rem_euclid(Fix::ZERO);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_shl" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.unwrapped_shl" class="fn">unwrapped_shl</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Unwrapped shift left. Panics if <code>rhs</code> ≥ 32.</p>
|
||
<h5 id="panics-24"><a class="doc-anchor" href="#panics-24">§</a>Panics</h5>
|
||
<p>Panics if <code>rhs</code> ≥ 32.</p>
|
||
<h5 id="examples-106"><a class="doc-anchor" href="#examples-106">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>((Fix::ONE / <span class="number">2</span>).unwrapped_shl(<span class="number">3</span>), Fix::from_num(<span class="number">4</span>));</code></pre></div>
|
||
<p>The following panics because of overflow.</p>
|
||
|
||
<div class="example-wrap should_panic"><a href="#" class="tooltip" title="This example panics">ⓘ</a><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>_overflow = Fix::ONE.unwrapped_shl(<span class="number">32</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_shr" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.unwrapped_shr" class="fn">unwrapped_shr</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Unwrapped shift right. Panics if <code>rhs</code> ≥ 32.</p>
|
||
<h5 id="panics-25"><a class="doc-anchor" href="#panics-25">§</a>Panics</h5>
|
||
<p>Panics if <code>rhs</code> ≥ 32.</p>
|
||
<h5 id="examples-107"><a class="doc-anchor" href="#examples-107">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>((Fix::from_num(<span class="number">4</span>)).unwrapped_shr(<span class="number">3</span>), Fix::ONE / <span class="number">2</span>);</code></pre></div>
|
||
<p>The following panics because of overflow.</p>
|
||
|
||
<div class="example-wrap should_panic"><a href="#" class="tooltip" title="This example panics">ⓘ</a><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>_overflow = Fix::ONE.unwrapped_shr(<span class="number">32</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_abs" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.unwrapped_abs" class="fn">unwrapped_abs</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Unwrapped absolute value. Returns the absolute value, panicking on overflow.</p>
|
||
<p>Overflow can only occur when trying to find the absolute value of the minimum value.</p>
|
||
<h5 id="panics-26"><a class="doc-anchor" href="#panics-26">§</a>Panics</h5>
|
||
<p>Panics if the result does not fit.</p>
|
||
<h5 id="examples-108"><a class="doc-anchor" href="#examples-108">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">5</span>).unwrapped_abs(), Fix::from_num(<span class="number">5</span>));</code></pre></div>
|
||
<p>The following panics because of overflow.</p>
|
||
|
||
<div class="example-wrap should_panic"><a href="#" class="tooltip" title="This example panics">ⓘ</a><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>_overflow = Fix::MIN.unwrapped_abs();</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_dist" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.unwrapped_dist" class="fn">unwrapped_dist</a>(self, other: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Unwrapped distance. Returns the distance from <code>self</code> to <code>other</code>, panicking on overflow.</p>
|
||
<p>The distance is the absolute value of the difference.</p>
|
||
<h5 id="panics-27"><a class="doc-anchor" href="#panics-27">§</a>Panics</h5>
|
||
<p>Panics if the result does not fit.</p>
|
||
<h5 id="examples-109"><a class="doc-anchor" href="#examples-109">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::ONE.unwrapped_dist(Fix::from_num(<span class="number">5</span>)), Fix::from_num(<span class="number">4</span>));</code></pre></div>
|
||
<p>The following panics because of overflow.</p>
|
||
|
||
<div class="example-wrap should_panic"><a href="#" class="tooltip" title="This example panics">ⓘ</a><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>_overflow = Fix::MIN.unwrapped_dist(Fix::ZERO);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_hypot" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.unwrapped_hypot" class="fn">unwrapped_hypot</a>(self, other: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Compute the hypotenuse of a right triange, panicking on overflow.</p>
|
||
<p>The hypotenuse is equal to the square root of the sum of the squares of the
|
||
operands.</p>
|
||
<p>This method uses an iterative method for its square root, with up to 32
|
||
iterations for <a href="struct.FixedI32.html" title="struct fixed::FixedI32"><code>FixedI32</code></a>. The result is rounded down, and the
|
||
error is < <a href="struct.FixedI32.html#associatedconstant.DELTA" title="associated constant fixed::FixedI32::DELTA"><code>DELTA</code></a>. That is,
|
||
result ≤ √(<code>self</code>² + <code>other</code>²) < result + <code>DELTA</code>.</p>
|
||
<h5 id="panics-28"><a class="doc-anchor" href="#panics-28">§</a>Panics</h5>
|
||
<p>Panics if the result does not fit.</p>
|
||
<h5 id="examples-110"><a class="doc-anchor" href="#examples-110">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::types::extra::U28;
|
||
<span class="kw">use </span>fixed::FixedI32;
|
||
<span class="kw">type </span>Fix = FixedI32<U28>;
|
||
|
||
<span class="comment">// hypot(3, 4) == 5
|
||
</span><span class="macro">assert_eq!</span>(
|
||
Fix::from_num(<span class="number">3</span>).overflowing_hypot(Fix::from_num(<span class="number">4</span>)),
|
||
(Fix::from_num(<span class="number">5</span>), <span class="bool-val">false</span>)
|
||
);</code></pre></div>
|
||
<p>The following panics because of overflow.</p>
|
||
|
||
<div class="example-wrap should_panic"><a href="#" class="tooltip" title="This example panics">ⓘ</a><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::types::extra::U28;
|
||
<span class="kw">use </span>fixed::FixedI32;
|
||
<span class="kw">type </span>Fix = FixedI32<U28>;
|
||
|
||
<span class="comment">// hypot(2, 7.875) == 8.125, which does not fit
|
||
</span><span class="kw">let </span>_overflow = Fix::from_num(<span class="number">2</span>).unwrapped_hypot(Fix::from_num(<span class="number">7.875</span>));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_next_multiple_of" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.unwrapped_next_multiple_of" class="fn">unwrapped_next_multiple_of</a>(
|
||
self,
|
||
other: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>,
|
||
) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Returns the next multiple of <code>other</code>, panicking on overflow.</p>
|
||
<p>The next multiple is the smallest multiple of <code>other</code> that is ≥ <code>self</code> if <code>other</code> is positive, and the largest multiple of
|
||
<code>other</code> that is ≤ <code>self</code> if <code>other</code> is negative.</p>
|
||
<h5 id="panics-29"><a class="doc-anchor" href="#panics-29">§</a>Panics</h5>
|
||
<p>Panics if <code>other</code> is zero or on overflow.</p>
|
||
<h5 id="examples-111"><a class="doc-anchor" href="#examples-111">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(
|
||
Fix::from_num(<span class="number">4</span>).unwrapped_next_multiple_of(Fix::from_num(<span class="number">1.5</span>)),
|
||
Fix::from_num(<span class="number">4.5</span>)
|
||
);</code></pre></div>
|
||
<p>The following panics because of overflow.</p>
|
||
|
||
<div class="example-wrap should_panic"><a href="#" class="tooltip" title="This example panics">ⓘ</a><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>_overflow = Fix::MAX.unwrapped_next_multiple_of(Fix::from_num(<span class="number">2</span>));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_inv_lerp" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.unwrapped_inv_lerp" class="fn">unwrapped_inv_lerp</a><RetFrac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>>(
|
||
self,
|
||
start: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>,
|
||
end: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>,
|
||
) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><RetFrac></h4></section></summary><div class="docblock"><p>Inverse linear interpolation between <code>start</code> and <code>end</code>,
|
||
panicking on overflow.</p>
|
||
<p>The computed value can have a fixed-point type like <code>self</code> but with a different
|
||
number of fractional bits.</p>
|
||
<p>Returns
|
||
(<code>self</code> − <code>start</code>) / (<code>end</code> − <code>start</code>).
|
||
This is 0 when <code>self</code> = <code>start</code>, and 1 when <code>self</code> = <code>end</code>.</p>
|
||
<h5 id="panics-30"><a class="doc-anchor" href="#panics-30">§</a>Panics</h5>
|
||
<p>Panics when <code>start</code> = <code>end</code> or when the results overflows.</p>
|
||
<h5 id="examples-112"><a class="doc-anchor" href="#examples-112">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>two = Fix::from_num(<span class="number">2</span>);
|
||
<span class="kw">let </span>four = Fix::from_num(<span class="number">4</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">3</span>).unwrapped_inv_lerp::<U4>(two, four), <span class="number">0.5</span>);</code></pre></div>
|
||
<p>The following panics because <code>start</code> = <code>end</code>.</p>
|
||
|
||
<div class="example-wrap should_panic"><a href="#" class="tooltip" title="This example panics">ⓘ</a><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>two = Fix::from_num(<span class="number">2</span>);
|
||
<span class="kw">let </span>_zero_range = two.unwrapped_inv_lerp::<U4>(two, two);</code></pre></div>
|
||
<p>The following panics because of overflow.</p>
|
||
|
||
<div class="example-wrap should_panic"><a href="#" class="tooltip" title="This example panics">ⓘ</a><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>_overflow = Fix::MAX.unwrapped_inv_lerp::<U4>(Fix::ZERO, Fix::from_num(<span class="number">0.5</span>));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_add_unsigned" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.unwrapped_add_unsigned" class="fn">unwrapped_add_unsigned</a>(self, rhs: <a class="struct" href="struct.FixedU32.html" title="struct fixed::FixedU32">FixedU32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Unwrapped addition with an unsigned fixed-point number.
|
||
Returns the sum, panicking on overflow.</p>
|
||
<h5 id="panics-31"><a class="doc-anchor" href="#panics-31">§</a>Panics</h5>
|
||
<p>Panics if the result does not fit.</p>
|
||
<h5 id="examples-113"><a class="doc-anchor" href="#examples-113">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32, FixedU32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">type </span>UFix = FixedU32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">5</span>).unwrapped_add_unsigned(UFix::from_num(<span class="number">3</span>)), -<span class="number">2</span>);</code></pre></div>
|
||
<p>The following panics because of overflow.</p>
|
||
|
||
<div class="example-wrap should_panic"><a href="#" class="tooltip" title="This example panics">ⓘ</a><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32, FixedU32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">type </span>UFix = FixedU32<U4>;
|
||
<span class="kw">let </span>_overflow = Fix::MAX.unwrapped_add_unsigned(UFix::DELTA);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_sub_unsigned" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.unwrapped_sub_unsigned" class="fn">unwrapped_sub_unsigned</a>(self, rhs: <a class="struct" href="struct.FixedU32.html" title="struct fixed::FixedU32">FixedU32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Unwrapped subtraction with an unsigned fixed-point number.
|
||
Returns the difference, panicking on overflow.</p>
|
||
<h5 id="panics-32"><a class="doc-anchor" href="#panics-32">§</a>Panics</h5>
|
||
<p>Panics if the result does not fit.</p>
|
||
<h5 id="examples-114"><a class="doc-anchor" href="#examples-114">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32, FixedU32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">type </span>UFix = FixedU32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">3</span>).unwrapped_sub_unsigned(UFix::from_num(<span class="number">5</span>)), -<span class="number">2</span>);</code></pre></div>
|
||
<p>The following panics because of overflow.</p>
|
||
|
||
<div class="example-wrap should_panic"><a href="#" class="tooltip" title="This example panics">ⓘ</a><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32, FixedU32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">type </span>UFix = FixedU32<U4>;
|
||
<span class="kw">let </span>_overflow = Fix::MIN.unwrapped_sub_unsigned(UFix::DELTA);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_neg" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.overflowing_neg" class="fn">overflowing_neg</a>(self) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class="docblock"><p>Overflowing negation.</p>
|
||
<p>Returns a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.tuple.html" title="primitive tuple">tuple</a> of the negated value and a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html" title="primitive bool"><code>bool</code></a> indicating whether
|
||
an overflow has occurred. On overflow, the wrapped value is returned.</p>
|
||
<p>Overflow can only occur when negating the minimum value.</p>
|
||
<h5 id="examples-115"><a class="doc-anchor" href="#examples-115">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">5</span>).overflowing_neg(), (Fix::from_num(-<span class="number">5</span>), <span class="bool-val">false</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::MIN.overflowing_neg(), (Fix::MIN, <span class="bool-val">true</span>));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_add" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.overflowing_add" class="fn">overflowing_add</a>(
|
||
self,
|
||
rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>,
|
||
) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class="docblock"><p>Overflowing addition.</p>
|
||
<p>Returns a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.tuple.html" title="primitive tuple">tuple</a> of the sum and a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html" title="primitive bool"><code>bool</code></a> indicating whether an
|
||
overflow has occurred. On overflow, the wrapped value is returned.</p>
|
||
<h5 id="examples-116"><a class="doc-anchor" href="#examples-116">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>one_minus_delta = Fix::ONE - Fix::DELTA;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">3</span>).overflowing_add(Fix::from_num(<span class="number">2</span>)), (Fix::from_num(<span class="number">5</span>), <span class="bool-val">false</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::MAX.overflowing_add(Fix::ONE), (Fix::MIN + one_minus_delta, <span class="bool-val">true</span>));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_sub" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.overflowing_sub" class="fn">overflowing_sub</a>(
|
||
self,
|
||
rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>,
|
||
) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class="docblock"><p>Overflowing subtraction.</p>
|
||
<p>Returns a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.tuple.html" title="primitive tuple">tuple</a> of the difference and a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html" title="primitive bool"><code>bool</code></a> indicating whether an
|
||
overflow has occurred. On overflow, the wrapped value is returned.</p>
|
||
<h5 id="examples-117"><a class="doc-anchor" href="#examples-117">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>one_minus_delta = Fix::ONE - Fix::DELTA;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">3</span>).overflowing_sub(Fix::from_num(<span class="number">5</span>)), (Fix::from_num(-<span class="number">2</span>), <span class="bool-val">false</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::MIN.overflowing_sub(Fix::ONE), (Fix::MAX - one_minus_delta, <span class="bool-val">true</span>));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_mul_add" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.overflowing_mul_add" class="fn">overflowing_mul_add</a><MulFrac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>>(
|
||
self,
|
||
mul: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><MulFrac>,
|
||
add: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>,
|
||
) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class="docblock"><p>Overflowing multiply and add.</p>
|
||
<p>Returns a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.tuple.html" title="primitive tuple">tuple</a> of <code>self</code> × <code>mul</code> + <code>add</code> and a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html" title="primitive bool"><code>bool</code></a> indicating
|
||
whether an overflow has occurred. On overflow, the wrapped value is
|
||
returned.</p>
|
||
<p>For some cases, the product <code>self</code> × <code>mul</code> would overflow
|
||
on its own, but the final result <code>self</code> × <code>mul</code> + <code>add</code> is representable; in
|
||
these cases this method returns the correct result without overflow.</p>
|
||
<p>The <code>mul</code> parameter can have a fixed-point type like
|
||
<code>self</code> but with a different number of fractional bits.</p>
|
||
<h5 id="examples-118"><a class="doc-anchor" href="#examples-118">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(
|
||
Fix::MAX.overflowing_mul_add(Fix::ONE, Fix::ZERO),
|
||
(Fix::MAX, <span class="bool-val">false</span>)
|
||
);
|
||
<span class="macro">assert_eq!</span>(
|
||
Fix::MAX.overflowing_mul_add(Fix::ONE, Fix::DELTA),
|
||
(Fix::MIN, <span class="bool-val">true</span>)
|
||
);
|
||
<span class="macro">assert_eq!</span>(
|
||
Fix::MAX.overflowing_mul_add(Fix::from_num(<span class="number">3</span>), Fix::MAX),
|
||
Fix::MAX.overflowing_mul_int(<span class="number">4</span>)
|
||
);
|
||
<span class="comment">// MAX × 1.5 - MAX = MAX / 2, which does not overflow
|
||
</span><span class="macro">assert_eq!</span>(
|
||
Fix::MAX.overflowing_mul_add(Fix::from_num(<span class="number">1.5</span>), -Fix::MAX),
|
||
(Fix::MAX / <span class="number">2</span>, <span class="bool-val">false</span>)
|
||
);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_mul_int" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.overflowing_mul_int" class="fn">overflowing_mul_int</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class="docblock"><p>Overflowing multiplication by an integer.</p>
|
||
<p>Returns a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.tuple.html" title="primitive tuple">tuple</a> of the product and a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html" title="primitive bool"><code>bool</code></a> indicating whether an
|
||
overflow has occurred. On overflow, the wrapped value is returned.</p>
|
||
<h5 id="examples-119"><a class="doc-anchor" href="#examples-119">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">3</span>).overflowing_mul_int(<span class="number">2</span>), (Fix::from_num(<span class="number">6</span>), <span class="bool-val">false</span>));
|
||
<span class="kw">let </span>wrapped = Fix::from_bits(!<span class="number">0 </span><< <span class="number">2</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::MAX.overflowing_mul_int(<span class="number">4</span>), (wrapped, <span class="bool-val">true</span>));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_div_int" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.overflowing_div_int" class="fn">overflowing_div_int</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class="docblock"><p>Overflowing division by an integer.</p>
|
||
<p>Returns a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.tuple.html" title="primitive tuple">tuple</a> of the quotient and a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html" title="primitive bool"><code>bool</code></a> indicating whether an overflow has
|
||
occurred. On overflow, the wrapped value is returned. Overflow can
|
||
only occur when dividing the minimum value by −1.</p>
|
||
<h5 id="panics-33"><a class="doc-anchor" href="#panics-33">§</a>Panics</h5>
|
||
<p>Panics if the divisor is zero.</p>
|
||
<h5 id="examples-120"><a class="doc-anchor" href="#examples-120">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="comment">// 1.5 is binary 1.1
|
||
</span><span class="kw">let </span>one_point_5 = Fix::from_bits(<span class="number">0b11 </span><< (<span class="number">4 </span>- <span class="number">1</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">3</span>).overflowing_div_int(<span class="number">2</span>), (one_point_5, <span class="bool-val">false</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::MIN.overflowing_div_int(-<span class="number">1</span>), (Fix::MIN, <span class="bool-val">true</span>));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_shl" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.overflowing_shl" class="fn">overflowing_shl</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class="docblock"><p>Overflowing shift left.</p>
|
||
<p>Returns a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.tuple.html" title="primitive tuple">tuple</a> of the shifted value and a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html" title="primitive bool"><code>bool</code></a> indicating whether
|
||
an overflow has occurred. Overflow occurs when <code>rhs</code> ≥ 32.
|
||
On overflow <code>rhs</code> is wrapped before the shift operation.</p>
|
||
<h5 id="examples-121"><a class="doc-anchor" href="#examples-121">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>((Fix::ONE / <span class="number">2</span>).overflowing_shl(<span class="number">3</span>), (Fix::from_num(<span class="number">4</span>), <span class="bool-val">false</span>));
|
||
<span class="macro">assert_eq!</span>((Fix::ONE / <span class="number">2</span>).overflowing_shl(<span class="number">3 </span>+ <span class="number">32</span>), (Fix::from_num(<span class="number">4</span>), <span class="bool-val">true</span>));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_shr" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.overflowing_shr" class="fn">overflowing_shr</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class="docblock"><p>Overflowing shift right.</p>
|
||
<p>Returns a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.tuple.html" title="primitive tuple">tuple</a> of the shifted value and a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html" title="primitive bool"><code>bool</code></a> indicating whether
|
||
an overflow has occurred. Overflow occurs when <code>rhs</code> ≥ 32.
|
||
On overflow <code>rhs</code> is wrapped before the shift operation.</p>
|
||
<h5 id="examples-122"><a class="doc-anchor" href="#examples-122">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>((Fix::from_num(<span class="number">4</span>)).overflowing_shr(<span class="number">3</span>), (Fix::ONE / <span class="number">2</span>, <span class="bool-val">false</span>));
|
||
<span class="macro">assert_eq!</span>((Fix::from_num(<span class="number">4</span>)).overflowing_shr(<span class="number">3 </span>+ <span class="number">32</span>), (Fix::ONE / <span class="number">2</span>, <span class="bool-val">true</span>));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_abs" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.overflowing_abs" class="fn">overflowing_abs</a>(self) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class="docblock"><p>Overflowing absolute value.</p>
|
||
<p>Returns a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.tuple.html" title="primitive tuple">tuple</a> of the absolute value and a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html" title="primitive bool"><code>bool</code></a> indicating
|
||
whether an overflow has occurred. On overflow, the wrapped value is
|
||
returned.</p>
|
||
<p>Overflow can only occur when trying to find the absolute value of the minimum value.</p>
|
||
<h5 id="examples-123"><a class="doc-anchor" href="#examples-123">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">5</span>).overflowing_abs(), (Fix::from_num(<span class="number">5</span>), <span class="bool-val">false</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::MIN.overflowing_abs(), (Fix::MIN, <span class="bool-val">true</span>));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_dist" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.overflowing_dist" class="fn">overflowing_dist</a>(
|
||
self,
|
||
other: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>,
|
||
) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class="docblock"><p>Overflowing distance.</p>
|
||
<p>Returns a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.tuple.html" title="primitive tuple">tuple</a> of the distance from <code>self</code> to <code>other</code> and a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html" title="primitive bool"><code>bool</code></a> indicating whether an overflow has
|
||
occurred. On overflow, the wrapped value is returned.</p>
|
||
<p>The distance is the absolute value of the difference.</p>
|
||
<h5 id="examples-124"><a class="doc-anchor" href="#examples-124">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(
|
||
Fix::ONE.overflowing_dist(Fix::from_num(<span class="number">5</span>)),
|
||
(Fix::from_num(<span class="number">4</span>), <span class="bool-val">false</span>)
|
||
);
|
||
<span class="macro">assert_eq!</span>(
|
||
Fix::MIN.overflowing_dist(Fix::MAX),
|
||
(-Fix::DELTA, <span class="bool-val">true</span>)
|
||
);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_hypot" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.overflowing_hypot" class="fn">overflowing_hypot</a>(
|
||
self,
|
||
other: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>,
|
||
) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class="docblock"><p>Compute the hypotenuse of a right triange.</p>
|
||
<p>Returns a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.tuple.html" title="primitive tuple">tuple</a> of the hypotenuse and a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html" title="primitive bool"><code>bool</code></a>, indicating whether an
|
||
overflow has occurred. On overflow, the wrapped value is returned.</p>
|
||
<p>The hypotenuse is equal to the square root of the sum of the squares of the
|
||
operands.</p>
|
||
<p>This method uses an iterative method for its square root, with up to 32
|
||
iterations for <a href="struct.FixedI32.html" title="struct fixed::FixedI32"><code>FixedI32</code></a>. The result is rounded down, and the
|
||
error is < <a href="struct.FixedI32.html#associatedconstant.DELTA" title="associated constant fixed::FixedI32::DELTA"><code>DELTA</code></a>. That is,
|
||
result ≤ √(<code>self</code>² + <code>other</code>²) < result + <code>DELTA</code>.</p>
|
||
<h5 id="examples-125"><a class="doc-anchor" href="#examples-125">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::types::extra::U28;
|
||
<span class="kw">use </span>fixed::FixedI32;
|
||
<span class="kw">type </span>Fix = FixedI32<U28>;
|
||
|
||
<span class="comment">// hypot(3, 4) == 5
|
||
</span><span class="macro">assert_eq!</span>(
|
||
Fix::from_num(<span class="number">3</span>).overflowing_hypot(Fix::from_num(<span class="number">4</span>)),
|
||
(Fix::from_num(<span class="number">5</span>), <span class="bool-val">false</span>)
|
||
);
|
||
|
||
<span class="comment">// hypot(2, 7.875) == 8.125, which wraps to -7.875
|
||
</span><span class="macro">assert_eq!</span>(
|
||
Fix::from_num(<span class="number">2</span>).overflowing_hypot(Fix::from_num(<span class="number">7.875</span>)),
|
||
(Fix::from_num(-<span class="number">7.875</span>), <span class="bool-val">true</span>)
|
||
);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_next_multiple_of" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.overflowing_next_multiple_of" class="fn">overflowing_next_multiple_of</a>(
|
||
self,
|
||
other: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>,
|
||
) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class="docblock"><p>Overflowing next multiple of <code>other</code>.</p>
|
||
<p>Returns a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.tuple.html" title="primitive tuple">tuple</a> of the next multiple and a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html" title="primitive bool"><code>bool</code></a> indicating whether an
|
||
overflow has occurred. On overflow, the wrapped value is returned.</p>
|
||
<p>The next multiple is the smallest multiple of <code>other</code> that is ≥ <code>self</code> if <code>other</code> is positive, and the largest multiple of
|
||
<code>other</code> that is ≤ <code>self</code> if <code>other</code> is negative.</p>
|
||
<h5 id="panics-34"><a class="doc-anchor" href="#panics-34">§</a>Panics</h5>
|
||
<p>Panics if <code>other</code> is zero.</p>
|
||
<h5 id="examples-126"><a class="doc-anchor" href="#examples-126">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(
|
||
Fix::from_num(<span class="number">4</span>).overflowing_next_multiple_of(Fix::from_num(<span class="number">1.5</span>)),
|
||
(Fix::from_num(<span class="number">4.5</span>), <span class="bool-val">false</span>)
|
||
);
|
||
<span class="kw">let </span>max_minus_delta = Fix::MAX - Fix::DELTA;
|
||
<span class="macro">assert_eq!</span>(
|
||
Fix::MAX.overflowing_next_multiple_of(max_minus_delta),
|
||
(max_minus_delta.wrapping_mul_int(<span class="number">2</span>), <span class="bool-val">true</span>)
|
||
);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_inv_lerp" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.overflowing_inv_lerp" class="fn">overflowing_inv_lerp</a><RetFrac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>>(
|
||
self,
|
||
start: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>,
|
||
end: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>,
|
||
) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><RetFrac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class="docblock"><p>Overflowing inverse linear interpolation between <code>start</code> and <code>end</code>.</p>
|
||
<p>Returns a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.tuple.html" title="primitive tuple">tuple</a> of the result and a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html" title="primitive bool"><code>bool</code></a> indicationg whether an overflow
|
||
has occurred. On overflow, the wrapped value is returned.</p>
|
||
<p>The computed value can have a fixed-point type like <code>self</code> but with a different
|
||
number of fractional bits.</p>
|
||
<p>Computes
|
||
(<code>self</code> − <code>start</code>) / (<code>end</code> − <code>start</code>).
|
||
This is 0 when <code>self</code> = <code>start</code>, and 1 when <code>self</code> = <code>end</code>.</p>
|
||
<h5 id="panics-35"><a class="doc-anchor" href="#panics-35">§</a>Panics</h5>
|
||
<p>Panics when <code>start</code> = <code>end</code>.</p>
|
||
<h5 id="examples-127"><a class="doc-anchor" href="#examples-127">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>two = Fix::from_num(<span class="number">2</span>);
|
||
<span class="kw">let </span>four = Fix::from_num(<span class="number">4</span>);
|
||
<span class="macro">assert_eq!</span>(
|
||
Fix::from_num(<span class="number">3</span>).overflowing_inv_lerp::<U4>(two, four),
|
||
(Fix::from_num(<span class="number">0.5</span>), <span class="bool-val">false</span>)
|
||
);
|
||
<span class="macro">assert_eq!</span>(
|
||
Fix::MAX.overflowing_inv_lerp::<U4>(Fix::ZERO, Fix::from_num(<span class="number">0.5</span>)),
|
||
(Fix::MAX.wrapping_mul_int(<span class="number">2</span>), <span class="bool-val">true</span>)
|
||
);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_add_unsigned" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.overflowing_add_unsigned" class="fn">overflowing_add_unsigned</a>(
|
||
self,
|
||
rhs: <a class="struct" href="struct.FixedU32.html" title="struct fixed::FixedU32">FixedU32</a><Frac>,
|
||
) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class="docblock"><p>Overflowing addition with an unsigned fixed-point number.</p>
|
||
<p>Returns a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.tuple.html" title="primitive tuple">tuple</a> of the sum and a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html" title="primitive bool"><code>bool</code></a> indicating
|
||
whether an overflow has occurred. On overflow, the wrapped
|
||
value is returned.</p>
|
||
<h5 id="examples-128"><a class="doc-anchor" href="#examples-128">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32, FixedU32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">type </span>UFix = FixedU32<U4>;
|
||
<span class="macro">assert_eq!</span>(
|
||
Fix::from_num(-<span class="number">5</span>).overflowing_add_unsigned(UFix::from_num(<span class="number">3</span>)),
|
||
(Fix::from_num(-<span class="number">2</span>), <span class="bool-val">false</span>)
|
||
);
|
||
<span class="macro">assert_eq!</span>(
|
||
Fix::ZERO.overflowing_add_unsigned(UFix::MAX),
|
||
(-Fix::DELTA, <span class="bool-val">true</span>)
|
||
);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_sub_unsigned" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.overflowing_sub_unsigned" class="fn">overflowing_sub_unsigned</a>(
|
||
self,
|
||
rhs: <a class="struct" href="struct.FixedU32.html" title="struct fixed::FixedU32">FixedU32</a><Frac>,
|
||
) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class="docblock"><p>Overflowing subtraction with an unsigned fixed-point number.</p>
|
||
<p>Returns a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.tuple.html" title="primitive tuple">tuple</a> of the difference and a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html" title="primitive bool"><code>bool</code></a>
|
||
indicating whether an overflow has occurred. On overflow,
|
||
the wrapped value is returned.</p>
|
||
<h5 id="examples-129"><a class="doc-anchor" href="#examples-129">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32, FixedU32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">type </span>UFix = FixedU32<U4>;
|
||
<span class="macro">assert_eq!</span>(
|
||
Fix::from_num(<span class="number">3</span>).overflowing_sub_unsigned(UFix::from_num(<span class="number">5</span>)),
|
||
(Fix::from_num(-<span class="number">2</span>), <span class="bool-val">false</span>)
|
||
);
|
||
<span class="macro">assert_eq!</span>(
|
||
Fix::ZERO.overflowing_sub_unsigned(UFix::MAX),
|
||
(Fix::DELTA, <span class="bool-val">true</span>)
|
||
);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.unchecked_add" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const unsafe fn <a href="#method.unchecked_add" class="fn">unchecked_add</a>(self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Unchecked addition. Computes <code>self</code> + <code>rhs</code>, assuming
|
||
overflow cannot occur.</p>
|
||
<p>Calling <code>x.unchecked_add(y)</code> is semantically equivalent to
|
||
calling
|
||
<code>x.<a href="struct.FixedI32.html#method.checked_add" title="method fixed::FixedI32::checked_add">checked_add</a>(y).<a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#method.unwrap_unchecked" title="method core::option::Option::unwrap_unchecked">unwrap_unchecked</a>()</code>.</p>
|
||
<p>If you’re just trying to avoid the panic in debug mode, then
|
||
<strong>do not</strong> use this. Instead, you’re looking for
|
||
<a href="struct.FixedI32.html#method.wrapping_add" title="method fixed::FixedI32::wrapping_add"><code>wrapping_add</code></a>.</p>
|
||
<h5 id="safety"><a class="doc-anchor" href="#safety">§</a>Safety</h5>
|
||
<p>This results in undefined behavior when
|
||
<code>self</code> + <code>rhs</code> > <a href="struct.FixedI32.html#associatedconstant.MAX" title="associated constant fixed::FixedI32::MAX"><code>MAX</code></a> or <code>self</code> + <code>rhs</code> < <a href="struct.FixedI32.html#associatedconstant.MIN" title="associated constant fixed::FixedI32::MIN"><code>MIN</code></a>.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.unchecked_sub" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const unsafe fn <a href="#method.unchecked_sub" class="fn">unchecked_sub</a>(self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Unchecked subtraction. Computes <code>self</code> − <code>rhs</code>,
|
||
assuming overflow cannot occur.</p>
|
||
<p>Calling <code>x.unchecked_sub(y)</code> is semantically equivalent to
|
||
calling
|
||
<code>x.<a href="struct.FixedI32.html#method.checked_sub" title="method fixed::FixedI32::checked_sub">checked_sub</a>(y).<a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#method.unwrap_unchecked" title="method core::option::Option::unwrap_unchecked">unwrap_unchecked</a>()</code>.</p>
|
||
<p>If you’re just trying to avoid the panic in debug mode, then
|
||
<strong>do not</strong> use this. Instead, you’re looking for
|
||
<a href="struct.FixedI32.html#method.wrapping_sub" title="method fixed::FixedI32::wrapping_sub"><code>wrapping_sub</code></a>.</p>
|
||
<h5 id="safety-1"><a class="doc-anchor" href="#safety-1">§</a>Safety</h5>
|
||
<p>This results in undefined behavior when
|
||
<code>self</code> − <code>rhs</code> > <a href="struct.FixedI32.html#associatedconstant.MAX" title="associated constant fixed::FixedI32::MAX"><code>MAX</code></a> or <code>self</code> − <code>rhs</code> < <a href="struct.FixedI32.html#associatedconstant.MIN" title="associated constant fixed::FixedI32::MIN"><code>MIN</code></a>.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.unchecked_mul_int" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const unsafe fn <a href="#method.unchecked_mul_int" class="fn">unchecked_mul_int</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Unchecked multiplication by an integer. Computes
|
||
<code>self</code> × <code>rhs</code>, assuming overflow cannot occur.</p>
|
||
<p>Calling <code>x.unchecked_mul_int(y)</code> is semantically equivalent to
|
||
calling
|
||
<code>x.<a href="struct.FixedI32.html#method.checked_mul_int" title="method fixed::FixedI32::checked_mul_int">checked_mul_int</a>(y).<a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#method.unwrap_unchecked" title="method core::option::Option::unwrap_unchecked">unwrap_unchecked</a>()</code>.</p>
|
||
<p>If you’re just trying to avoid the panic in debug mode, then
|
||
<strong>do not</strong> use this. Instead, you’re looking for
|
||
<a href="struct.FixedI32.html#method.wrapping_mul_int" title="method fixed::FixedI32::wrapping_mul_int"><code>wrapping_mul_int</code></a>.</p>
|
||
<h5 id="safety-2"><a class="doc-anchor" href="#safety-2">§</a>Safety</h5>
|
||
<p>This results in undefined behavior when
|
||
<code>self</code> × <code>rhs</code> > <a href="struct.FixedI32.html#associatedconstant.MAX" title="associated constant fixed::FixedI32::MAX"><code>MAX</code></a> or <code>self</code> × <code>rhs</code> < <a href="struct.FixedI32.html#associatedconstant.MIN" title="associated constant fixed::FixedI32::MIN"><code>MIN</code></a>.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-FixedI32%3CFrac%3E-1" class="impl"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><a href="#impl-FixedI32%3CFrac%3E-1" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="docblock"><p>The implementation of items in this block depends on the
|
||
number of fractional bits <code>Frac</code>.</p>
|
||
</div><div class="impl-items"><details class="toggle" open><summary><section id="associatedconstant.INT_NBITS" class="associatedconstant"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.INT_NBITS" class="constant">INT_NBITS</a>: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a> = _</h4></section></summary><div class="docblock"><p>The number of integer bits.</p>
|
||
<h5 id="examples-130"><a class="doc-anchor" href="#examples-130">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U6, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U6>;
|
||
<span class="macro">assert_eq!</span>(Fix::INT_NBITS, <span class="number">32 </span>- <span class="number">6</span>);</code></pre></div>
|
||
</div></details><details class="toggle" open><summary><section id="associatedconstant.FRAC_NBITS" class="associatedconstant"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.FRAC_NBITS" class="constant">FRAC_NBITS</a>: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a> = Frac::U32</h4></section></summary><div class="docblock"><p>The number of fractional bits.</p>
|
||
<h5 id="examples-131"><a class="doc-anchor" href="#examples-131">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U6, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U6>;
|
||
<span class="macro">assert_eq!</span>(Fix::FRAC_NBITS, <span class="number">6</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.from_num" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub fn <a href="#method.from_num" class="fn">from_num</a><Src: <a class="trait" href="traits/trait.ToFixed.html" title="trait fixed::traits::ToFixed">ToFixed</a>>(src: Src) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Creates a fixed-point number from another number.</p>
|
||
<p>The other number can be:</p>
|
||
<ul>
|
||
<li>Another fixed-point number. Any extra fractional bits are
|
||
discarded, which rounds towards −∞.</li>
|
||
<li>An integer of type <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html" title="primitive i8"><code>i8</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html" title="primitive i16"><code>i16</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html" title="primitive i32"><code>i32</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html" title="primitive i64"><code>i64</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html" title="primitive i128"><code>i128</code></a>,
|
||
<a href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html" title="primitive isize"><code>isize</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html" title="primitive u8"><code>u8</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html" title="primitive u16"><code>u16</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html" title="primitive u32"><code>u32</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html" title="primitive u64"><code>u64</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html" title="primitive u128"><code>u128</code></a>, or
|
||
<a href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html" title="primitive usize"><code>usize</code></a>.</li>
|
||
<li>A floating-point number of type <code><a href="../half/index.html" title="mod half">half</a>::<a href="../half/binary16/struct.f16.html" title="struct half::binary16::f16">f16</a></code>,
|
||
<code><a href="../half/index.html" title="mod half">half</a>::<a href="../half/bfloat/struct.bf16.html" title="struct half::bfloat::bf16">bf16</a></code>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.f32.html" title="primitive f32"><code>f32</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.f64.html" title="primitive f64"><code>f64</code></a> or <a href="struct.F128.html" title="struct fixed::F128"><code>F128</code></a>. For
|
||
this conversion, the method rounds to the nearest, with ties rounding to
|
||
even.</li>
|
||
<li>Any other number <code>src</code> for which <a href="traits/trait.ToFixed.html" title="trait fixed::traits::ToFixed"><code>ToFixed</code></a> is implemented, in
|
||
which case this method returns
|
||
<code>src.<a href="traits/trait.ToFixed.html#tymethod.to_fixed" title="method fixed::traits::ToFixed::to_fixed">to_fixed</a>()</code>.</li>
|
||
</ul>
|
||
<h5 id="panics-36"><a class="doc-anchor" href="#panics-36">§</a>Panics</h5>
|
||
<p>For floating-point numbers, panics if the value is not <a href="https://doc.rust-lang.org/1.84.0/core/primitive.f64.html#method.is_finite" title="method f64::is_finite">finite</a>.</p>
|
||
<p>When debug assertions are enabled, panics if the value does not fit.
|
||
When debug assertions are not enabled, the wrapped value can be
|
||
returned, but it is not considered a breaking change if in the future
|
||
it panics; if wrapping is required use <a href="struct.FixedI32.html#method.wrapping_from_num" title="associated function fixed::FixedI32::wrapping_from_num"><code>wrapping_from_num</code></a> instead.</p>
|
||
<h5 id="examples-132"><a class="doc-anchor" href="#examples-132">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, types::I16F16, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
|
||
<span class="comment">// 1.75 is 1.11 in binary
|
||
</span><span class="kw">let </span>src = I16F16::from_bits(<span class="number">0b111 </span><< (<span class="number">16 </span>- <span class="number">2</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(src), Fix::from_bits(<span class="number">0b111 </span><< (<span class="number">4 </span>- <span class="number">2</span>)));
|
||
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">3i32</span>), Fix::from_bits(<span class="number">3 </span><< <span class="number">4</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">3i64</span>), Fix::from_bits(-<span class="number">3 </span><< <span class="number">4</span>));
|
||
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">1.75f32</span>), Fix::from_bits(<span class="number">0b111 </span><< (<span class="number">4 </span>- <span class="number">2</span>)));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">1.75f64</span>), Fix::from_bits(-<span class="number">0b111 </span><< (<span class="number">4</span>-<span class="number">2</span>)));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.to_num" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub fn <a href="#method.to_num" class="fn">to_num</a><Dst: <a class="trait" href="traits/trait.FromFixed.html" title="trait fixed::traits::FromFixed">FromFixed</a>>(self) -> Dst</h4></section></summary><div class="docblock"><p>Converts a fixed-point number to another number.</p>
|
||
<p>The other number can be:</p>
|
||
<ul>
|
||
<li>Another fixed-point number. Any extra fractional bits are
|
||
discarded, which rounds towards −∞.</li>
|
||
<li>An integer of type <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html" title="primitive i8"><code>i8</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html" title="primitive i16"><code>i16</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html" title="primitive i32"><code>i32</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html" title="primitive i64"><code>i64</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html" title="primitive i128"><code>i128</code></a>,
|
||
<a href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html" title="primitive isize"><code>isize</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html" title="primitive u8"><code>u8</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html" title="primitive u16"><code>u16</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html" title="primitive u32"><code>u32</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html" title="primitive u64"><code>u64</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html" title="primitive u128"><code>u128</code></a>, or
|
||
<a href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html" title="primitive usize"><code>usize</code></a>. Any fractional bits are discarded, which rounds towards
|
||
−∞.</li>
|
||
<li>A floating-point number of type <code><a href="../half/index.html" title="mod half">half</a>::<a href="../half/binary16/struct.f16.html" title="struct half::binary16::f16">f16</a></code>,
|
||
<code><a href="../half/index.html" title="mod half">half</a>::<a href="../half/bfloat/struct.bf16.html" title="struct half::bfloat::bf16">bf16</a></code>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.f32.html" title="primitive f32"><code>f32</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.f64.html" title="primitive f64"><code>f64</code></a> or <a href="struct.F128.html" title="struct fixed::F128"><code>F128</code></a>. For
|
||
this conversion, the method rounds to the nearest, with ties rounding to
|
||
even.</li>
|
||
<li>Any other type <code>Dst</code> for which <a href="traits/trait.FromFixed.html" title="trait fixed::traits::FromFixed"><code>FromFixed</code></a> is implemented, in
|
||
which case this method returns
|
||
<code>Dst::<a href="traits/trait.FromFixed.html#tymethod.from_fixed" title="associated function fixed::traits::FromFixed::from_fixed">from_fixed</a>(self)</code>.</li>
|
||
</ul>
|
||
<h5 id="panics-37"><a class="doc-anchor" href="#panics-37">§</a>Panics</h5>
|
||
<p>When debug assertions are enabled, panics if the value does not fit.
|
||
When debug assertions are not enabled, the wrapped value can be
|
||
returned, but it is not considered a breaking change if in the future
|
||
it panics; if wrapping is required use <a href="struct.FixedI32.html#method.wrapping_to_num" title="method fixed::FixedI32::wrapping_to_num"><code>wrapping_to_num</code></a> instead.</p>
|
||
<h5 id="examples-133"><a class="doc-anchor" href="#examples-133">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, types::I30F2, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
|
||
<span class="comment">// 1.75 is 1.11 in binary
|
||
</span><span class="kw">let </span>src = Fix::from_bits(<span class="number">0b111 </span><< (<span class="number">4 </span>- <span class="number">2</span>));
|
||
<span class="macro">assert_eq!</span>(src.to_num::<I30F2>(), I30F2::from_bits(<span class="number">0b111</span>));
|
||
<span class="comment">// src >> 2 is 0.0111, which for I30F2 is truncated to 0.01
|
||
</span><span class="macro">assert_eq!</span>((src >> <span class="number">2u32</span>).to_num::<I30F2>(), I30F2::from_bits(<span class="number">0b1</span>));
|
||
|
||
<span class="comment">// 2.5 is 10.1 in binary
|
||
</span><span class="kw">let </span>two_point_5 = Fix::from_bits(<span class="number">0b101 </span><< (<span class="number">4 </span>- <span class="number">1</span>));
|
||
<span class="macro">assert_eq!</span>(two_point_5.to_num::<i32>(), <span class="number">2</span>);
|
||
<span class="macro">assert_eq!</span>((-two_point_5).to_num::<i64>(), -<span class="number">3</span>);
|
||
|
||
<span class="comment">// 1.625 is 1.101 in binary
|
||
</span><span class="kw">let </span>one_point_625 = Fix::from_bits(<span class="number">0b1101 </span><< (<span class="number">4 </span>- <span class="number">3</span>));
|
||
<span class="macro">assert_eq!</span>(one_point_625.to_num::<f32>(), <span class="number">1.625f32</span>);
|
||
<span class="macro">assert_eq!</span>((-one_point_625).to_num::<f64>(), -<span class="number">1.625f64</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.checked_from_num" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub fn <a href="#method.checked_from_num" class="fn">checked_from_num</a><Src: <a class="trait" href="traits/trait.ToFixed.html" title="trait fixed::traits::ToFixed">ToFixed</a>>(src: Src) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>></h4></section></summary><div class="docblock"><p>Creates a fixed-point number from another number if it
|
||
fits, otherwise returns <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a>.</p>
|
||
<p>The other number can be:</p>
|
||
<ul>
|
||
<li>Another fixed-point number. Any extra fractional bits are
|
||
discarded, which rounds towards −∞.</li>
|
||
<li>An integer of type <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html" title="primitive i8"><code>i8</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html" title="primitive i16"><code>i16</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html" title="primitive i32"><code>i32</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html" title="primitive i64"><code>i64</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html" title="primitive i128"><code>i128</code></a>,
|
||
<a href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html" title="primitive isize"><code>isize</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html" title="primitive u8"><code>u8</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html" title="primitive u16"><code>u16</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html" title="primitive u32"><code>u32</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html" title="primitive u64"><code>u64</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html" title="primitive u128"><code>u128</code></a>, or
|
||
<a href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html" title="primitive usize"><code>usize</code></a>.</li>
|
||
<li>A floating-point number of type <code><a href="../half/index.html" title="mod half">half</a>::<a href="../half/binary16/struct.f16.html" title="struct half::binary16::f16">f16</a></code>,
|
||
<code><a href="../half/index.html" title="mod half">half</a>::<a href="../half/bfloat/struct.bf16.html" title="struct half::bfloat::bf16">bf16</a></code>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.f32.html" title="primitive f32"><code>f32</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.f64.html" title="primitive f64"><code>f64</code></a> or <a href="struct.F128.html" title="struct fixed::F128"><code>F128</code></a>. For
|
||
this conversion, the method rounds to the nearest, with ties rounding to
|
||
even.</li>
|
||
<li>Any other number <code>src</code> for which <a href="traits/trait.ToFixed.html" title="trait fixed::traits::ToFixed"><code>ToFixed</code></a> is implemented, in
|
||
which case this method returns
|
||
<code>src.<a href="traits/trait.ToFixed.html#tymethod.checked_to_fixed" title="method fixed::traits::ToFixed::checked_to_fixed">checked_to_fixed</a>()</code>.</li>
|
||
</ul>
|
||
<h5 id="examples-134"><a class="doc-anchor" href="#examples-134">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{
|
||
types::extra::{U2, U4},
|
||
types::I16F16,
|
||
FixedI32,
|
||
};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
|
||
<span class="comment">// 1.75 is 1.11 in binary
|
||
</span><span class="kw">let </span>src = I16F16::from_bits(<span class="number">0b111 </span><< (<span class="number">16 </span>- <span class="number">2</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::checked_from_num(src), <span class="prelude-val">Some</span>(Fix::from_bits(<span class="number">0b111 </span><< (<span class="number">4 </span>- <span class="number">2</span>))));
|
||
<span class="kw">let </span>too_large = FixedI32::<U2>::MAX;
|
||
<span class="macro">assert!</span>(Fix::checked_from_num(too_large).is_none());
|
||
|
||
<span class="macro">assert_eq!</span>(Fix::checked_from_num(<span class="number">3</span>), <span class="prelude-val">Some</span>(Fix::from_bits(<span class="number">3 </span><< <span class="number">4</span>)));
|
||
<span class="kw">let </span>too_large = i32::MAX;
|
||
<span class="macro">assert!</span>(Fix::checked_from_num(too_large).is_none());
|
||
<span class="kw">let </span>too_small = i32::MIN;
|
||
<span class="macro">assert!</span>(Fix::checked_from_num(too_small).is_none());
|
||
|
||
<span class="comment">// 1.75 is 1.11 in binary
|
||
</span><span class="kw">let </span>expected = Fix::from_bits(<span class="number">0b111 </span><< (<span class="number">4 </span>- <span class="number">2</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::checked_from_num(<span class="number">1.75f32</span>), <span class="prelude-val">Some</span>(expected));
|
||
<span class="macro">assert_eq!</span>(Fix::checked_from_num(-<span class="number">1.75f64</span>), <span class="prelude-val">Some</span>(-expected));
|
||
<span class="macro">assert!</span>(Fix::checked_from_num(<span class="number">2e38</span>).is_none());
|
||
<span class="macro">assert!</span>(Fix::checked_from_num(std::f64::NAN).is_none());</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.checked_to_num" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub fn <a href="#method.checked_to_num" class="fn">checked_to_num</a><Dst: <a class="trait" href="traits/trait.FromFixed.html" title="trait fixed::traits::FromFixed">FromFixed</a>>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Dst></h4></section></summary><div class="docblock"><p>Converts a fixed-point number to another number if it
|
||
fits, otherwise returns <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a>.</p>
|
||
<p>The other number can be:</p>
|
||
<ul>
|
||
<li>Another fixed-point number. Any extra fractional bits are
|
||
discarded, which rounds towards −∞.</li>
|
||
<li>An integer of type <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html" title="primitive i8"><code>i8</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html" title="primitive i16"><code>i16</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html" title="primitive i32"><code>i32</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html" title="primitive i64"><code>i64</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html" title="primitive i128"><code>i128</code></a>,
|
||
<a href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html" title="primitive isize"><code>isize</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html" title="primitive u8"><code>u8</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html" title="primitive u16"><code>u16</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html" title="primitive u32"><code>u32</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html" title="primitive u64"><code>u64</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html" title="primitive u128"><code>u128</code></a>, or
|
||
<a href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html" title="primitive usize"><code>usize</code></a>. Any fractional bits are discarded, which rounds towards
|
||
−∞.</li>
|
||
<li>A floating-point number of type <code><a href="../half/index.html" title="mod half">half</a>::<a href="../half/binary16/struct.f16.html" title="struct half::binary16::f16">f16</a></code>,
|
||
<code><a href="../half/index.html" title="mod half">half</a>::<a href="../half/bfloat/struct.bf16.html" title="struct half::bfloat::bf16">bf16</a></code>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.f32.html" title="primitive f32"><code>f32</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.f64.html" title="primitive f64"><code>f64</code></a> or <a href="struct.F128.html" title="struct fixed::F128"><code>F128</code></a>. For
|
||
this conversion, the method rounds to the nearest, with ties rounding to
|
||
even.</li>
|
||
<li>Any other type <code>Dst</code> for which <a href="traits/trait.FromFixed.html" title="trait fixed::traits::FromFixed"><code>FromFixed</code></a> is implemented, in
|
||
which case this method returns
|
||
<code>Dst::<a href="traits/trait.FromFixed.html#tymethod.checked_from_fixed" title="associated function fixed::traits::FromFixed::checked_from_fixed">checked_from_fixed</a>(self)</code>.</li>
|
||
</ul>
|
||
<h5 id="examples-135"><a class="doc-anchor" href="#examples-135">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{
|
||
types::extra::{U0, U4, U6},
|
||
types::I16F16,
|
||
FixedI32,
|
||
};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
|
||
<span class="comment">// 1.75 is 1.11 in binary
|
||
</span><span class="kw">let </span>src = Fix::from_bits(<span class="number">0b111 </span><< (<span class="number">4 </span>- <span class="number">2</span>));
|
||
<span class="kw">let </span>expected = I16F16::from_bits(<span class="number">0b111 </span><< (<span class="number">16 </span>- <span class="number">2</span>));
|
||
<span class="macro">assert_eq!</span>(src.checked_to_num::<I16F16>(), <span class="prelude-val">Some</span>(expected));
|
||
<span class="kw">type </span>TooFewIntBits = FixedI32<U6>;
|
||
<span class="macro">assert!</span>(Fix::MAX.checked_to_num::<TooFewIntBits>().is_none());
|
||
|
||
<span class="comment">// 2.5 is 10.1 in binary
|
||
</span><span class="kw">let </span>two_point_5 = Fix::from_bits(<span class="number">0b101 </span><< (<span class="number">4 </span>- <span class="number">1</span>));
|
||
<span class="macro">assert_eq!</span>(two_point_5.checked_to_num::<i32>(), <span class="prelude-val">Some</span>(<span class="number">2</span>));
|
||
<span class="macro">assert_eq!</span>((-two_point_5).checked_to_num::<i64>(), <span class="prelude-val">Some</span>(-<span class="number">3</span>));
|
||
<span class="kw">type </span>AllInt = FixedI32<U0>;
|
||
<span class="macro">assert!</span>(AllInt::from_bits(-<span class="number">1</span>).checked_to_num::<u32>().is_none());
|
||
|
||
<span class="comment">// 1.625 is 1.101 in binary
|
||
</span><span class="kw">let </span>one_point_625 = Fix::from_bits(<span class="number">0b1101 </span><< (<span class="number">4 </span>- <span class="number">3</span>));
|
||
<span class="macro">assert_eq!</span>(one_point_625.checked_to_num::<f32>(), <span class="prelude-val">Some</span>(<span class="number">1.625f32</span>));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_from_num" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub fn <a href="#method.saturating_from_num" class="fn">saturating_from_num</a><Src: <a class="trait" href="traits/trait.ToFixed.html" title="trait fixed::traits::ToFixed">ToFixed</a>>(src: Src) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Creates a fixed-point number from another number,
|
||
saturating if it does not fit.</p>
|
||
<p>The other number can be:</p>
|
||
<ul>
|
||
<li>Another fixed-point number. Any extra fractional bits are
|
||
discarded, which rounds towards −∞.</li>
|
||
<li>An integer of type <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html" title="primitive i8"><code>i8</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html" title="primitive i16"><code>i16</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html" title="primitive i32"><code>i32</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html" title="primitive i64"><code>i64</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html" title="primitive i128"><code>i128</code></a>,
|
||
<a href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html" title="primitive isize"><code>isize</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html" title="primitive u8"><code>u8</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html" title="primitive u16"><code>u16</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html" title="primitive u32"><code>u32</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html" title="primitive u64"><code>u64</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html" title="primitive u128"><code>u128</code></a>, or
|
||
<a href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html" title="primitive usize"><code>usize</code></a>.</li>
|
||
<li>A floating-point number of type <code><a href="../half/index.html" title="mod half">half</a>::<a href="../half/binary16/struct.f16.html" title="struct half::binary16::f16">f16</a></code>,
|
||
<code><a href="../half/index.html" title="mod half">half</a>::<a href="../half/bfloat/struct.bf16.html" title="struct half::bfloat::bf16">bf16</a></code>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.f32.html" title="primitive f32"><code>f32</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.f64.html" title="primitive f64"><code>f64</code></a> or <a href="struct.F128.html" title="struct fixed::F128"><code>F128</code></a>. For
|
||
this conversion, the method rounds to the nearest, with ties rounding to
|
||
even.</li>
|
||
<li>Any other number <code>src</code> for which <a href="traits/trait.ToFixed.html" title="trait fixed::traits::ToFixed"><code>ToFixed</code></a> is implemented, in
|
||
which case this method returns
|
||
<code>src.<a href="traits/trait.ToFixed.html#tymethod.saturating_to_fixed" title="method fixed::traits::ToFixed::saturating_to_fixed">saturating_to_fixed</a>()</code>.</li>
|
||
</ul>
|
||
<h5 id="panics-38"><a class="doc-anchor" href="#panics-38">§</a>Panics</h5>
|
||
<p>This method panics if the value is a floating-point <a href="https://doc.rust-lang.org/1.84.0/core/primitive.f64.html#method.is_nan" title="method f64::is_nan">NaN</a>.</p>
|
||
<h5 id="examples-136"><a class="doc-anchor" href="#examples-136">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{
|
||
types::extra::{U2, U4},
|
||
types::I16F16,
|
||
FixedI32,
|
||
};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
|
||
<span class="comment">// 1.75 is 1.11 in binary
|
||
</span><span class="kw">let </span>src = I16F16::from_bits(<span class="number">0b111 </span><< (<span class="number">16 </span>- <span class="number">2</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::saturating_from_num(src), Fix::from_bits(<span class="number">0b111 </span><< (<span class="number">4 </span>- <span class="number">2</span>)));
|
||
<span class="kw">let </span>too_large = FixedI32::<U2>::MAX;
|
||
<span class="macro">assert_eq!</span>(Fix::saturating_from_num(too_large), Fix::MAX);
|
||
|
||
<span class="macro">assert_eq!</span>(Fix::saturating_from_num(<span class="number">3</span>), Fix::from_bits(<span class="number">3 </span><< <span class="number">4</span>));
|
||
<span class="kw">let </span>too_small = i32::MIN;
|
||
<span class="macro">assert_eq!</span>(Fix::saturating_from_num(too_small), Fix::MIN);
|
||
|
||
<span class="comment">// 1.75 is 1.11 in binary
|
||
</span><span class="kw">let </span>expected = Fix::from_bits(<span class="number">0b111 </span><< (<span class="number">4 </span>- <span class="number">2</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::saturating_from_num(<span class="number">1.75f32</span>), expected);
|
||
<span class="macro">assert_eq!</span>(Fix::saturating_from_num(-<span class="number">1.75f64</span>), -expected);
|
||
<span class="macro">assert_eq!</span>(Fix::saturating_from_num(<span class="number">2e38</span>), Fix::MAX);
|
||
<span class="macro">assert_eq!</span>(Fix::saturating_from_num(std::f64::NEG_INFINITY), Fix::MIN);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_to_num" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub fn <a href="#method.saturating_to_num" class="fn">saturating_to_num</a><Dst: <a class="trait" href="traits/trait.FromFixed.html" title="trait fixed::traits::FromFixed">FromFixed</a>>(self) -> Dst</h4></section></summary><div class="docblock"><p>Converts a fixed-point number to another number,
|
||
saturating the value if it does not fit.</p>
|
||
<p>The other number can be:</p>
|
||
<ul>
|
||
<li>Another fixed-point number. Any extra fractional bits are
|
||
discarded, which rounds towards −∞.</li>
|
||
<li>An integer of type <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html" title="primitive i8"><code>i8</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html" title="primitive i16"><code>i16</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html" title="primitive i32"><code>i32</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html" title="primitive i64"><code>i64</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html" title="primitive i128"><code>i128</code></a>,
|
||
<a href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html" title="primitive isize"><code>isize</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html" title="primitive u8"><code>u8</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html" title="primitive u16"><code>u16</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html" title="primitive u32"><code>u32</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html" title="primitive u64"><code>u64</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html" title="primitive u128"><code>u128</code></a>, or
|
||
<a href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html" title="primitive usize"><code>usize</code></a>. Any fractional bits are discarded, which rounds towards
|
||
−∞.</li>
|
||
<li>A floating-point number of type <code><a href="../half/index.html" title="mod half">half</a>::<a href="../half/binary16/struct.f16.html" title="struct half::binary16::f16">f16</a></code>,
|
||
<code><a href="../half/index.html" title="mod half">half</a>::<a href="../half/bfloat/struct.bf16.html" title="struct half::bfloat::bf16">bf16</a></code>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.f32.html" title="primitive f32"><code>f32</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.f64.html" title="primitive f64"><code>f64</code></a> or <a href="struct.F128.html" title="struct fixed::F128"><code>F128</code></a>. For
|
||
this conversion, the method rounds to the nearest, with ties rounding to
|
||
even.</li>
|
||
<li>Any other type <code>Dst</code> for which <a href="traits/trait.FromFixed.html" title="trait fixed::traits::FromFixed"><code>FromFixed</code></a> is implemented, in
|
||
which case this method returns
|
||
<code>Dst::<a href="traits/trait.FromFixed.html#tymethod.saturating_from_fixed" title="associated function fixed::traits::FromFixed::saturating_from_fixed">saturating_from_fixed</a>(self)</code>.</li>
|
||
</ul>
|
||
<h5 id="examples-137"><a class="doc-anchor" href="#examples-137">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{
|
||
types::extra::{U0, U4, U6},
|
||
types::I16F16,
|
||
FixedI32,
|
||
};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
|
||
<span class="comment">// 1.75 is 1.11 in binary
|
||
</span><span class="kw">let </span>src = Fix::from_bits(<span class="number">0b111 </span><< (<span class="number">4 </span>- <span class="number">2</span>));
|
||
<span class="kw">let </span>expected = I16F16::from_bits(<span class="number">0b111 </span><< (<span class="number">16 </span>- <span class="number">2</span>));
|
||
<span class="macro">assert_eq!</span>(src.saturating_to_num::<I16F16>(), expected);
|
||
<span class="kw">type </span>TooFewIntBits = FixedI32<U6>;
|
||
<span class="kw">let </span>saturated = Fix::MAX.saturating_to_num::<TooFewIntBits>();
|
||
<span class="macro">assert_eq!</span>(saturated, TooFewIntBits::MAX);
|
||
|
||
<span class="comment">// 2.5 is 10.1 in binary
|
||
</span><span class="kw">let </span>two_point_5 = Fix::from_bits(<span class="number">0b101 </span><< (<span class="number">4 </span>- <span class="number">1</span>));
|
||
<span class="macro">assert_eq!</span>(two_point_5.saturating_to_num::<i32>(), <span class="number">2</span>);
|
||
<span class="kw">type </span>AllInt = FixedI32<U0>;
|
||
<span class="macro">assert_eq!</span>(AllInt::from_bits(-<span class="number">1</span>).saturating_to_num::<u32>(), <span class="number">0</span>);
|
||
|
||
<span class="comment">// 1.625 is 1.101 in binary
|
||
</span><span class="kw">let </span>one_point_625 = Fix::from_bits(<span class="number">0b1101 </span><< (<span class="number">4 </span>- <span class="number">3</span>));
|
||
<span class="macro">assert_eq!</span>(one_point_625.saturating_to_num::<f32>(), <span class="number">1.625f32</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_from_num" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub fn <a href="#method.wrapping_from_num" class="fn">wrapping_from_num</a><Src: <a class="trait" href="traits/trait.ToFixed.html" title="trait fixed::traits::ToFixed">ToFixed</a>>(src: Src) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Creates a fixed-point number from another number,
|
||
wrapping the value on overflow.</p>
|
||
<p>The other number can be:</p>
|
||
<ul>
|
||
<li>Another fixed-point number. Any extra fractional bits are
|
||
discarded, which rounds towards −∞.</li>
|
||
<li>An integer of type <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html" title="primitive i8"><code>i8</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html" title="primitive i16"><code>i16</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html" title="primitive i32"><code>i32</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html" title="primitive i64"><code>i64</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html" title="primitive i128"><code>i128</code></a>,
|
||
<a href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html" title="primitive isize"><code>isize</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html" title="primitive u8"><code>u8</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html" title="primitive u16"><code>u16</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html" title="primitive u32"><code>u32</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html" title="primitive u64"><code>u64</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html" title="primitive u128"><code>u128</code></a>, or
|
||
<a href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html" title="primitive usize"><code>usize</code></a>.</li>
|
||
<li>A floating-point number of type <code><a href="../half/index.html" title="mod half">half</a>::<a href="../half/binary16/struct.f16.html" title="struct half::binary16::f16">f16</a></code>,
|
||
<code><a href="../half/index.html" title="mod half">half</a>::<a href="../half/bfloat/struct.bf16.html" title="struct half::bfloat::bf16">bf16</a></code>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.f32.html" title="primitive f32"><code>f32</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.f64.html" title="primitive f64"><code>f64</code></a> or <a href="struct.F128.html" title="struct fixed::F128"><code>F128</code></a>. For
|
||
this conversion, the method rounds to the nearest, with ties rounding to
|
||
even.</li>
|
||
<li>Any other number <code>src</code> for which <a href="traits/trait.ToFixed.html" title="trait fixed::traits::ToFixed"><code>ToFixed</code></a> is implemented, in
|
||
which case this method returns
|
||
<code>src.<a href="traits/trait.ToFixed.html#tymethod.wrapping_to_fixed" title="method fixed::traits::ToFixed::wrapping_to_fixed">wrapping_to_fixed</a>()</code>.</li>
|
||
</ul>
|
||
<h5 id="panics-39"><a class="doc-anchor" href="#panics-39">§</a>Panics</h5>
|
||
<p>For floating-point numbers, panics if the value is not <a href="https://doc.rust-lang.org/1.84.0/core/primitive.f64.html#method.is_finite" title="method f64::is_finite">finite</a>.</p>
|
||
<h5 id="examples-138"><a class="doc-anchor" href="#examples-138">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{
|
||
types::extra::{U0, U4},
|
||
types::I16F16,
|
||
FixedI32,
|
||
};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
|
||
<span class="comment">// 1.75 is 1.11 in binary
|
||
</span><span class="kw">let </span>src = I16F16::from_bits(<span class="number">0b111 </span><< (<span class="number">16 </span>- <span class="number">2</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::wrapping_from_num(src), Fix::from_bits(<span class="number">0b111 </span><< (<span class="number">4 </span>- <span class="number">2</span>)));
|
||
<span class="comment">// integer 0b1101 << (32 - 7) will wrap to fixed-point 1010...
|
||
</span><span class="kw">let </span>too_large = FixedI32::<U0>::from_bits(<span class="number">0b1101 </span><< (<span class="number">32 </span>- <span class="number">7</span>));
|
||
<span class="kw">let </span>wrapped = Fix::from_bits(<span class="number">0b1010 </span><< (<span class="number">32 </span>- <span class="number">4</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::wrapping_from_num(too_large), wrapped);
|
||
|
||
<span class="comment">// integer 0b1101 << (32 - 7) will wrap to fixed-point 1010...
|
||
</span><span class="kw">let </span>large: i32 = <span class="number">0b1101 </span><< (<span class="number">32 </span>- <span class="number">7</span>);
|
||
<span class="kw">let </span>wrapped = Fix::from_bits(<span class="number">0b1010 </span><< (<span class="number">32 </span>- <span class="number">4</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::wrapping_from_num(large), wrapped);
|
||
|
||
<span class="comment">// 1.75 is 1.11 in binary
|
||
</span><span class="kw">let </span>expected = Fix::from_bits(<span class="number">0b111 </span><< (<span class="number">4 </span>- <span class="number">2</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::wrapping_from_num(<span class="number">1.75f32</span>), expected);
|
||
<span class="comment">// 1.75 << (32 - 4) wraps to binary 11000...
|
||
</span><span class="kw">let </span>large = <span class="number">1.75 </span>* <span class="number">2f32</span>.powi(<span class="number">32 </span>- <span class="number">4</span>);
|
||
<span class="kw">let </span>wrapped = Fix::from_bits(<span class="number">0b1100 </span><< (<span class="number">32 </span>- <span class="number">4</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::wrapping_from_num(large), wrapped);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_to_num" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub fn <a href="#method.wrapping_to_num" class="fn">wrapping_to_num</a><Dst: <a class="trait" href="traits/trait.FromFixed.html" title="trait fixed::traits::FromFixed">FromFixed</a>>(self) -> Dst</h4></section></summary><div class="docblock"><p>Converts a fixed-point number to another number,
|
||
wrapping the value on overflow.</p>
|
||
<p>The other number can be:</p>
|
||
<ul>
|
||
<li>Another fixed-point number. Any extra fractional bits are
|
||
discarded, which rounds towards −∞.</li>
|
||
<li>An integer of type <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html" title="primitive i8"><code>i8</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html" title="primitive i16"><code>i16</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html" title="primitive i32"><code>i32</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html" title="primitive i64"><code>i64</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html" title="primitive i128"><code>i128</code></a>,
|
||
<a href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html" title="primitive isize"><code>isize</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html" title="primitive u8"><code>u8</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html" title="primitive u16"><code>u16</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html" title="primitive u32"><code>u32</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html" title="primitive u64"><code>u64</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html" title="primitive u128"><code>u128</code></a>, or
|
||
<a href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html" title="primitive usize"><code>usize</code></a>. Any fractional bits are discarded, which rounds towards
|
||
−∞.</li>
|
||
<li>A floating-point number of type <code><a href="../half/index.html" title="mod half">half</a>::<a href="../half/binary16/struct.f16.html" title="struct half::binary16::f16">f16</a></code>,
|
||
<code><a href="../half/index.html" title="mod half">half</a>::<a href="../half/bfloat/struct.bf16.html" title="struct half::bfloat::bf16">bf16</a></code>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.f32.html" title="primitive f32"><code>f32</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.f64.html" title="primitive f64"><code>f64</code></a> or <a href="struct.F128.html" title="struct fixed::F128"><code>F128</code></a>. For
|
||
this conversion, the method rounds to the nearest, with ties rounding to
|
||
even.</li>
|
||
<li>Any other type <code>Dst</code> for which <a href="traits/trait.FromFixed.html" title="trait fixed::traits::FromFixed"><code>FromFixed</code></a> is implemented, in
|
||
which case this method returns
|
||
<code>Dst::<a href="traits/trait.FromFixed.html#tymethod.wrapping_from_fixed" title="associated function fixed::traits::FromFixed::wrapping_from_fixed">wrapping_from_fixed</a>(self)</code>.</li>
|
||
</ul>
|
||
<h5 id="examples-139"><a class="doc-anchor" href="#examples-139">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{
|
||
types::extra::{U0, U4, U6},
|
||
types::I16F16,
|
||
FixedI32,
|
||
};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
|
||
<span class="comment">// 1.75 is 1.11 in binary
|
||
</span><span class="kw">let </span>src = Fix::from_bits(<span class="number">0b111 </span><< (<span class="number">4 </span>- <span class="number">2</span>));
|
||
<span class="kw">let </span>expected = I16F16::from_bits(<span class="number">0b111 </span><< (<span class="number">16 </span>- <span class="number">2</span>));
|
||
<span class="macro">assert_eq!</span>(src.wrapping_to_num::<I16F16>(), expected);
|
||
<span class="kw">type </span>TooFewIntBits = FixedI32<U6>;
|
||
<span class="kw">let </span>wrapped = TooFewIntBits::from_bits(Fix::MAX.to_bits() << <span class="number">2</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::MAX.wrapping_to_num::<TooFewIntBits>(), wrapped);
|
||
|
||
<span class="comment">// 2.5 is 10.1 in binary
|
||
</span><span class="kw">let </span>two_point_5 = Fix::from_bits(<span class="number">0b101 </span><< (<span class="number">4 </span>- <span class="number">1</span>));
|
||
<span class="macro">assert_eq!</span>(two_point_5.wrapping_to_num::<i32>(), <span class="number">2</span>);
|
||
<span class="kw">type </span>AllInt = FixedI32<U0>;
|
||
<span class="macro">assert_eq!</span>(AllInt::from_bits(-<span class="number">1</span>).wrapping_to_num::<u32>(), u32::MAX);
|
||
|
||
<span class="comment">// 1.625 is 1.101 in binary
|
||
</span><span class="kw">let </span>one_point_625 = Fix::from_bits(<span class="number">0b1101 </span><< (<span class="number">4 </span>- <span class="number">3</span>));
|
||
<span class="macro">assert_eq!</span>(one_point_625.wrapping_to_num::<f32>(), <span class="number">1.625f32</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_from_num" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub fn <a href="#method.unwrapped_from_num" class="fn">unwrapped_from_num</a><Src: <a class="trait" href="traits/trait.ToFixed.html" title="trait fixed::traits::ToFixed">ToFixed</a>>(src: Src) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Creates a fixed-point number from another number,
|
||
panicking on overflow.</p>
|
||
<p>The other number can be:</p>
|
||
<ul>
|
||
<li>Another fixed-point number. Any extra fractional bits are
|
||
discarded, which rounds towards −∞.</li>
|
||
<li>An integer of type <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html" title="primitive i8"><code>i8</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html" title="primitive i16"><code>i16</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html" title="primitive i32"><code>i32</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html" title="primitive i64"><code>i64</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html" title="primitive i128"><code>i128</code></a>,
|
||
<a href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html" title="primitive isize"><code>isize</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html" title="primitive u8"><code>u8</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html" title="primitive u16"><code>u16</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html" title="primitive u32"><code>u32</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html" title="primitive u64"><code>u64</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html" title="primitive u128"><code>u128</code></a>, or
|
||
<a href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html" title="primitive usize"><code>usize</code></a>.</li>
|
||
<li>A floating-point number of type <code><a href="../half/index.html" title="mod half">half</a>::<a href="../half/binary16/struct.f16.html" title="struct half::binary16::f16">f16</a></code>,
|
||
<code><a href="../half/index.html" title="mod half">half</a>::<a href="../half/bfloat/struct.bf16.html" title="struct half::bfloat::bf16">bf16</a></code>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.f32.html" title="primitive f32"><code>f32</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.f64.html" title="primitive f64"><code>f64</code></a> or <a href="struct.F128.html" title="struct fixed::F128"><code>F128</code></a>. For
|
||
this conversion, the method rounds to the nearest, with ties rounding to
|
||
even.</li>
|
||
<li>Any other number <code>src</code> for which <a href="traits/trait.ToFixed.html" title="trait fixed::traits::ToFixed"><code>ToFixed</code></a> is implemented, in
|
||
which case this method returns
|
||
<code>src.<a href="traits/trait.ToFixed.html#method.unwrapped_to_fixed" title="method fixed::traits::ToFixed::unwrapped_to_fixed">unwrapped_to_fixed</a>()</code>.</li>
|
||
</ul>
|
||
<h5 id="panics-40"><a class="doc-anchor" href="#panics-40">§</a>Panics</h5>
|
||
<p>Panics if the value does not fit.</p>
|
||
<p>For floating-point numbers, also panics if the value is not <a href="https://doc.rust-lang.org/1.84.0/core/primitive.f64.html#method.is_finite" title="method f64::is_finite">finite</a>.</p>
|
||
<h5 id="examples-140"><a class="doc-anchor" href="#examples-140">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{
|
||
types::{extra::U4, I16F16},
|
||
FixedI32,
|
||
};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
|
||
<span class="comment">// 1.75 is 1.11 in binary
|
||
</span><span class="kw">let </span>src = I16F16::from_bits(<span class="number">0b111 </span><< (<span class="number">16 </span>- <span class="number">2</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::unwrapped_from_num(src), Fix::from_bits(<span class="number">0b111 </span><< (<span class="number">4 </span>- <span class="number">2</span>)));</code></pre></div>
|
||
<p>The following panics because of overflow.</p>
|
||
|
||
<div class="example-wrap should_panic"><a href="#" class="tooltip" title="This example panics">ⓘ</a><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{
|
||
types::extra::{U0, U4},
|
||
FixedI32,
|
||
};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>too_large = FixedI32::<U0>::from_bits(<span class="number">0b1101 </span><< (<span class="number">32 </span>- <span class="number">7</span>));
|
||
<span class="kw">let </span>_overflow = Fix::unwrapped_from_num(too_large);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_to_num" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub fn <a href="#method.unwrapped_to_num" class="fn">unwrapped_to_num</a><Dst: <a class="trait" href="traits/trait.FromFixed.html" title="trait fixed::traits::FromFixed">FromFixed</a>>(self) -> Dst</h4></section></summary><div class="docblock"><p>Converts a fixed-point number to another number,
|
||
panicking on overflow.</p>
|
||
<p>The other number can be:</p>
|
||
<ul>
|
||
<li>Another fixed-point number. Any extra fractional bits are
|
||
discarded, which rounds towards −∞.</li>
|
||
<li>An integer of type <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html" title="primitive i8"><code>i8</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html" title="primitive i16"><code>i16</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html" title="primitive i32"><code>i32</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html" title="primitive i64"><code>i64</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html" title="primitive i128"><code>i128</code></a>,
|
||
<a href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html" title="primitive isize"><code>isize</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html" title="primitive u8"><code>u8</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html" title="primitive u16"><code>u16</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html" title="primitive u32"><code>u32</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html" title="primitive u64"><code>u64</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html" title="primitive u128"><code>u128</code></a>, or
|
||
<a href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html" title="primitive usize"><code>usize</code></a>. Any fractional bits are discarded, which rounds towards
|
||
−∞.</li>
|
||
<li>A floating-point number of type <code><a href="../half/index.html" title="mod half">half</a>::<a href="../half/binary16/struct.f16.html" title="struct half::binary16::f16">f16</a></code>,
|
||
<code><a href="../half/index.html" title="mod half">half</a>::<a href="../half/bfloat/struct.bf16.html" title="struct half::bfloat::bf16">bf16</a></code>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.f32.html" title="primitive f32"><code>f32</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.f64.html" title="primitive f64"><code>f64</code></a> or <a href="struct.F128.html" title="struct fixed::F128"><code>F128</code></a>. For
|
||
this conversion, the method rounds to the nearest, with ties rounding to
|
||
even.</li>
|
||
<li>Any other type <code>Dst</code> for which <a href="traits/trait.FromFixed.html" title="trait fixed::traits::FromFixed"><code>FromFixed</code></a> is implemented, in
|
||
which case this method returns
|
||
<code>Dst::<a href="traits/trait.FromFixed.html#method.unwrapped_from_fixed" title="associated function fixed::traits::FromFixed::unwrapped_from_fixed">unwrapped_from_fixed</a>(self)</code>.</li>
|
||
</ul>
|
||
<h5 id="panics-41"><a class="doc-anchor" href="#panics-41">§</a>Panics</h5>
|
||
<p>Panics if the value does not fit.</p>
|
||
<h5 id="examples-141"><a class="doc-anchor" href="#examples-141">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{
|
||
types::{extra::U4, I16F16},
|
||
FixedI32,
|
||
};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
|
||
<span class="comment">// 1.75 is 1.11 in binary
|
||
</span><span class="kw">let </span>src = Fix::from_bits(<span class="number">0b111 </span><< (<span class="number">4 </span>- <span class="number">2</span>));
|
||
<span class="kw">let </span>expected = I16F16::from_bits(<span class="number">0b111 </span><< (<span class="number">16 </span>- <span class="number">2</span>));
|
||
<span class="macro">assert_eq!</span>(src.unwrapped_to_num::<I16F16>(), expected);</code></pre></div>
|
||
<p>The following panics because of overflow.</p>
|
||
|
||
<div class="example-wrap should_panic"><a href="#" class="tooltip" title="This example panics">ⓘ</a><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{
|
||
types::extra::{U4, U6},
|
||
FixedI32,
|
||
};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">type </span>TooFewIntBits = FixedI32<U6>;
|
||
<span class="kw">let </span>_overflow = Fix::MAX.unwrapped_to_num::<TooFewIntBits>();</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_from_num" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub fn <a href="#method.overflowing_from_num" class="fn">overflowing_from_num</a><Src: <a class="trait" href="traits/trait.ToFixed.html" title="trait fixed::traits::ToFixed">ToFixed</a>>(src: Src) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class="docblock"><p>Creates a fixed-point number from another number.</p>
|
||
<p>Returns a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.tuple.html" title="primitive tuple">tuple</a> of the fixed-point number and a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html" title="primitive bool"><code>bool</code></a> indicating
|
||
whether an overflow has occurred. On overflow, the wrapped value is
|
||
returned.</p>
|
||
<p>The other number can be:</p>
|
||
<ul>
|
||
<li>Another fixed-point number. Any extra fractional bits are
|
||
discarded, which rounds towards −∞.</li>
|
||
<li>An integer of type <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html" title="primitive i8"><code>i8</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html" title="primitive i16"><code>i16</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html" title="primitive i32"><code>i32</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html" title="primitive i64"><code>i64</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html" title="primitive i128"><code>i128</code></a>,
|
||
<a href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html" title="primitive isize"><code>isize</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html" title="primitive u8"><code>u8</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html" title="primitive u16"><code>u16</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html" title="primitive u32"><code>u32</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html" title="primitive u64"><code>u64</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html" title="primitive u128"><code>u128</code></a>, or
|
||
<a href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html" title="primitive usize"><code>usize</code></a>.</li>
|
||
<li>A floating-point number of type <code><a href="../half/index.html" title="mod half">half</a>::<a href="../half/binary16/struct.f16.html" title="struct half::binary16::f16">f16</a></code>,
|
||
<code><a href="../half/index.html" title="mod half">half</a>::<a href="../half/bfloat/struct.bf16.html" title="struct half::bfloat::bf16">bf16</a></code>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.f32.html" title="primitive f32"><code>f32</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.f64.html" title="primitive f64"><code>f64</code></a> or <a href="struct.F128.html" title="struct fixed::F128"><code>F128</code></a>. For
|
||
this conversion, the method rounds to the nearest, with ties rounding to
|
||
even.</li>
|
||
<li>Any other number <code>src</code> for which <a href="traits/trait.ToFixed.html" title="trait fixed::traits::ToFixed"><code>ToFixed</code></a> is implemented, in
|
||
which case this method returns
|
||
<code>src.<a href="traits/trait.ToFixed.html#tymethod.overflowing_to_fixed" title="method fixed::traits::ToFixed::overflowing_to_fixed">overflowing_to_fixed</a>()</code>.</li>
|
||
</ul>
|
||
<h5 id="panics-42"><a class="doc-anchor" href="#panics-42">§</a>Panics</h5>
|
||
<p>For floating-point numbers, panics if the value is not <a href="https://doc.rust-lang.org/1.84.0/core/primitive.f64.html#method.is_finite" title="method f64::is_finite">finite</a>.</p>
|
||
<h5 id="examples-142"><a class="doc-anchor" href="#examples-142">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{
|
||
types::extra::{U0, U4},
|
||
types::I16F16,
|
||
FixedI32,
|
||
};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
|
||
<span class="comment">// 1.75 is 1.11 in binary
|
||
</span><span class="kw">let </span>src = I16F16::from_bits(<span class="number">0b111 </span><< (<span class="number">16 </span>- <span class="number">2</span>));
|
||
<span class="kw">let </span>expected = Fix::from_bits(<span class="number">0b111 </span><< (<span class="number">4 </span>- <span class="number">2</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::overflowing_from_num(src), (expected, <span class="bool-val">false</span>));
|
||
<span class="comment">// integer 0b1101 << (32 - 7) will wrap to fixed-point 1010...
|
||
</span><span class="kw">let </span>too_large = FixedI32::<U0>::from_bits(<span class="number">0b1101 </span><< (<span class="number">32 </span>- <span class="number">7</span>));
|
||
<span class="kw">let </span>wrapped = Fix::from_bits(<span class="number">0b1010 </span><< (<span class="number">32 </span>- <span class="number">4</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::overflowing_from_num(too_large), (wrapped, <span class="bool-val">true</span>));
|
||
|
||
<span class="macro">assert_eq!</span>(Fix::overflowing_from_num(<span class="number">3</span>), (Fix::from_bits(<span class="number">3 </span><< <span class="number">4</span>), <span class="bool-val">false</span>));
|
||
<span class="comment">// integer 0b1101 << (32 - 7) will wrap to fixed-point 1010...
|
||
</span><span class="kw">let </span>large: i32 = <span class="number">0b1101 </span><< (<span class="number">32 </span>- <span class="number">7</span>);
|
||
<span class="kw">let </span>wrapped = Fix::from_bits(<span class="number">0b1010 </span><< (<span class="number">32 </span>- <span class="number">4</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::overflowing_from_num(large), (wrapped, <span class="bool-val">true</span>));
|
||
|
||
<span class="comment">// 1.75 is 1.11 in binary
|
||
</span><span class="kw">let </span>expected = Fix::from_bits(<span class="number">0b111 </span><< (<span class="number">4 </span>- <span class="number">2</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::overflowing_from_num(<span class="number">1.75f32</span>), (expected, <span class="bool-val">false</span>));
|
||
<span class="comment">// 1.75 << (32 - 4) wraps to binary 11000...
|
||
</span><span class="kw">let </span>large = <span class="number">1.75 </span>* <span class="number">2f32</span>.powi(<span class="number">32 </span>- <span class="number">4</span>);
|
||
<span class="kw">let </span>wrapped = Fix::from_bits(<span class="number">0b1100 </span><< (<span class="number">32 </span>- <span class="number">4</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::overflowing_from_num(large), (wrapped, <span class="bool-val">true</span>));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_to_num" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub fn <a href="#method.overflowing_to_num" class="fn">overflowing_to_num</a><Dst: <a class="trait" href="traits/trait.FromFixed.html" title="trait fixed::traits::FromFixed">FromFixed</a>>(self) -> (Dst, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class="docblock"><p>Converts a fixed-point number to another number.</p>
|
||
<p>Returns a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.tuple.html" title="primitive tuple">tuple</a> of the number and a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html" title="primitive bool"><code>bool</code></a> indicating whether an
|
||
overflow has occurred. On overflow, the wrapped value is returned.</p>
|
||
<p>The other number can be:</p>
|
||
<ul>
|
||
<li>Another fixed-point number. Any extra fractional bits are
|
||
discarded, which rounds towards −∞.</li>
|
||
<li>An integer of type <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html" title="primitive i8"><code>i8</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html" title="primitive i16"><code>i16</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html" title="primitive i32"><code>i32</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html" title="primitive i64"><code>i64</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html" title="primitive i128"><code>i128</code></a>,
|
||
<a href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html" title="primitive isize"><code>isize</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html" title="primitive u8"><code>u8</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html" title="primitive u16"><code>u16</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html" title="primitive u32"><code>u32</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html" title="primitive u64"><code>u64</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html" title="primitive u128"><code>u128</code></a>, or
|
||
<a href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html" title="primitive usize"><code>usize</code></a>. Any fractional bits are discarded, which rounds towards
|
||
−∞.</li>
|
||
<li>A floating-point number of type <code><a href="../half/index.html" title="mod half">half</a>::<a href="../half/binary16/struct.f16.html" title="struct half::binary16::f16">f16</a></code>,
|
||
<code><a href="../half/index.html" title="mod half">half</a>::<a href="../half/bfloat/struct.bf16.html" title="struct half::bfloat::bf16">bf16</a></code>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.f32.html" title="primitive f32"><code>f32</code></a>, <a href="https://doc.rust-lang.org/1.84.0/core/primitive.f64.html" title="primitive f64"><code>f64</code></a> or <a href="struct.F128.html" title="struct fixed::F128"><code>F128</code></a>. For
|
||
this conversion, the method rounds to the nearest, with ties rounding to
|
||
even.</li>
|
||
<li>Any other type <code>Dst</code> for which <a href="traits/trait.FromFixed.html" title="trait fixed::traits::FromFixed"><code>FromFixed</code></a> is implemented, in
|
||
which case this method returns
|
||
<code>Dst::<a href="traits/trait.FromFixed.html#tymethod.overflowing_from_fixed" title="associated function fixed::traits::FromFixed::overflowing_from_fixed">overflowing_from_fixed</a>(self)</code>.</li>
|
||
</ul>
|
||
<h5 id="examples-143"><a class="doc-anchor" href="#examples-143">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{
|
||
types::extra::{U0, U4, U6},
|
||
types::I16F16,
|
||
FixedI32,
|
||
};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
|
||
<span class="comment">// 1.75 is 1.11 in binary
|
||
</span><span class="kw">let </span>src = Fix::from_bits(<span class="number">0b111 </span><< (<span class="number">4 </span>- <span class="number">2</span>));
|
||
<span class="kw">let </span>expected = I16F16::from_bits(<span class="number">0b111 </span><< (<span class="number">16 </span>- <span class="number">2</span>));
|
||
<span class="macro">assert_eq!</span>(src.overflowing_to_num::<I16F16>(), (expected, <span class="bool-val">false</span>));
|
||
<span class="kw">type </span>TooFewIntBits = FixedI32<U6>;
|
||
<span class="kw">let </span>wrapped = TooFewIntBits::from_bits(Fix::MAX.to_bits() << <span class="number">2</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::MAX.overflowing_to_num::<TooFewIntBits>(), (wrapped, <span class="bool-val">true</span>));
|
||
|
||
<span class="comment">// 2.5 is 10.1 in binary
|
||
</span><span class="kw">let </span>two_point_5 = Fix::from_bits(<span class="number">0b101 </span><< (<span class="number">4 </span>- <span class="number">1</span>));
|
||
<span class="macro">assert_eq!</span>(two_point_5.overflowing_to_num::<i32>(), (<span class="number">2</span>, <span class="bool-val">false</span>));
|
||
<span class="kw">let </span>does_not_fit = FixedI32::<U0>::from_bits(-<span class="number">1</span>);
|
||
<span class="kw">let </span>wrapped = <span class="number">1u32</span>.wrapping_neg();
|
||
<span class="macro">assert_eq!</span>(does_not_fit.overflowing_to_num::<u32>(), (wrapped, <span class="bool-val">true</span>));
|
||
|
||
<span class="comment">// 1.625 is 1.101 in binary
|
||
</span><span class="kw">let </span>one_point_625 = Fix::from_bits(<span class="number">0b1101 </span><< (<span class="number">4 </span>- <span class="number">3</span>));
|
||
<span class="macro">assert_eq!</span>(one_point_625.overflowing_to_num::<f32>(), (<span class="number">1.625f32</span>, <span class="bool-val">false</span>));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.const_from_fixed" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.const_from_fixed" class="fn">const_from_fixed</a><SrcFrac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>>(
|
||
src: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><SrcFrac>,
|
||
) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Creates a fixed-point number from a fixed-point number with the same
|
||
underlying integer type. Usable in constant context.</p>
|
||
<p>This is equivalent to the <a href="struct.FixedI32.html#method.unwrapped_from_num" title="associated function fixed::FixedI32::unwrapped_from_num"><code>unwrapped_from_num</code></a> method with
|
||
<code><a href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><SrcFrac></code>
|
||
as its generic parameter, but can also be used in constant context.
|
||
Unless required in constant context, use <a href="struct.FixedI32.html#method.unwrapped_from_num" title="associated function fixed::FixedI32::unwrapped_from_num"><code>unwrapped_from_num</code></a> or
|
||
<a href="struct.FixedI32.html#method.from_num" title="associated function fixed::FixedI32::from_num"><code>from_num</code></a> instead.</p>
|
||
<h5 id="planned-deprecation-4"><a class="doc-anchor" href="#planned-deprecation-4">§</a>Planned deprecation</h5>
|
||
<p>This method will be deprecated when the <a href="struct.FixedI32.html#method.unwrapped_from_num" title="associated function fixed::FixedI32::unwrapped_from_num"><code>unwrapped_from_num</code></a>
|
||
method is usable in constant context.</p>
|
||
<h5 id="panics-43"><a class="doc-anchor" href="#panics-43">§</a>Panics</h5>
|
||
<p>Panics if the value does not fit.</p>
|
||
<h5 id="examples-144"><a class="doc-anchor" href="#examples-144">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::types::extra::{U2, U4};
|
||
<span class="kw">use </span>fixed::FixedI32;
|
||
<span class="kw">type </span>FixA = FixedI32<U2>;
|
||
<span class="kw">type </span>FixB = FixedI32<U4>;
|
||
<span class="kw">const </span>A: FixA = FixA::unwrapped_from_str(<span class="string">"3.5"</span>);
|
||
<span class="kw">const </span>B: FixB = FixB::const_from_fixed(A);
|
||
<span class="macro">assert_eq!</span>(B, <span class="number">3.5</span>);</code></pre></div>
|
||
<p>The following would fail to compile because of overflow.</p>
|
||
|
||
<div class="example-wrap compile_fail"><a href="#" class="tooltip" title="This example deliberately fails to compile">ⓘ</a><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::types::extra::{U2, U4};
|
||
<span class="kw">use </span>fixed::FixedI32;
|
||
<span class="kw">const </span>_OVERFLOW: FixedI32<U4> = FixedI32::const_from_fixed(FixedI32::<U2>::MAX);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.const_from_int" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.const_from_int" class="fn">const_from_int</a>(src: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Creates a fixed-point number from the underlying integer type
|
||
<a href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html" title="primitive i32"><code>i32</code></a>.
|
||
Usable in constant context.</p>
|
||
<p>This is equivalent to the <a href="struct.FixedI32.html#method.unwrapped_from_num" title="associated function fixed::FixedI32::unwrapped_from_num"><code>unwrapped_from_num</code></a> method with
|
||
<a href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html" title="primitive i32"><code>i32</code></a>
|
||
as its generic parameter, but can also be used in constant context.
|
||
Unless required in constant context, use <a href="struct.FixedI32.html#method.unwrapped_from_num" title="associated function fixed::FixedI32::unwrapped_from_num"><code>unwrapped_from_num</code></a> or
|
||
<a href="struct.FixedI32.html#method.from_num" title="associated function fixed::FixedI32::from_num"><code>from_num</code></a> instead.</p>
|
||
<h5 id="planned-deprecation-5"><a class="doc-anchor" href="#planned-deprecation-5">§</a>Planned deprecation</h5>
|
||
<p>This method will be deprecated when the <a href="struct.FixedI32.html#method.unwrapped_from_num" title="associated function fixed::FixedI32::unwrapped_from_num"><code>unwrapped_from_num</code></a>
|
||
method is usable in constant context.</p>
|
||
<h5 id="panics-44"><a class="doc-anchor" href="#panics-44">§</a>Panics</h5>
|
||
<p>Panics if the value does not fit.</p>
|
||
<h5 id="examples-145"><a class="doc-anchor" href="#examples-145">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">const </span>FIVE: Fix = Fix::const_from_int(<span class="number">5</span>);
|
||
<span class="macro">assert_eq!</span>(FIVE, <span class="number">5</span>);</code></pre></div>
|
||
<p>The following would fail to compile because of overflow.</p>
|
||
|
||
<div class="example-wrap compile_fail"><a href="#" class="tooltip" title="This example deliberately fails to compile">ⓘ</a><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">const </span>_OVERFLOW: FixedI32<U4> = FixedI32::const_from_int(i32::MAX);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.lit" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.lit" class="fn">lit</a>(src: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.str.html">str</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Parses a fixed-point literal.</p>
|
||
<p>Rounding is to the nearest, with ties rounded to even.</p>
|
||
<p>This is similar to <a href="struct.FixedI32.html#method.from_str" title="associated function fixed::FixedI32::from_str"><code>from_str</code></a> but accepts a prefix for setting
|
||
the radix, and ignores underscores, such that the parsing is more similar to
|
||
numeric literals in Rust code.</p>
|
||
<p>The string can start with “<code>-</code>” for a negative number.</p>
|
||
<p>Strings starting with “<code>0b</code>” are parsed as binary, strings
|
||
starting with “<code>0o</code>” are parsed as octal, and strings starting with “<code>0x</code>” are
|
||
parsed as hexadecimal.</p>
|
||
<p>Exponents are supported as well. For decimal, binary and octal numbers, the
|
||
separator “<code>e</code>” or “<code>E</code>” can be used to start an exponent, which is then
|
||
followed by an optional sign “<code>+</code>” or “<code>-</code>”, and then by a decimal integer which
|
||
is the exponent. For hexadecimal numbers, since “<code>e</code>” and “<code>E</code>” are hexadecimal
|
||
digits, the separator “<code>@</code>” has to be used instead. The separator “<code>@</code>” is
|
||
accepted for all radices. The parsed value is scaled by the radix to the power
|
||
of the exponent.</p>
|
||
<p>For binary, octal and hexadecimal, base-2 exponents are supported too, using the
|
||
separator “<code>p</code>” or “<code>P</code>”. The parsed value is scaled by 2 to the power of the
|
||
exponent. For example, for hexadecimal “<code>P8</code>” means ×2⁸, and is equivalent to
|
||
“<code>@2</code>” which means ×16².</p>
|
||
<h5 id="constants"><a class="doc-anchor" href="#constants">§</a>Constants</h5>
|
||
<p>The <code>lit</code> method is useful to write constant fixed-point literals, and can be
|
||
evaluated in constant context.</p>
|
||
<p><strong>Warning:</strong> Normal calls to the <code>lit</code> method are <em>not</em> evaluated at compile
|
||
time. To ensure that the call is evaluated at compile time, <code>lit</code> must be used
|
||
in an inline constant expression, or used to initialize a constant.</p>
|
||
<p>For example, here <code>lit</code> would be evaluated at compile time:</p>
|
||
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">const </span>ONE_AND_HALF: Fix = Fix::lit(<span class="string">"1.5"</span>);</code></pre></div>
|
||
<p>However, here <code>lit</code> would be evaluated at run time:</p>
|
||
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="comment">// Evaluated at run time.
|
||
</span><span class="kw">let </span>one_and_half = Fix::lit(<span class="string">"1.5"</span>);</code></pre></div>
|
||
<p>To evaluate at compile time without introducing a constant into the scope:</p>
|
||
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>one_and_half = <span class="kw">const </span>{ Fix::lit(<span class="string">"1.5"</span>) };</code></pre></div>
|
||
<h5 id="panics-45"><a class="doc-anchor" href="#panics-45">§</a>Panics</h5>
|
||
<p>Panics if the number is not valid or overflows.</p>
|
||
<h5 id="examples-146"><a class="doc-anchor" href="#examples-146">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
|
||
<span class="macro">assert_eq!</span>(Fix::lit(<span class="string">"1.75"</span>), <span class="number">1.75</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::lit(<span class="string">"1_.7_5_"</span>), <span class="number">1.75</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::lit(<span class="string">"17.5e-1"</span>), <span class="number">1.75</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::lit(<span class="string">"0_.017_5_e+0_2"</span>), <span class="number">1.75</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::lit(<span class="string">"-01.75"</span>), -<span class="number">1.75</span>);
|
||
|
||
<span class="macro">assert_eq!</span>(Fix::lit(<span class="string">"0b1.11"</span>), <span class="number">1.75</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::lit(<span class="string">"0b_111e-2"</span>), <span class="number">1.75</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::lit(<span class="string">"-0b1.11"</span>), -<span class="number">1.75</span>);
|
||
|
||
<span class="macro">assert_eq!</span>(Fix::lit(<span class="string">"0o1.6"</span>), <span class="number">1.75</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::lit(<span class="string">"0o.16E1"</span>), <span class="number">1.75</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::lit(<span class="string">"0o7p-2"</span>), <span class="number">1.75</span>);
|
||
|
||
<span class="macro">assert_eq!</span>(Fix::lit(<span class="string">"0x1.C"</span>), <span class="number">1.75</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::lit(<span class="string">"0x0.1C@1"</span>), <span class="number">1.75</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::lit(<span class="string">"-0x1.C"</span>), -<span class="number">1.75</span>);</code></pre></div>
|
||
<p>This method is useful to write constant fixed-point literals.</p>
|
||
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">const </span>ONE_AND_HALF: Fix = Fix::lit(<span class="string">"1.5"</span>);
|
||
<span class="macro">assert_eq!</span>(ONE_AND_HALF, <span class="number">1.5</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.from_str" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.from_str" class="fn">from_str</a>(src: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="struct" href="struct.ParseFixedError.html" title="struct fixed::ParseFixedError">ParseFixedError</a>></h4></section></summary><div class="docblock"><p>Parses a string slice containing decimal digits to return a fixed-point number.</p>
|
||
<p>Rounding is to the nearest, with ties rounded to even.</p>
|
||
<p>The number can have an optional exponent. The separator “<code>e</code>”, “<code>E</code>” or “<code>@</code>”
|
||
can be used to start an exponent, which is then followed by an optional sign
|
||
“<code>+</code>” or “<code>-</code>”, and then by a decimal integer which is the exponent. The parsed
|
||
value is scaled by 10 to the power of the exponent.</p>
|
||
<h5 id="examples-147"><a class="doc-anchor" href="#examples-147">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_str(<span class="string">"1.75"</span>), <span class="prelude-val">Ok</span>(Fix::from_num(<span class="number">1.75</span>)));
|
||
<span class="macro">assert_eq!</span>(Fix::from_str(<span class="string">"-1.75"</span>), <span class="prelude-val">Ok</span>(Fix::from_num(-<span class="number">1.75</span>)));
|
||
<span class="macro">assert_eq!</span>(Fix::from_str(<span class="string">"0.00625E+3"</span>), <span class="prelude-val">Ok</span>(Fix::from_num(<span class="number">6.25</span>)));
|
||
<span class="macro">assert_eq!</span>(Fix::from_str(<span class="string">"1.25e-1"</span>), <span class="prelude-val">Ok</span>(Fix::from_num(<span class="number">0.125</span>)));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.from_str_binary" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.from_str_binary" class="fn">from_str_binary</a>(
|
||
src: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.str.html">str</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="struct" href="struct.ParseFixedError.html" title="struct fixed::ParseFixedError">ParseFixedError</a>></h4></section></summary><div class="docblock"><p>Parses a string slice containing binary digits to return a fixed-point number.</p>
|
||
<p>Rounding is to the nearest, with ties rounded to even.</p>
|
||
<p>The number can have an optional exponent. The separator “<code>e</code>”, “<code>E</code>” or “<code>@</code>”
|
||
can be used to start an exponent, which is then followed by an optional sign
|
||
“<code>+</code>” or “<code>-</code>”, and then by a decimal integer which is the exponent. The parsed
|
||
value is scaled by the radix (2 for binary) to the power of the exponent.</p>
|
||
<p>Base-2 exponents are supported too, using the separator “<code>p</code>” or “<code>P</code>”. The
|
||
parsed value is scaled by 2 to the power of the exponent. For binary, since the
|
||
radix is 2, base-2 exponents are equivalent to the other form of exponent.</p>
|
||
<h5 id="examples-148"><a class="doc-anchor" href="#examples-148">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="comment">// 1.11 in binary is 1.75
|
||
</span><span class="macro">assert_eq!</span>(Fix::from_str_binary(<span class="string">"1.11"</span>), <span class="prelude-val">Ok</span>(Fix::from_num(<span class="number">1.75</span>)));
|
||
<span class="macro">assert_eq!</span>(Fix::from_str_binary(<span class="string">"-1.11"</span>), <span class="prelude-val">Ok</span>(Fix::from_num(-<span class="number">1.75</span>)));
|
||
|
||
<span class="comment">// 111.0101 in binary is 7.3125
|
||
</span><span class="macro">assert_eq!</span>(Fix::from_str_binary(<span class="string">"1.110101e2"</span>), <span class="prelude-val">Ok</span>(Fix::from_num(<span class="number">7.3125</span>)));
|
||
<span class="macro">assert_eq!</span>(Fix::from_str_binary(<span class="string">"11101.01e-2"</span>), <span class="prelude-val">Ok</span>(Fix::from_num(<span class="number">7.3125</span>)));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.from_str_octal" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.from_str_octal" class="fn">from_str_octal</a>(
|
||
src: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.str.html">str</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="struct" href="struct.ParseFixedError.html" title="struct fixed::ParseFixedError">ParseFixedError</a>></h4></section></summary><div class="docblock"><p>Parses a string slice containing octal digits to return a fixed-point number.</p>
|
||
<p>Rounding is to the nearest, with ties rounded to even.</p>
|
||
<p>The number can have an optional exponent. The separator “<code>e</code>”, “<code>E</code>” or “<code>@</code>”
|
||
can be used to start an exponent, which is then followed by an optional sign
|
||
“<code>+</code>” or “<code>-</code>”, and then by a decimal integer which is the exponent. The parsed
|
||
value is scaled by 8 to the power of the exponent.</p>
|
||
<p>Base-2 exponents are supported too, using the separator “<code>p</code>” or “<code>P</code>”. The
|
||
parsed value is scaled by 2 to the power of the exponent. For example, for octal
|
||
“<code>P6</code>” means ×2⁶, and is equivalent to “<code>E2</code>” which means ×8².</p>
|
||
<h5 id="examples-149"><a class="doc-anchor" href="#examples-149">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="comment">// 1.75 is 1.11 in binary, 1.6 in octal
|
||
</span><span class="kw">let </span>f = Fix::from_str_octal(<span class="string">"1.6"</span>);
|
||
<span class="kw">let </span>check = Fix::from_bits(<span class="number">0b111 </span><< (<span class="number">4 </span>- <span class="number">2</span>));
|
||
<span class="macro">assert_eq!</span>(f, <span class="prelude-val">Ok</span>(check));
|
||
<span class="kw">let </span>neg = Fix::from_str_octal(<span class="string">"-1.6"</span>);
|
||
<span class="macro">assert_eq!</span>(neg, <span class="prelude-val">Ok</span>(-check));
|
||
<span class="macro">assert_eq!</span>(Fix::from_str_octal(<span class="string">"160e-2"</span>), <span class="prelude-val">Ok</span>(check));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.from_str_hex" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.from_str_hex" class="fn">from_str_hex</a>(src: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="struct" href="struct.ParseFixedError.html" title="struct fixed::ParseFixedError">ParseFixedError</a>></h4></section></summary><div class="docblock"><p>Parses a string slice containing hexadecimal digits to return a fixed-point number.</p>
|
||
<p>Rounding is to the nearest, with ties rounded to even.</p>
|
||
<p>The number can have an optional exponent. Since “<code>e</code>” and “<code>E</code>” are valid
|
||
hexadecimal digits, they cannot be used as a separator to start an exponent, so
|
||
“<code>@</code>” is used instead. This is then followed by an optional sign “<code>+</code>” or “<code>-</code>”,
|
||
and then by a decimal integer which is the exponent. The parsed value is scaled
|
||
by 16 to the power of the exponent.</p>
|
||
<p>Base-2 exponents are supported too, using the separator “<code>p</code>” or “<code>P</code>”. The
|
||
parsed value is scaled by 2 to the power of the exponent. For example, for
|
||
hexadecimal “<code>P8</code>” means ×2⁸, and is equivalent to “<code>@2</code>” which means ×16².</p>
|
||
<h5 id="examples-150"><a class="doc-anchor" href="#examples-150">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="comment">// 1.C in hexadecimal is 1.75
|
||
</span><span class="macro">assert_eq!</span>(Fix::from_str_hex(<span class="string">"1.C"</span>), <span class="prelude-val">Ok</span>(Fix::from_num(<span class="number">1.75</span>)));
|
||
<span class="macro">assert_eq!</span>(Fix::from_str_hex(<span class="string">"-1.C"</span>), <span class="prelude-val">Ok</span>(Fix::from_num(-<span class="number">1.75</span>)));
|
||
<span class="macro">assert_eq!</span>(Fix::from_str_hex(<span class="string">"1C@-1"</span>), <span class="prelude-val">Ok</span>(Fix::from_num(<span class="number">1.75</span>)));
|
||
<span class="macro">assert_eq!</span>(Fix::from_str_hex(<span class="string">".01C@+2"</span>), <span class="prelude-val">Ok</span>(Fix::from_num(<span class="number">1.75</span>)));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_from_str" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.saturating_from_str" class="fn">saturating_from_str</a>(
|
||
src: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.str.html">str</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="struct" href="struct.ParseFixedError.html" title="struct fixed::ParseFixedError">ParseFixedError</a>></h4></section></summary><div class="docblock"><p>Parses a string slice containing decimal digits to return a fixed-point number,
|
||
saturating on overflow.</p>
|
||
<p>Rounding is to the nearest, with ties rounded to even.</p>
|
||
<h5 id="examples-151"><a class="doc-anchor" href="#examples-151">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::types::I8F8;
|
||
<span class="macro">assert_eq!</span>(I8F8::saturating_from_str(<span class="string">"9999"</span>), <span class="prelude-val">Ok</span>(I8F8::MAX));
|
||
<span class="macro">assert_eq!</span>(I8F8::saturating_from_str(<span class="string">"-9999"</span>), <span class="prelude-val">Ok</span>(I8F8::MIN));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_from_str_binary" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.saturating_from_str_binary" class="fn">saturating_from_str_binary</a>(
|
||
src: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.str.html">str</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="struct" href="struct.ParseFixedError.html" title="struct fixed::ParseFixedError">ParseFixedError</a>></h4></section></summary><div class="docblock"><p>Parses a string slice containing binary digits to return a fixed-point number,
|
||
saturating on overflow.</p>
|
||
<p>Rounding is to the nearest, with ties rounded to even.</p>
|
||
<h5 id="examples-152"><a class="doc-anchor" href="#examples-152">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::types::I8F8;
|
||
<span class="macro">assert_eq!</span>(I8F8::saturating_from_str_binary(<span class="string">"101100111000"</span>), <span class="prelude-val">Ok</span>(I8F8::MAX));
|
||
<span class="macro">assert_eq!</span>(I8F8::saturating_from_str_binary(<span class="string">"-101100111000"</span>), <span class="prelude-val">Ok</span>(I8F8::MIN));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_from_str_octal" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.saturating_from_str_octal" class="fn">saturating_from_str_octal</a>(
|
||
src: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.str.html">str</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="struct" href="struct.ParseFixedError.html" title="struct fixed::ParseFixedError">ParseFixedError</a>></h4></section></summary><div class="docblock"><p>Parses a string slice containing octal digits to return a fixed-point number,
|
||
saturating on overflow.</p>
|
||
<p>Rounding is to the nearest, with ties rounded to even.</p>
|
||
<h5 id="examples-153"><a class="doc-anchor" href="#examples-153">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::types::I8F8;
|
||
<span class="macro">assert_eq!</span>(I8F8::saturating_from_str_octal(<span class="string">"7777"</span>), <span class="prelude-val">Ok</span>(I8F8::MAX));
|
||
<span class="macro">assert_eq!</span>(I8F8::saturating_from_str_octal(<span class="string">"-7777"</span>), <span class="prelude-val">Ok</span>(I8F8::MIN));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_from_str_hex" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.saturating_from_str_hex" class="fn">saturating_from_str_hex</a>(
|
||
src: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.str.html">str</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="struct" href="struct.ParseFixedError.html" title="struct fixed::ParseFixedError">ParseFixedError</a>></h4></section></summary><div class="docblock"><p>Prases a string slice containing hexadecimal digits to return a fixed-point number,
|
||
saturating on overflow.</p>
|
||
<p>Rounding is to the nearest, with ties rounded to even.</p>
|
||
<h5 id="examples-154"><a class="doc-anchor" href="#examples-154">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::types::I8F8;
|
||
<span class="macro">assert_eq!</span>(I8F8::saturating_from_str_hex(<span class="string">"FFFF"</span>), <span class="prelude-val">Ok</span>(I8F8::MAX));
|
||
<span class="macro">assert_eq!</span>(I8F8::saturating_from_str_hex(<span class="string">"-FFFF"</span>), <span class="prelude-val">Ok</span>(I8F8::MIN));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_from_str" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.wrapping_from_str" class="fn">wrapping_from_str</a>(
|
||
src: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.str.html">str</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="struct" href="struct.ParseFixedError.html" title="struct fixed::ParseFixedError">ParseFixedError</a>></h4></section></summary><div class="docblock"><p>Parses a string slice containing decimal digits to return a fixed-point number,
|
||
wrapping on overflow.</p>
|
||
<p>Rounding is to the nearest, with ties rounded to even.</p>
|
||
<h5 id="examples-155"><a class="doc-anchor" href="#examples-155">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::types::I8F8;
|
||
<span class="comment">// 9999.5 = 15.5 + 256 × n
|
||
</span><span class="macro">assert_eq!</span>(I8F8::wrapping_from_str(<span class="string">"9999.5"</span>), <span class="prelude-val">Ok</span>(I8F8::from_num(<span class="number">15.5</span>)));
|
||
<span class="macro">assert_eq!</span>(I8F8::wrapping_from_str(<span class="string">"-9999.5"</span>), <span class="prelude-val">Ok</span>(I8F8::from_num(-<span class="number">15.5</span>)));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_from_str_binary" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.wrapping_from_str_binary" class="fn">wrapping_from_str_binary</a>(
|
||
src: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.str.html">str</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="struct" href="struct.ParseFixedError.html" title="struct fixed::ParseFixedError">ParseFixedError</a>></h4></section></summary><div class="docblock"><p>Parses a string slice containing binary digits to return a fixed-point number,
|
||
wrapping on overflow.</p>
|
||
<p>Rounding is to the nearest, with ties rounded to even.</p>
|
||
<h5 id="examples-156"><a class="doc-anchor" href="#examples-156">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::types::I8F8;
|
||
<span class="kw">let </span>check = I8F8::from_bits(<span class="number">0b1110001 </span><< (<span class="number">8 </span>- <span class="number">1</span>));
|
||
<span class="macro">assert_eq!</span>(I8F8::wrapping_from_str_binary(<span class="string">"101100111000.1"</span>), <span class="prelude-val">Ok</span>(check));
|
||
<span class="macro">assert_eq!</span>(I8F8::wrapping_from_str_binary(<span class="string">"-101100111000.1"</span>), <span class="prelude-val">Ok</span>(-check));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_from_str_octal" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.wrapping_from_str_octal" class="fn">wrapping_from_str_octal</a>(
|
||
src: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.str.html">str</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="struct" href="struct.ParseFixedError.html" title="struct fixed::ParseFixedError">ParseFixedError</a>></h4></section></summary><div class="docblock"><p>Parses a string slice containing octal digits to return a fixed-point number,
|
||
wrapping on overflow.</p>
|
||
<p>Rounding is to the nearest, with ties rounded to even.</p>
|
||
<h5 id="examples-157"><a class="doc-anchor" href="#examples-157">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::types::I8F8;
|
||
<span class="kw">let </span>check = I8F8::from_bits(<span class="number">0o1654 </span><< (<span class="number">8 </span>- <span class="number">3</span>));
|
||
<span class="macro">assert_eq!</span>(I8F8::wrapping_from_str_octal(<span class="string">"7165.4"</span>), <span class="prelude-val">Ok</span>(check));
|
||
<span class="macro">assert_eq!</span>(I8F8::wrapping_from_str_octal(<span class="string">"-7165.4"</span>), <span class="prelude-val">Ok</span>(-check));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_from_str_hex" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.wrapping_from_str_hex" class="fn">wrapping_from_str_hex</a>(
|
||
src: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.str.html">str</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="struct" href="struct.ParseFixedError.html" title="struct fixed::ParseFixedError">ParseFixedError</a>></h4></section></summary><div class="docblock"><p>Parses a string slice containing hexadecimal digits to return a fixed-point number,
|
||
wrapping on overflow.</p>
|
||
<p>Rounding is to the nearest, with ties rounded to even.</p>
|
||
<h5 id="examples-158"><a class="doc-anchor" href="#examples-158">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::types::I8F8;
|
||
<span class="kw">let </span>check = I8F8::from_bits(<span class="number">0xFFE</span>);
|
||
<span class="macro">assert_eq!</span>(I8F8::wrapping_from_str_hex(<span class="string">"C0F.FE"</span>), <span class="prelude-val">Ok</span>(check));
|
||
<span class="macro">assert_eq!</span>(I8F8::wrapping_from_str_hex(<span class="string">"-C0F.FE"</span>), <span class="prelude-val">Ok</span>(-check));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_from_str" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.unwrapped_from_str" class="fn">unwrapped_from_str</a>(src: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.str.html">str</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Parses a string slice containing decimal digits to return a fixed-point number,
|
||
panicking on overflow.</p>
|
||
<p>Rounding is to the nearest, with ties rounded to even.</p>
|
||
<h5 id="panics-46"><a class="doc-anchor" href="#panics-46">§</a>Panics</h5>
|
||
<p>Panics if the value does not fit or if there is a parsing error.</p>
|
||
<h5 id="examples-159"><a class="doc-anchor" href="#examples-159">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="comment">// 1.75 is 1.11 in binary
|
||
</span><span class="kw">let </span>f = Fix::unwrapped_from_str(<span class="string">"1.75"</span>);
|
||
<span class="macro">assert_eq!</span>(f, Fix::from_bits(<span class="number">0b111 </span><< (<span class="number">4 </span>- <span class="number">2</span>)));</code></pre></div>
|
||
<p>The following panics because of a parsing error.</p>
|
||
|
||
<div class="example-wrap should_panic"><a href="#" class="tooltip" title="This example panics">ⓘ</a><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>_error = Fix::unwrapped_from_str(<span class="string">"1.75."</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_from_str_binary" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.unwrapped_from_str_binary" class="fn">unwrapped_from_str_binary</a>(src: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.str.html">str</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Parses a string slice containing binary digits to return a fixed-point number,
|
||
panicking on overflow.</p>
|
||
<p>Rounding is to the nearest, with ties rounded to even.</p>
|
||
<h5 id="panics-47"><a class="doc-anchor" href="#panics-47">§</a>Panics</h5>
|
||
<p>Panics if the value does not fit or if there is a parsing error.</p>
|
||
<h5 id="examples-160"><a class="doc-anchor" href="#examples-160">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="comment">// 1.75 is 1.11 in binary
|
||
</span><span class="kw">let </span>f = Fix::unwrapped_from_str_binary(<span class="string">"1.11"</span>);
|
||
<span class="macro">assert_eq!</span>(f, Fix::from_bits(<span class="number">0b111 </span><< (<span class="number">4 </span>- <span class="number">2</span>)));</code></pre></div>
|
||
<p>The following panics because of a parsing error.</p>
|
||
|
||
<div class="example-wrap should_panic"><a href="#" class="tooltip" title="This example panics">ⓘ</a><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>_error = Fix::unwrapped_from_str_binary(<span class="string">"1.2"</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_from_str_octal" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.unwrapped_from_str_octal" class="fn">unwrapped_from_str_octal</a>(src: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.str.html">str</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Parses a string slice containing octal digits to return a fixed-point number,
|
||
panicking on overflow.</p>
|
||
<p>Rounding is to the nearest, with ties rounded to even.</p>
|
||
<h5 id="panics-48"><a class="doc-anchor" href="#panics-48">§</a>Panics</h5>
|
||
<p>Panics if the value does not fit or if there is a parsing error.</p>
|
||
<h5 id="examples-161"><a class="doc-anchor" href="#examples-161">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="comment">// 1.75 is 1.11 in binary, 1.6 in octal
|
||
</span><span class="kw">let </span>f = Fix::unwrapped_from_str_octal(<span class="string">"1.6"</span>);
|
||
<span class="macro">assert_eq!</span>(f, Fix::from_bits(<span class="number">0b111 </span><< (<span class="number">4 </span>- <span class="number">2</span>)));</code></pre></div>
|
||
<p>The following panics because of a parsing error.</p>
|
||
|
||
<div class="example-wrap should_panic"><a href="#" class="tooltip" title="This example panics">ⓘ</a><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>_error = Fix::unwrapped_from_str_octal(<span class="string">"1.8"</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_from_str_hex" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.unwrapped_from_str_hex" class="fn">unwrapped_from_str_hex</a>(src: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.str.html">str</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Parses a string slice containing hexadecimal digits to return a fixed-point number,
|
||
wrapping on overflow.</p>
|
||
<p>Rounding is to the nearest, with ties rounded to even.</p>
|
||
<h5 id="panics-49"><a class="doc-anchor" href="#panics-49">§</a>Panics</h5>
|
||
<p>Panics if the value does not fit or if there is a parsing error.</p>
|
||
<h5 id="examples-162"><a class="doc-anchor" href="#examples-162">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="comment">// 1.75 is 1.11 in binary, 1.C in hexadecimal
|
||
</span><span class="kw">let </span>f = Fix::unwrapped_from_str_hex(<span class="string">"1.C"</span>);
|
||
<span class="macro">assert_eq!</span>(f, Fix::from_bits(<span class="number">0b111 </span><< (<span class="number">4 </span>- <span class="number">2</span>)));</code></pre></div>
|
||
<p>The following panics because of a parsing error.</p>
|
||
|
||
<div class="example-wrap should_panic"><a href="#" class="tooltip" title="This example panics">ⓘ</a><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>_error = Fix::unwrapped_from_str_hex(<span class="string">"1.G"</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_from_str" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.overflowing_from_str" class="fn">overflowing_from_str</a>(
|
||
src: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.str.html">str</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><(<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>), <a class="struct" href="struct.ParseFixedError.html" title="struct fixed::ParseFixedError">ParseFixedError</a>></h4></section></summary><div class="docblock"><p>Parses a string slice containing decimal digits to return a fixed-point number.</p>
|
||
<p>Returns a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.tuple.html" title="primitive tuple">tuple</a> of the fixed-point number and a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html" title="primitive bool"><code>bool</code></a> indicating
|
||
whether an overflow has occurred. On overflow, the wrapped value is
|
||
returned.</p>
|
||
<p>Rounding is to the nearest, with ties rounded to even.</p>
|
||
<h5 id="examples-163"><a class="doc-anchor" href="#examples-163">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::types::I8F8;
|
||
<span class="macro">assert_eq!</span>(I8F8::overflowing_from_str(<span class="string">"99.5"</span>), <span class="prelude-val">Ok</span>((I8F8::from_num(<span class="number">99.5</span>), <span class="bool-val">false</span>)));
|
||
<span class="comment">// 9999.5 = 15.5 + 256 × n
|
||
</span><span class="macro">assert_eq!</span>(I8F8::overflowing_from_str(<span class="string">"-9999.5"</span>), <span class="prelude-val">Ok</span>((I8F8::from_num(-<span class="number">15.5</span>), <span class="bool-val">true</span>)));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_from_str_binary" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.overflowing_from_str_binary" class="fn">overflowing_from_str_binary</a>(
|
||
src: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.str.html">str</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><(<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>), <a class="struct" href="struct.ParseFixedError.html" title="struct fixed::ParseFixedError">ParseFixedError</a>></h4></section></summary><div class="docblock"><p>Parses a string slice containing binary digits to return a fixed-point number.</p>
|
||
<p>Returns a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.tuple.html" title="primitive tuple">tuple</a> of the fixed-point number and a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html" title="primitive bool"><code>bool</code></a> indicating
|
||
whether an overflow has occurred. On overflow, the wrapped value is
|
||
returned.</p>
|
||
<p>Rounding is to the nearest, with ties rounded to even.</p>
|
||
<h5 id="examples-164"><a class="doc-anchor" href="#examples-164">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::types::I8F8;
|
||
<span class="kw">let </span>check = I8F8::from_bits(<span class="number">0b1110001 </span><< (<span class="number">8 </span>- <span class="number">1</span>));
|
||
<span class="macro">assert_eq!</span>(I8F8::overflowing_from_str_binary(<span class="string">"111000.1"</span>), <span class="prelude-val">Ok</span>((check, <span class="bool-val">false</span>)));
|
||
<span class="macro">assert_eq!</span>(I8F8::overflowing_from_str_binary(<span class="string">"-101100111000.1"</span>), <span class="prelude-val">Ok</span>((-check, <span class="bool-val">true</span>)));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_from_str_octal" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.overflowing_from_str_octal" class="fn">overflowing_from_str_octal</a>(
|
||
src: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.str.html">str</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><(<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>), <a class="struct" href="struct.ParseFixedError.html" title="struct fixed::ParseFixedError">ParseFixedError</a>></h4></section></summary><div class="docblock"><p>Parses a string slice containing octal digits to return a fixed-point number.</p>
|
||
<p>Returns a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.tuple.html" title="primitive tuple">tuple</a> of the fixed-point number and a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html" title="primitive bool"><code>bool</code></a> indicating
|
||
whether an overflow has occurred. On overflow, the wrapped value is
|
||
returned.</p>
|
||
<p>Rounding is to the nearest, with ties rounded to even.</p>
|
||
<h5 id="examples-165"><a class="doc-anchor" href="#examples-165">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::types::I8F8;
|
||
<span class="kw">let </span>check = I8F8::from_bits(<span class="number">0o1654 </span><< (<span class="number">8 </span>- <span class="number">3</span>));
|
||
<span class="macro">assert_eq!</span>(I8F8::overflowing_from_str_octal(<span class="string">"165.4"</span>), <span class="prelude-val">Ok</span>((check, <span class="bool-val">false</span>)));
|
||
<span class="macro">assert_eq!</span>(I8F8::overflowing_from_str_octal(<span class="string">"-7165.4"</span>), <span class="prelude-val">Ok</span>((-check, <span class="bool-val">true</span>)));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_from_str_hex" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.overflowing_from_str_hex" class="fn">overflowing_from_str_hex</a>(
|
||
src: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.str.html">str</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><(<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>), <a class="struct" href="struct.ParseFixedError.html" title="struct fixed::ParseFixedError">ParseFixedError</a>></h4></section></summary><div class="docblock"><p>Parses a string slice containing hexadecimal digits to return a fixed-point number.</p>
|
||
<p>Returns a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.tuple.html" title="primitive tuple">tuple</a> of the fixed-point number and a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html" title="primitive bool"><code>bool</code></a> indicating
|
||
whether an overflow has occurred. On overflow, the wrapped value is
|
||
returned.</p>
|
||
<p>Rounding is to the nearest, with ties rounded to even.</p>
|
||
<h5 id="examples-166"><a class="doc-anchor" href="#examples-166">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::types::I8F8;
|
||
<span class="kw">let </span>check = I8F8::from_bits(<span class="number">0xFFE</span>);
|
||
<span class="macro">assert_eq!</span>(I8F8::overflowing_from_str_hex(<span class="string">"F.FE"</span>), <span class="prelude-val">Ok</span>((check, <span class="bool-val">false</span>)));
|
||
<span class="macro">assert_eq!</span>(I8F8::overflowing_from_str_hex(<span class="string">"-C0F.FE"</span>), <span class="prelude-val">Ok</span>((-check, <span class="bool-val">true</span>)));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.int" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.int" class="fn">int</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Returns the integer part.</p>
|
||
<p>Note that since the numbers are stored in two’s
|
||
complement, negative numbers with non-zero fractional parts will be
|
||
rounded towards −∞, except in the case where there are no integer
|
||
bits, that is <code>FixedI32<U32></code>, where the return value is always zero.</p>
|
||
<h5 id="examples-167"><a class="doc-anchor" href="#examples-167">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="comment">// 0010.0000
|
||
</span><span class="kw">let </span>two = Fix::from_num(<span class="number">2</span>);
|
||
<span class="comment">// 0010.0100
|
||
</span><span class="kw">let </span>two_and_quarter = two + two / <span class="number">8</span>;
|
||
<span class="macro">assert_eq!</span>(two_and_quarter.int(), two);
|
||
<span class="comment">// 1101.0000
|
||
</span><span class="kw">let </span>three = Fix::from_num(<span class="number">3</span>);
|
||
<span class="comment">// 1101.1100
|
||
</span><span class="macro">assert_eq!</span>((-two_and_quarter).int(), -three);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.frac" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.frac" class="fn">frac</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Returns the fractional part.</p>
|
||
<p>Note that since the numbers are stored in two’s
|
||
complement, the returned fraction will be non-negative for negative
|
||
numbers, except in the case where there are no integer bits, that is
|
||
<code>FixedI32<U32></code> where the return value is always equal to
|
||
<code>self</code>.</p>
|
||
<h5 id="examples-168"><a class="doc-anchor" href="#examples-168">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="comment">// 0000.0100
|
||
</span><span class="kw">let </span>quarter = Fix::ONE / <span class="number">4</span>;
|
||
<span class="comment">// 0010.0100
|
||
</span><span class="kw">let </span>two_and_quarter = quarter * <span class="number">9</span>;
|
||
<span class="macro">assert_eq!</span>(two_and_quarter.frac(), quarter);
|
||
<span class="comment">// 0000.1100
|
||
</span><span class="kw">let </span>three_quarters = quarter * <span class="number">3</span>;
|
||
<span class="comment">// 1101.1100
|
||
</span><span class="macro">assert_eq!</span>((-two_and_quarter).frac(), three_quarters);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.round_to_zero" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.round_to_zero" class="fn">round_to_zero</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Rounds to the next integer towards 0.</p>
|
||
<p>Note that for negative numbers, this is different
|
||
from truncating/discarding the fractional bits. This is because in
|
||
two’s-complement representations, the value of all the bits except for
|
||
the most significant bit is positive; discarding positive bits would
|
||
round towards −∞ unlike this method which rounds towards zero.</p>
|
||
<h5 id="examples-169"><a class="doc-anchor" href="#examples-169">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">2.1</span>).round_to_zero(), Fix::from_num(<span class="number">2</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">2.9</span>).round_to_zero(), Fix::from_num(<span class="number">2</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">2.1</span>).round_to_zero(), Fix::from_num(-<span class="number">2</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">2.9</span>).round_to_zero(), Fix::from_num(-<span class="number">2</span>));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.ceil" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.ceil" class="fn">ceil</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Rounds to the next integer towards +∞.</p>
|
||
<h5 id="panics-50"><a class="doc-anchor" href="#panics-50">§</a>Panics</h5>
|
||
<p>When debug assertions are enabled, panics if the result does not fit.
|
||
When debug assertions are not enabled, the wrapped result can be
|
||
returned, but it is not considered a breaking change if in the future
|
||
it panics; if wrapping is required use <a href="struct.FixedI32.html#method.wrapping_ceil" title="method fixed::FixedI32::wrapping_ceil"><code>wrapping_ceil</code></a> instead.</p>
|
||
<h5 id="examples-170"><a class="doc-anchor" href="#examples-170">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">2.5</span>).ceil(), Fix::from_num(<span class="number">3</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">2.5</span>).ceil(), Fix::from_num(-<span class="number">2</span>));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.floor" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.floor" class="fn">floor</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Rounds to the next integer towards −∞.</p>
|
||
<h5 id="panics-51"><a class="doc-anchor" href="#panics-51">§</a>Panics</h5>
|
||
<p>When debug assertions are enabled, panics if the result does not fit.
|
||
When debug assertions are not enabled, the wrapped result can be
|
||
returned, but it is not considered a breaking change if in the future
|
||
it panics; if wrapping is required use <a href="struct.FixedI32.html#method.wrapping_floor" title="method fixed::FixedI32::wrapping_floor"><code>wrapping_floor</code></a> instead.</p>
|
||
<p>Overflow can only occur when there are zero integer bits.</p>
|
||
<h5 id="examples-171"><a class="doc-anchor" href="#examples-171">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">2.5</span>).floor(), Fix::from_num(<span class="number">2</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">2.5</span>).floor(), Fix::from_num(-<span class="number">3</span>));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.round" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.round" class="fn">round</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Rounds to the nearest integer, with ties rounded away
|
||
from zero.</p>
|
||
<h5 id="panics-52"><a class="doc-anchor" href="#panics-52">§</a>Panics</h5>
|
||
<p>When debug assertions are enabled, panics if the result does not fit.
|
||
When debug assertions are not enabled, the wrapped result can be
|
||
returned, but it is not considered a breaking change if in the future
|
||
it panics; if wrapping is required use <a href="struct.FixedI32.html#method.wrapping_round" title="method fixed::FixedI32::wrapping_round"><code>wrapping_round</code></a> instead.</p>
|
||
<h5 id="examples-172"><a class="doc-anchor" href="#examples-172">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">2.5</span>).round(), Fix::from_num(<span class="number">3</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">2.5</span>).round(), Fix::from_num(-<span class="number">3</span>));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.round_ties_even" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.round_ties_even" class="fn">round_ties_even</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Rounds to the nearest integer, with ties rounded to even.</p>
|
||
<h5 id="panics-53"><a class="doc-anchor" href="#panics-53">§</a>Panics</h5>
|
||
<p>When debug assertions are enabled, panics if the result does not fit.
|
||
When debug assertions are not enabled, the wrapped result can be
|
||
returned, but it is not considered a breaking change if in the future
|
||
it panics; if wrapping is required use <a href="struct.FixedI32.html#method.wrapping_round_ties_even" title="method fixed::FixedI32::wrapping_round_ties_even"><code>wrapping_round_ties_even</code></a>
|
||
instead.</p>
|
||
<h5 id="examples-173"><a class="doc-anchor" href="#examples-173">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">2.5</span>).round_ties_even(), Fix::from_num(<span class="number">2</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">3.5</span>).round_ties_even(), Fix::from_num(<span class="number">4</span>));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.checked_ceil" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.checked_ceil" class="fn">checked_ceil</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>></h4></section></summary><div class="docblock"><p>Checked ceil. Rounds to the next integer towards +∞,
|
||
returning <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> on overflow.</p>
|
||
<h5 id="examples-174"><a class="doc-anchor" href="#examples-174">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">2.5</span>).checked_ceil(), <span class="prelude-val">Some</span>(Fix::from_num(<span class="number">3</span>)));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">2.5</span>).checked_ceil(), <span class="prelude-val">Some</span>(Fix::from_num(-<span class="number">2</span>)));
|
||
<span class="macro">assert!</span>(Fix::MAX.checked_ceil().is_none());</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.checked_floor" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.checked_floor" class="fn">checked_floor</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>></h4></section></summary><div class="docblock"><p>Checked floor. Rounds to the next integer towards −∞. Returns <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> on overflow.</p>
|
||
<p>Overflow can only occur when there are zero integer bits.</p>
|
||
<h5 id="examples-175"><a class="doc-anchor" href="#examples-175">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{
|
||
types::extra::{U4, U32},
|
||
FixedI32,
|
||
};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">2.5</span>).checked_floor(), <span class="prelude-val">Some</span>(Fix::from_num(<span class="number">2</span>)));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">2.5</span>).checked_floor(), <span class="prelude-val">Some</span>(Fix::from_num(-<span class="number">3</span>)));
|
||
<span class="kw">type </span>AllFrac = FixedI32<U32>;
|
||
<span class="macro">assert!</span>(AllFrac::MIN.checked_floor().is_none());</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.checked_round" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.checked_round" class="fn">checked_round</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>></h4></section></summary><div class="docblock"><p>Checked round. Rounds to the nearest integer, with ties
|
||
rounded away from zero, returning <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> on overflow.</p>
|
||
<h5 id="examples-176"><a class="doc-anchor" href="#examples-176">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">2.5</span>).checked_round(), <span class="prelude-val">Some</span>(Fix::from_num(<span class="number">3</span>)));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">2.5</span>).checked_round(), <span class="prelude-val">Some</span>(Fix::from_num(-<span class="number">3</span>)));
|
||
<span class="macro">assert!</span>(Fix::MAX.checked_round().is_none());</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.checked_round_ties_even" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.checked_round_ties_even" class="fn">checked_round_ties_even</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>></h4></section></summary><div class="docblock"><p>Checked round. Rounds to the nearest integer, with ties rounded to
|
||
even, returning <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> on overflow.</p>
|
||
<h5 id="examples-177"><a class="doc-anchor" href="#examples-177">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">2.5</span>).checked_round_ties_even(), <span class="prelude-val">Some</span>(Fix::from_num(<span class="number">2</span>)));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">3.5</span>).checked_round_ties_even(), <span class="prelude-val">Some</span>(Fix::from_num(<span class="number">4</span>)));
|
||
<span class="macro">assert!</span>(Fix::MAX.checked_round_ties_even().is_none());</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_ceil" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.saturating_ceil" class="fn">saturating_ceil</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Saturating ceil. Rounds to the next integer towards +∞,
|
||
saturating on overflow.</p>
|
||
<h5 id="examples-178"><a class="doc-anchor" href="#examples-178">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">2.5</span>).saturating_ceil(), Fix::from_num(<span class="number">3</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">2.5</span>).saturating_ceil(), Fix::from_num(-<span class="number">2</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::MAX.saturating_ceil(), Fix::MAX);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_floor" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.saturating_floor" class="fn">saturating_floor</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Saturating floor. Rounds to the next integer towards −∞, saturating on overflow.</p>
|
||
<p>Overflow can only occur when there are zero integer bits.</p>
|
||
<h5 id="examples-179"><a class="doc-anchor" href="#examples-179">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{
|
||
types::extra::{U4, U32},
|
||
FixedI32,
|
||
};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">2.5</span>).saturating_floor(), Fix::from_num(<span class="number">2</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">2.5</span>).saturating_floor(), Fix::from_num(-<span class="number">3</span>));
|
||
<span class="kw">type </span>AllFrac = FixedI32<U32>;
|
||
<span class="macro">assert_eq!</span>(AllFrac::MIN.saturating_floor(), AllFrac::MIN);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_round" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.saturating_round" class="fn">saturating_round</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Saturating round. Rounds to the nearest integer, with
|
||
ties rounded away from zero, and saturating on overflow.</p>
|
||
<h5 id="examples-180"><a class="doc-anchor" href="#examples-180">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">2.5</span>).saturating_round(), Fix::from_num(<span class="number">3</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">2.5</span>).saturating_round(), Fix::from_num(-<span class="number">3</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::MAX.saturating_round(), Fix::MAX);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_round_ties_even" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.saturating_round_ties_even" class="fn">saturating_round_ties_even</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Saturating round. Rounds to the nearest integer, with ties rounded
|
||
to even, and saturating on overflow.</p>
|
||
<h5 id="examples-181"><a class="doc-anchor" href="#examples-181">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">2.5</span>).saturating_round_ties_even(), Fix::from_num(<span class="number">2</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">3.5</span>).saturating_round_ties_even(), Fix::from_num(<span class="number">4</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::MAX.saturating_round_ties_even(), Fix::MAX);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_ceil" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.wrapping_ceil" class="fn">wrapping_ceil</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Wrapping ceil. Rounds to the next integer towards +∞,
|
||
wrapping on overflow.</p>
|
||
<h5 id="examples-182"><a class="doc-anchor" href="#examples-182">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">2.5</span>).wrapping_ceil(), Fix::from_num(<span class="number">3</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">2.5</span>).wrapping_ceil(), Fix::from_num(-<span class="number">2</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::MAX.wrapping_ceil(), Fix::MIN);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_floor" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.wrapping_floor" class="fn">wrapping_floor</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Wrapping floor. Rounds to the next integer towards −∞, wrapping on overflow.</p>
|
||
<p>Overflow can only occur when there are zero integer bits.</p>
|
||
<h5 id="examples-183"><a class="doc-anchor" href="#examples-183">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{
|
||
types::extra::{U4, U32},
|
||
FixedI32,
|
||
};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">2.5</span>).wrapping_floor(), Fix::from_num(<span class="number">2</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">2.5</span>).wrapping_floor(), Fix::from_num(-<span class="number">3</span>));
|
||
<span class="kw">type </span>AllFrac = FixedI32<U32>;
|
||
<span class="macro">assert_eq!</span>(AllFrac::MIN.wrapping_floor(), AllFrac::ZERO);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_round" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.wrapping_round" class="fn">wrapping_round</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Wrapping round. Rounds to the next integer to the
|
||
nearest, with ties rounded away from zero, and wrapping on overflow.</p>
|
||
<h5 id="examples-184"><a class="doc-anchor" href="#examples-184">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">2.5</span>).wrapping_round(), Fix::from_num(<span class="number">3</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">2.5</span>).wrapping_round(), Fix::from_num(-<span class="number">3</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::MAX.wrapping_round(), Fix::MIN);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_round_ties_even" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.wrapping_round_ties_even" class="fn">wrapping_round_ties_even</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Wrapping round. Rounds to the next integer to the nearest, with
|
||
ties rounded to even, and wrapping on overflow.</p>
|
||
<h5 id="examples-185"><a class="doc-anchor" href="#examples-185">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">2.5</span>).wrapping_round_ties_even(), Fix::from_num(<span class="number">2</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">3.5</span>).wrapping_round_ties_even(), Fix::from_num(<span class="number">4</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::MAX.wrapping_round_ties_even(), Fix::MIN);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_ceil" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.unwrapped_ceil" class="fn">unwrapped_ceil</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Unwrapped ceil. Rounds to the next integer towards +∞,
|
||
panicking on overflow.</p>
|
||
<h5 id="panics-54"><a class="doc-anchor" href="#panics-54">§</a>Panics</h5>
|
||
<p>Panics if the result does not fit.</p>
|
||
<h5 id="examples-186"><a class="doc-anchor" href="#examples-186">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">2.5</span>).unwrapped_ceil(), Fix::from_num(<span class="number">3</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">2.5</span>).unwrapped_ceil(), Fix::from_num(-<span class="number">2</span>));</code></pre></div>
|
||
<p>The following panics because of overflow.</p>
|
||
|
||
<div class="example-wrap should_panic"><a href="#" class="tooltip" title="This example panics">ⓘ</a><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>_overflow = Fix::MAX.unwrapped_ceil();</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_floor" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.unwrapped_floor" class="fn">unwrapped_floor</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Unwrapped floor. Rounds to the next integer towards −∞, panicking on overflow.</p>
|
||
<p>Overflow can only occur when there are zero integer bits.</p>
|
||
<h5 id="panics-55"><a class="doc-anchor" href="#panics-55">§</a>Panics</h5>
|
||
<p>Panics if the result does not fit.</p>
|
||
<h5 id="examples-187"><a class="doc-anchor" href="#examples-187">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">2.5</span>).unwrapped_floor(), Fix::from_num(<span class="number">2</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">2.5</span>).unwrapped_floor(), Fix::from_num(-<span class="number">3</span>));</code></pre></div>
|
||
<p>The following panics because of overflow.</p>
|
||
|
||
<div class="example-wrap should_panic"><a href="#" class="tooltip" title="This example panics">ⓘ</a><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U32, FixedI32};
|
||
<span class="kw">type </span>AllFrac = FixedI32<U32>;
|
||
<span class="kw">let </span>_overflow = AllFrac::MIN.unwrapped_floor();</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_round" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.unwrapped_round" class="fn">unwrapped_round</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Unwrapped round. Rounds to the next integer to the
|
||
nearest, with ties rounded away from zero, and panicking on overflow.</p>
|
||
<h5 id="panics-56"><a class="doc-anchor" href="#panics-56">§</a>Panics</h5>
|
||
<p>Panics if the result does not fit.</p>
|
||
<h5 id="examples-188"><a class="doc-anchor" href="#examples-188">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">2.5</span>).unwrapped_round(), Fix::from_num(<span class="number">3</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">2.5</span>).unwrapped_round(), Fix::from_num(-<span class="number">3</span>));</code></pre></div>
|
||
<p>The following panics because of overflow.</p>
|
||
|
||
<div class="example-wrap should_panic"><a href="#" class="tooltip" title="This example panics">ⓘ</a><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>_overflow = Fix::MAX.unwrapped_round();</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_round_ties_even" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.unwrapped_round_ties_even" class="fn">unwrapped_round_ties_even</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Unwrapped round. Rounds to the next integer to the nearest, with
|
||
ties rounded to even, and panicking on overflow.</p>
|
||
<h5 id="panics-57"><a class="doc-anchor" href="#panics-57">§</a>Panics</h5>
|
||
<p>Panics if the result does not fit.</p>
|
||
<h5 id="examples-189"><a class="doc-anchor" href="#examples-189">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">2.5</span>).unwrapped_round_ties_even(), Fix::from_num(<span class="number">2</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">3.5</span>).unwrapped_round_ties_even(), Fix::from_num(<span class="number">4</span>));</code></pre></div>
|
||
<p>The following panics because of overflow.</p>
|
||
|
||
<div class="example-wrap should_panic"><a href="#" class="tooltip" title="This example panics">ⓘ</a><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>_overflow = Fix::MAX.unwrapped_round_ties_even();</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_ceil" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.overflowing_ceil" class="fn">overflowing_ceil</a>(self) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class="docblock"><p>Overflowing ceil. Rounds to the next integer towards +∞.</p>
|
||
<p>Returns a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.tuple.html" title="primitive tuple">tuple</a> of the fixed-point number and a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html" title="primitive bool"><code>bool</code></a>, indicating
|
||
whether an overflow has occurred. On overflow, the wrapped value is
|
||
returned.</p>
|
||
<h5 id="examples-190"><a class="doc-anchor" href="#examples-190">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">2.5</span>).overflowing_ceil(), (Fix::from_num(<span class="number">3</span>), <span class="bool-val">false</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">2.5</span>).overflowing_ceil(), (Fix::from_num(-<span class="number">2</span>), <span class="bool-val">false</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::MAX.overflowing_ceil(), (Fix::MIN, <span class="bool-val">true</span>));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_floor" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.overflowing_floor" class="fn">overflowing_floor</a>(self) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class="docblock"><p>Overflowing floor. Rounds to the next integer towards −∞.</p>
|
||
<p>Returns a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.tuple.html" title="primitive tuple">tuple</a> of the fixed-point number and
|
||
a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html" title="primitive bool"><code>bool</code></a>, indicating whether an overflow has
|
||
occurred. On overflow, the wrapped value isreturned. Overflow can only
|
||
occur when there are zero integer bits.</p>
|
||
<h5 id="examples-191"><a class="doc-anchor" href="#examples-191">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{
|
||
types::extra::{U4, U32},
|
||
FixedI32,
|
||
};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">2.5</span>).overflowing_floor(), (Fix::from_num(<span class="number">2</span>), <span class="bool-val">false</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">2.5</span>).overflowing_floor(), (Fix::from_num(-<span class="number">3</span>), <span class="bool-val">false</span>));
|
||
<span class="kw">type </span>AllFrac = FixedI32<U32>;
|
||
<span class="macro">assert_eq!</span>(AllFrac::MIN.overflowing_floor(), (AllFrac::ZERO, <span class="bool-val">true</span>));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_round" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.overflowing_round" class="fn">overflowing_round</a>(self) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class="docblock"><p>Overflowing round. Rounds to the next integer to the
|
||
nearest, with ties rounded away from zero.</p>
|
||
<p>Returns a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.tuple.html" title="primitive tuple">tuple</a> of the fixed-point number and a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html" title="primitive bool"><code>bool</code></a> indicating
|
||
whether an overflow has occurred. On overflow, the wrapped value is
|
||
returned.</p>
|
||
<h5 id="examples-192"><a class="doc-anchor" href="#examples-192">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">2.5</span>).overflowing_round(), (Fix::from_num(<span class="number">3</span>), <span class="bool-val">false</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">2.5</span>).overflowing_round(), (Fix::from_num(-<span class="number">3</span>), <span class="bool-val">false</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::MAX.overflowing_round(), (Fix::MIN, <span class="bool-val">true</span>));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_round_ties_even" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.overflowing_round_ties_even" class="fn">overflowing_round_ties_even</a>(self) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class="docblock"><p>Overflowing round. Rounds to the next integer to the nearest, with
|
||
ties rounded to even.</p>
|
||
<p>Returns a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.tuple.html" title="primitive tuple">tuple</a> of the fixed-point number and a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html" title="primitive bool"><code>bool</code></a> indicating
|
||
whether an overflow has occurred. On overflow, the wrapped value is
|
||
returned.</p>
|
||
<h5 id="examples-193"><a class="doc-anchor" href="#examples-193">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">2.5</span>).overflowing_round_ties_even(), (Fix::from_num(<span class="number">2</span>), <span class="bool-val">false</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">3.5</span>).overflowing_round_ties_even(), (Fix::from_num(<span class="number">4</span>), <span class="bool-val">false</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::MAX.overflowing_round_ties_even(), (Fix::MIN, <span class="bool-val">true</span>));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.round_ties_to_even" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.round_ties_to_even" class="fn">round_ties_to_even</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 1.28.0: renamed to <code>round_ties_even</code></span></div></span></summary><div class="docblock"><p>Rounds to the nearest integer, with ties rounded to even.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.checked_round_ties_to_even" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.checked_round_ties_to_even" class="fn">checked_round_ties_to_even</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>></h4></section><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 1.28.0: renamed to <code>checked_round_ties_even</code></span></div></span></summary><div class="docblock"><p>Checked round. Rounds to the nearest integer, with ties rounded to
|
||
even, returning <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> on overflow.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_round_ties_to_even" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.saturating_round_ties_to_even" class="fn">saturating_round_ties_to_even</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 1.28.0: renamed to <code>saturating_round_ties_even</code></span></div></span></summary><div class="docblock"><p>Saturating round. Rounds to the nearest integer, with ties rounded
|
||
to even, and saturating on overflow.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_round_ties_to_even" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.wrapping_round_ties_to_even" class="fn">wrapping_round_ties_to_even</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 1.28.0: renamed to <code>wrapping_round_ties_even</code></span></div></span></summary><div class="docblock"><p>Wrapping round. Rounds to the next integer to the nearest, with ties
|
||
rounded to even, and wrapping on overflow.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_round_ties_to_even" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.unwrapped_round_ties_to_even" class="fn">unwrapped_round_ties_to_even</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 1.28.0: renamed to <code>unwrapped_round_ties_even</code></span></div></span></summary><div class="docblock"><p>Unwrapped round. Rounds to the next integer to the nearest, with
|
||
ties rounded to even, and panicking on overflow.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_round_ties_to_even" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.overflowing_round_ties_to_even" class="fn">overflowing_round_ties_to_even</a>(self) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 1.28.0: renamed to <code>overflowing_round_ties_even</code></span></div></span></summary><div class="docblock"><p>Overflowing round. Rounds to the next integer to the nearest, with
|
||
ties rounded to even.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.int_log2" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.int_log2" class="fn">int_log2</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a></h4></section></summary><div class="docblock"><p>Integer base-2 logarithm, rounded down.</p>
|
||
<h5 id="panics-58"><a class="doc-anchor" href="#panics-58">§</a>Panics</h5>
|
||
<p>Panics if the fixed-point number is ≤ 0.</p>
|
||
<h5 id="examples-194"><a class="doc-anchor" href="#examples-194">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">4</span>).int_log2(), <span class="number">2</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">3.9375</span>).int_log2(), <span class="number">1</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">0.25</span>).int_log2(), -<span class="number">2</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">0.1875</span>).int_log2(), -<span class="number">3</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.int_log10" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.int_log10" class="fn">int_log10</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a></h4></section></summary><div class="docblock"><p>Integer base-10 logarithm, rounded down.</p>
|
||
<h5 id="panics-59"><a class="doc-anchor" href="#panics-59">§</a>Panics</h5>
|
||
<p>Panics if the fixed-point number is ≤ 0.</p>
|
||
<h5 id="examples-195"><a class="doc-anchor" href="#examples-195">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{
|
||
types::extra::{U2, U6},
|
||
FixedI32,
|
||
};
|
||
<span class="macro">assert_eq!</span>(FixedI32::<U2>::from_num(<span class="number">10</span>).int_log10(), <span class="number">1</span>);
|
||
<span class="macro">assert_eq!</span>(FixedI32::<U2>::from_num(<span class="number">9.75</span>).int_log10(), <span class="number">0</span>);
|
||
<span class="macro">assert_eq!</span>(FixedI32::<U6>::from_num(<span class="number">0.109375</span>).int_log10(), -<span class="number">1</span>);
|
||
<span class="macro">assert_eq!</span>(FixedI32::<U6>::from_num(<span class="number">0.09375</span>).int_log10(), -<span class="number">2</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.int_log" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.int_log" class="fn">int_log</a>(self, base: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a></h4></section></summary><div class="docblock"><p>Integer logarithm to the specified base, rounded down.</p>
|
||
<h5 id="panics-60"><a class="doc-anchor" href="#panics-60">§</a>Panics</h5>
|
||
<p>Panics if the fixed-point number is ≤ 0
|
||
or if the base is < 2.</p>
|
||
<h5 id="examples-196"><a class="doc-anchor" href="#examples-196">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">4</span>).int_log(<span class="number">2</span>), <span class="number">2</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">5.75</span>).int_log(<span class="number">5</span>), <span class="number">1</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">0.25</span>).int_log(<span class="number">5</span>), -<span class="number">1</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">0.1875</span>).int_log(<span class="number">5</span>), -<span class="number">2</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.checked_int_log2" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.checked_int_log2" class="fn">checked_int_log2</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>></h4></section></summary><div class="docblock"><p>Checked integer base-2 logarithm, rounded down.
|
||
Returns the logarithm or <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> if the fixed-point number is
|
||
≤ 0.</p>
|
||
<h5 id="examples-197"><a class="doc-anchor" href="#examples-197">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::ZERO.checked_int_log2(), <span class="prelude-val">None</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">4</span>).checked_int_log2(), <span class="prelude-val">Some</span>(<span class="number">2</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">3.9375</span>).checked_int_log2(), <span class="prelude-val">Some</span>(<span class="number">1</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">0.25</span>).checked_int_log2(), <span class="prelude-val">Some</span>(-<span class="number">2</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">0.1875</span>).checked_int_log2(), <span class="prelude-val">Some</span>(-<span class="number">3</span>));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.checked_int_log10" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.checked_int_log10" class="fn">checked_int_log10</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>></h4></section></summary><div class="docblock"><p>Checked integer base-10 logarithm, rounded down.
|
||
Returns the logarithm or <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> if the fixed-point number is
|
||
≤ 0.</p>
|
||
<h5 id="examples-198"><a class="doc-anchor" href="#examples-198">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{
|
||
types::extra::{U2, U6},
|
||
FixedI32,
|
||
};
|
||
<span class="macro">assert_eq!</span>(FixedI32::<U2>::ZERO.checked_int_log10(), <span class="prelude-val">None</span>);
|
||
<span class="macro">assert_eq!</span>(FixedI32::<U2>::from_num(<span class="number">10</span>).checked_int_log10(), <span class="prelude-val">Some</span>(<span class="number">1</span>));
|
||
<span class="macro">assert_eq!</span>(FixedI32::<U2>::from_num(<span class="number">9.75</span>).checked_int_log10(), <span class="prelude-val">Some</span>(<span class="number">0</span>));
|
||
<span class="macro">assert_eq!</span>(FixedI32::<U6>::from_num(<span class="number">0.109375</span>).checked_int_log10(), <span class="prelude-val">Some</span>(-<span class="number">1</span>));
|
||
<span class="macro">assert_eq!</span>(FixedI32::<U6>::from_num(<span class="number">0.09375</span>).checked_int_log10(), <span class="prelude-val">Some</span>(-<span class="number">2</span>));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.checked_int_log" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.checked_int_log" class="fn">checked_int_log</a>(self, base: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>></h4></section></summary><div class="docblock"><p>Checked integer logarithm to the specified base, rounded down.
|
||
Returns the logarithm, or <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> if the fixed-point number is
|
||
≤ 0
|
||
or if the base is < 2.</p>
|
||
<h5 id="examples-199"><a class="doc-anchor" href="#examples-199">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::ZERO.checked_int_log(<span class="number">5</span>), <span class="prelude-val">None</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">4</span>).checked_int_log(<span class="number">2</span>), <span class="prelude-val">Some</span>(<span class="number">2</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">5.75</span>).checked_int_log(<span class="number">5</span>), <span class="prelude-val">Some</span>(<span class="number">1</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">0.25</span>).checked_int_log(<span class="number">5</span>), <span class="prelude-val">Some</span>(-<span class="number">1</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">0.1875</span>).checked_int_log(<span class="number">5</span>), <span class="prelude-val">Some</span>(-<span class="number">2</span>));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.signum" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.signum" class="fn">signum</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Returns a number representing the sign of <code>self</code>.</p>
|
||
<h5 id="panics-61"><a class="doc-anchor" href="#panics-61">§</a>Panics</h5>
|
||
<p>When debug assertions are enabled, this method panics</p>
|
||
<ul>
|
||
<li>if the value is positive and the fixed-point number has zero
|
||
or one integer bits such that it cannot hold the value 1.</li>
|
||
<li>if the value is negative and the fixed-point number has zero
|
||
integer bits, such that it cannot hold the value −1.</li>
|
||
</ul>
|
||
<p>When debug assertions are not enabled, the wrapped value can be
|
||
returned in those cases, but it is not considered a breaking change if
|
||
in the future it panics; using this method when 1 and −1 cannot be
|
||
represented is almost certainly a bug.</p>
|
||
<h5 id="examples-200"><a class="doc-anchor" href="#examples-200">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">5</span>).signum(), <span class="number">1</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::ZERO.signum(), <span class="number">0</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">5</span>).signum(), -<span class="number">1</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.recip" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.recip" class="fn">recip</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Returns the reciprocal (inverse) of the fixed-point number, 1/<code>self</code>.</p>
|
||
<h5 id="panics-62"><a class="doc-anchor" href="#panics-62">§</a>Panics</h5>
|
||
<p>Panics if the fixed-point number is zero.</p>
|
||
<p>When debug assertions are enabled, this method also panics if the
|
||
reciprocal overflows. When debug assertions are not enabled, the
|
||
wrapped value can be returned, but it is not considered a breaking
|
||
change if in the future it panics; if wrapping is required use
|
||
<a href="struct.FixedI32.html#method.wrapping_recip" title="method fixed::FixedI32::wrapping_recip"><code>wrapping_recip</code></a> instead.</p>
|
||
<h5 id="examples-201"><a class="doc-anchor" href="#examples-201">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">2</span>).recip(), Fix::from_num(<span class="number">0.5</span>));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.div_euclid" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.div_euclid" class="fn">div_euclid</a>(self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Euclidean division.</p>
|
||
<h5 id="panics-63"><a class="doc-anchor" href="#panics-63">§</a>Panics</h5>
|
||
<p>Panics if the divisor is zero.</p>
|
||
<p>When debug assertions are enabled, this method also panics if the
|
||
division overflows. When debug assertions are not enabled, the wrapped
|
||
value can be returned, but it is not considered a breaking change if
|
||
in the future it panics; if wrapping is required use
|
||
<a href="struct.FixedI32.html#method.wrapping_div_euclid" title="method fixed::FixedI32::wrapping_div_euclid"><code>wrapping_div_euclid</code></a> instead.</p>
|
||
<h5 id="examples-202"><a class="doc-anchor" href="#examples-202">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">7.5</span>).div_euclid(Fix::from_num(<span class="number">2</span>)), Fix::from_num(<span class="number">3</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">7.5</span>).div_euclid(Fix::from_num(<span class="number">2</span>)), Fix::from_num(-<span class="number">4</span>));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.div_euclid_int" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.div_euclid_int" class="fn">div_euclid_int</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Euclidean division by an integer.</p>
|
||
<h5 id="panics-64"><a class="doc-anchor" href="#panics-64">§</a>Panics</h5>
|
||
<p>Panics if the divisor is zero.</p>
|
||
<p>When debug assertions are enabled, this method
|
||
also panics if the division overflows. Overflow can only occur when
|
||
dividing the minimum value by −1. When debug assertions are not
|
||
enabled, the wrapped value can be returned, but it is not considered a
|
||
breaking change if in the future it panics; if wrapping is required
|
||
use <a href="struct.FixedI32.html#method.wrapping_div_euclid_int" title="method fixed::FixedI32::wrapping_div_euclid_int"><code>wrapping_div_euclid_int</code></a> instead.</p>
|
||
<h5 id="examples-203"><a class="doc-anchor" href="#examples-203">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">7.5</span>).div_euclid_int(<span class="number">2</span>), Fix::from_num(<span class="number">3</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">7.5</span>).div_euclid_int(<span class="number">2</span>), Fix::from_num(-<span class="number">4</span>));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.add_prod" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.add_prod" class="fn">add_prod</a><AFrac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, BFrac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>>(
|
||
self,
|
||
a: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><AFrac>,
|
||
b: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><BFrac>,
|
||
) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Adds <code>self</code> to the product <code>a</code> × <code>b</code>.</p>
|
||
<p>For some cases, the product <code>a</code> × <code>b</code> would
|
||
overflow on its own, but the final result <code>self</code> + <code>a</code> × <code>b</code>
|
||
is representable; in these cases this method returns the correct result without
|
||
overflow.</p>
|
||
<p>The <code>a</code> and <code>b</code> parameters can have a fixed-point type like
|
||
<code>self</code> but with a different number of fractional bits.</p>
|
||
<p>The <a href="struct.FixedI32.html#method.mul_acc" title="method fixed::FixedI32::mul_acc"><code>mul_acc</code></a> method performs the same operation as this method but mutates
|
||
<code>self</code> instead of returning the result.</p>
|
||
<h5 id="panics-65"><a class="doc-anchor" href="#panics-65">§</a>Panics</h5>
|
||
<p>When debug assertions are enabled, this method panics if the result overflows.
|
||
When debug assertions are not enabled, the wrapped value can be returned, but it
|
||
is not considered a breaking change if in the future it panics; if wrapping is
|
||
required use <a href="struct.FixedI32.html#method.wrapping_add_prod" title="method fixed::FixedI32::wrapping_add_prod"><code>wrapping_add_prod</code></a> instead.</p>
|
||
<h5 id="examples-204"><a class="doc-anchor" href="#examples-204">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">3</span>).add_prod(Fix::from_num(<span class="number">4</span>), Fix::from_num(<span class="number">0.5</span>)), <span class="number">5</span>);
|
||
<span class="comment">// -MAX + MAX × 1.5 = MAX / 2, which does not overflow
|
||
</span><span class="macro">assert_eq!</span>((-Fix::MAX).add_prod(Fix::MAX, Fix::from_num(<span class="number">1.5</span>)), Fix::MAX / <span class="number">2</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.mul_acc" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub fn <a href="#method.mul_acc" class="fn">mul_acc</a><AFrac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, BFrac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>>(
|
||
&mut self,
|
||
a: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><AFrac>,
|
||
b: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><BFrac>,
|
||
)</h4></section></summary><div class="docblock"><p>Multiply and accumulate. Adds (<code>a</code> × <code>b</code>) to <code>self</code>.</p>
|
||
<p>For some cases, the product <code>a</code> × <code>b</code> would overflow on its
|
||
own, but the final result <code>self</code> + <code>a</code> × <code>b</code> is representable; in these cases
|
||
this method saves the correct result without overflow.</p>
|
||
<p>The <code>a</code> and <code>b</code> parameters can have a fixed-point type like
|
||
<code>self</code> but with a different number of fractional bits.</p>
|
||
<p>The <a href="struct.FixedI32.html#method.add_prod" title="method fixed::FixedI32::add_prod"><code>add_prod</code></a> method performs the same operation as this method but returns
|
||
the result instead of mutating <code>self</code>.</p>
|
||
<h5 id="panics-66"><a class="doc-anchor" href="#panics-66">§</a>Panics</h5>
|
||
<p>When debug assertions are enabled, this method panics if the result
|
||
overflows. When debug assertions are not enabled, the wrapped value
|
||
can be returned, but it is not considered a breaking change if in the
|
||
future it panics; if wrapping is required use <a href="struct.FixedI32.html#method.wrapping_mul_acc" title="method fixed::FixedI32::wrapping_mul_acc"><code>wrapping_mul_acc</code></a>
|
||
instead.</p>
|
||
<h5 id="examples-205"><a class="doc-anchor" href="#examples-205">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span><span class="kw-2">mut </span>acc = Fix::from_num(<span class="number">3</span>);
|
||
acc.mul_acc(Fix::from_num(<span class="number">4</span>), Fix::from_num(<span class="number">0.5</span>));
|
||
<span class="macro">assert_eq!</span>(acc, <span class="number">5</span>);
|
||
|
||
<span class="comment">// MAX × 1.5 - MAX = MAX / 2, which does not overflow
|
||
</span>acc = -Fix::MAX;
|
||
acc.mul_acc(Fix::MAX, Fix::from_num(<span class="number">1.5</span>));
|
||
<span class="macro">assert_eq!</span>(acc, Fix::MAX / <span class="number">2</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.rem_euclid_int" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.rem_euclid_int" class="fn">rem_euclid_int</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Remainder for Euclidean division by an integer.</p>
|
||
<h5 id="panics-67"><a class="doc-anchor" href="#panics-67">§</a>Panics</h5>
|
||
<p>Panics if the divisor is zero.</p>
|
||
<h5 id="examples-206"><a class="doc-anchor" href="#examples-206">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">7.5</span>).rem_euclid_int(<span class="number">2</span>), Fix::from_num(<span class="number">1.5</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">7.5</span>).rem_euclid_int(<span class="number">2</span>), Fix::from_num(<span class="number">0.5</span>));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.sqrt" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.sqrt" class="fn">sqrt</a>(self) -> Self</h4></section></summary><div class="docblock"><p>Returns the square root.</p>
|
||
<p>This method uses an iterative method, with up to 32 iterations for
|
||
<a href="struct.FixedI32.html" title="struct fixed::FixedI32"><code>FixedI32</code></a>. The result is rounded down, and the error is
|
||
< <a href="struct.FixedI32.html#associatedconstant.DELTA" title="associated constant fixed::FixedI32::DELTA"><code>DELTA</code></a>. That is,
|
||
result ≤ √<code>self</code> < result + <code>DELTA</code>.</p>
|
||
<p>Overflow can only occur when there are no integer bits and
|
||
the representable range is −0.5 ≤ <i>x</i> < 0.5.
|
||
In this case, overflow occurs for an input value ≥ 0.25.</p>
|
||
<h5 id="panics-68"><a class="doc-anchor" href="#panics-68">§</a>Panics</h5>
|
||
<p>Panics if the number is negative.</p>
|
||
<p>When debug assertions are enabled, this method also panics if the square root
|
||
overflows. When debug assertions are not enabled, the wrapped value can be
|
||
returned, but it is not considered a breaking change if in the future it panics;
|
||
if wrapping is required use <a href="struct.FixedI32.html#method.wrapping_sqrt" title="method fixed::FixedI32::wrapping_sqrt"><code>wrapping_sqrt</code></a> instead.</p>
|
||
<h5 id="examples-207"><a class="doc-anchor" href="#examples-207">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">2</span>).sqrt(), Fix::SQRT_2);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.lerp" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.lerp" class="fn">lerp</a><RangeFrac>(
|
||
self,
|
||
start: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><RangeFrac>,
|
||
end: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><RangeFrac>,
|
||
) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><RangeFrac></h4></section></summary><div class="docblock"><p>Linear interpolation between <code>start</code> and <code>end</code>.</p>
|
||
<p>Returns
|
||
<code>start</code> + <code>self</code> × (<code>end</code> − <code>start</code>). This
|
||
is <code>start</code> when <code>self</code> = 0, <code>end</code> when <code>self</code> = 1, and
|
||
linear interpolation for all other values of <code>self</code>. Linear extrapolation is
|
||
performed if <code>self</code> is not in the range 0 ≤ <i>x</i> ≤ 1.</p>
|
||
<h5 id="panics-69"><a class="doc-anchor" href="#panics-69">§</a>Panics</h5>
|
||
<p>When debug assertions are enabled, this method panics if the result overflows.
|
||
When debug assertions are not enabled, the wrapped value can be returned, but it
|
||
is not considered a breaking change if in the future it panics; if wrapping is
|
||
required use <a href="struct.FixedI32.html#method.wrapping_lerp" title="method fixed::FixedI32::wrapping_lerp"><code>wrapping_lerp</code></a> instead.</p>
|
||
<h5 id="examples-208"><a class="doc-anchor" href="#examples-208">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>start = Fix::from_num(<span class="number">2</span>);
|
||
<span class="kw">let </span>end = Fix::from_num(<span class="number">3.5</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">1.0</span>).lerp(start, end), <span class="number">0.5</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">0.0</span>).lerp(start, end), <span class="number">2</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">0.5</span>).lerp(start, end), <span class="number">2.75</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">1.0</span>).lerp(start, end), <span class="number">3.5</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">2.0</span>).lerp(start, end), <span class="number">5</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.checked_signum" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.checked_signum" class="fn">checked_signum</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>></h4></section></summary><div class="docblock"><p>Checked signum. Returns a number representing the
|
||
sign of <code>self</code>, or <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> on overflow.</p>
|
||
<p>Overflow can only occur</p>
|
||
<ul>
|
||
<li>if the value is positive and the fixed-point number has zero
|
||
or one integer bits such that it cannot hold the value 1.</li>
|
||
<li>if the value is negative and the fixed-point number has zero
|
||
integer bits, such that it cannot hold the value −1.</li>
|
||
</ul>
|
||
<h5 id="examples-209"><a class="doc-anchor" href="#examples-209">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{
|
||
types::extra::{U4, U31, U32},
|
||
FixedI32,
|
||
};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">5</span>).checked_signum(), <span class="prelude-val">Some</span>(Fix::ONE));
|
||
<span class="macro">assert_eq!</span>(Fix::ZERO.checked_signum(), <span class="prelude-val">Some</span>(Fix::ZERO));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">5</span>).checked_signum(), <span class="prelude-val">Some</span>(Fix::NEG_ONE));
|
||
|
||
<span class="kw">type </span>OneIntBit = FixedI32<U31>;
|
||
<span class="kw">type </span>ZeroIntBits = FixedI32<U32>;
|
||
<span class="macro">assert_eq!</span>(OneIntBit::from_num(<span class="number">0.5</span>).checked_signum(), <span class="prelude-val">None</span>);
|
||
<span class="macro">assert_eq!</span>(ZeroIntBits::from_num(<span class="number">0.25</span>).checked_signum(), <span class="prelude-val">None</span>);
|
||
<span class="macro">assert_eq!</span>(ZeroIntBits::from_num(-<span class="number">0.5</span>).checked_signum(), <span class="prelude-val">None</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.checked_mul" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.checked_mul" class="fn">checked_mul</a>(self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>></h4></section></summary><div class="docblock"><p>Checked multiplication. Returns the product, or <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> on overflow.</p>
|
||
<h5 id="examples-210"><a class="doc-anchor" href="#examples-210">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::MAX.checked_mul(Fix::ONE), <span class="prelude-val">Some</span>(Fix::MAX));
|
||
<span class="macro">assert_eq!</span>(Fix::MAX.checked_mul(Fix::from_num(<span class="number">2</span>)), <span class="prelude-val">None</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.checked_div" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.checked_div" class="fn">checked_div</a>(self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>></h4></section></summary><div class="docblock"><p>Checked division. Returns the quotient, or <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> if
|
||
the divisor is zero or on overflow.</p>
|
||
<h5 id="examples-211"><a class="doc-anchor" href="#examples-211">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::MAX.checked_div(Fix::ONE), <span class="prelude-val">Some</span>(Fix::MAX));
|
||
<span class="macro">assert_eq!</span>(Fix::MAX.checked_div(Fix::ONE / <span class="number">2</span>), <span class="prelude-val">None</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.checked_recip" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.checked_recip" class="fn">checked_recip</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>></h4></section></summary><div class="docblock"><p>Checked reciprocal. Returns the reciprocal, or
|
||
<a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> if <code>self</code> is zero or on overflow.</p>
|
||
<h5 id="examples-212"><a class="doc-anchor" href="#examples-212">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">2</span>).checked_recip(), <span class="prelude-val">Some</span>(Fix::from_num(<span class="number">0.5</span>)));
|
||
<span class="macro">assert_eq!</span>(Fix::ZERO.checked_recip(), <span class="prelude-val">None</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.checked_div_euclid" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.checked_div_euclid" class="fn">checked_div_euclid</a>(
|
||
self,
|
||
rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>></h4></section></summary><div class="docblock"><p>Checked Euclidean division. Returns the quotient, or
|
||
<a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> if the divisor is zero or on overflow.</p>
|
||
<h5 id="examples-213"><a class="doc-anchor" href="#examples-213">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">7.5</span>).checked_div_euclid(Fix::from_num(<span class="number">2</span>)), <span class="prelude-val">Some</span>(Fix::from_num(<span class="number">3</span>)));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">7.5</span>).checked_div_euclid(Fix::ZERO), <span class="prelude-val">None</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::MAX.checked_div_euclid(Fix::from_num(<span class="number">0.25</span>)), <span class="prelude-val">None</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">7.5</span>).checked_div_euclid(Fix::from_num(<span class="number">2</span>)), <span class="prelude-val">Some</span>(Fix::from_num(-<span class="number">4</span>)));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.checked_add_prod" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.checked_add_prod" class="fn">checked_add_prod</a><AFrac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, BFrac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>>(
|
||
self,
|
||
a: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><AFrac>,
|
||
b: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><BFrac>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>></h4></section></summary><div class="docblock"><p>Adds <code>self</code> to the product <code>a</code> × <code>b</code>, returning <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> on overflow.</p>
|
||
<p>For some cases, the product <code>a</code> × <code>b</code> would
|
||
overflow on its own, but the final result <code>self</code> + <code>a</code> × <code>b</code>
|
||
is representable; in these cases this method returns the correct result without
|
||
overflow.</p>
|
||
<p>The <code>a</code> and <code>b</code> parameters can have a fixed-point type like
|
||
<code>self</code> but with a different number of fractional bits.</p>
|
||
<h5 id="examples-214"><a class="doc-anchor" href="#examples-214">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(
|
||
Fix::from_num(<span class="number">3</span>).checked_add_prod(Fix::from_num(<span class="number">4</span>), Fix::from_num(<span class="number">0.5</span>)),
|
||
<span class="prelude-val">Some</span>(Fix::from_num(<span class="number">5</span>))
|
||
);
|
||
<span class="macro">assert_eq!</span>(Fix::DELTA.checked_add_prod(Fix::MAX, Fix::ONE), <span class="prelude-val">None</span>);
|
||
<span class="comment">// -MAX + MAX × 1.5 = MAX / 2, which does not overflow
|
||
</span><span class="macro">assert_eq!</span>(
|
||
(-Fix::MAX).checked_add_prod(Fix::MAX, Fix::from_num(<span class="number">1.5</span>)),
|
||
<span class="prelude-val">Some</span>(Fix::MAX / <span class="number">2</span>)
|
||
);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.checked_mul_acc" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub fn <a href="#method.checked_mul_acc" class="fn">checked_mul_acc</a><AFrac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, BFrac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>>(
|
||
&mut self,
|
||
a: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><AFrac>,
|
||
b: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><BFrac>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.unit.html">()</a>></h4></section></summary><div class="docblock"><p>Checked multiply and accumulate. Adds (<code>a</code> × <code>b</code>) to <code>self</code>,
|
||
or returns <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> on overflow.</p>
|
||
<p>Like all other checked methods, this method wraps the successful return value in
|
||
an <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option"><code>Option</code></a>. Since the unchecked <a href="struct.FixedI32.html#method.mul_acc" title="method fixed::FixedI32::mul_acc"><code>mul_acc</code></a> method does not return a value,
|
||
which is equivalent to returning <a href="https://doc.rust-lang.org/1.84.0/core/primitive.unit.html" title="primitive unit"><code>()</code></a>, this method wraps <a href="https://doc.rust-lang.org/1.84.0/core/primitive.unit.html" title="primitive unit"><code>()</code></a>
|
||
into <code><a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.Some" title="variant core::option::Option::Some">Some</a>(<a href="https://doc.rust-lang.org/1.84.0/core/primitive.unit.html" title="primitive unit">()</a>)</code> on success.</p>
|
||
<p>When overflow occurs, <code>self</code> is not modified and retains its previous value.</p>
|
||
<p>For some cases, the product <code>a</code> × <code>b</code> would overflow on its
|
||
own, but the final result <code>self</code> + <code>a</code> × <code>b</code> is representable; in these cases
|
||
this method saves the correct result without overflow.</p>
|
||
<p>The <code>a</code> and <code>b</code> parameters can have a fixed-point type like
|
||
<code>self</code> but with a different number of fractional bits.</p>
|
||
<h5 id="examples-215"><a class="doc-anchor" href="#examples-215">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span><span class="kw-2">mut </span>acc = Fix::from_num(<span class="number">3</span>);
|
||
<span class="kw">let </span>check = acc.checked_mul_acc(Fix::from_num(<span class="number">4</span>), Fix::from_num(<span class="number">0.5</span>));
|
||
<span class="macro">assert_eq!</span>(check, <span class="prelude-val">Some</span>(()));
|
||
<span class="macro">assert_eq!</span>(acc, <span class="number">5</span>);
|
||
|
||
acc = Fix::DELTA;
|
||
<span class="kw">let </span>check = acc.checked_mul_acc(Fix::MAX, Fix::ONE);
|
||
<span class="macro">assert_eq!</span>(check, <span class="prelude-val">None</span>);
|
||
<span class="comment">// acc is unchanged on error
|
||
</span><span class="macro">assert_eq!</span>(acc, Fix::DELTA);
|
||
|
||
<span class="comment">// MAX × 1.5 - MAX = MAX / 2, which does not overflow
|
||
</span>acc = -Fix::MAX;
|
||
<span class="kw">let </span>check = acc.checked_mul_acc(Fix::MAX, Fix::from_num(<span class="number">1.5</span>));
|
||
<span class="macro">assert_eq!</span>(check, <span class="prelude-val">Some</span>(()));
|
||
<span class="macro">assert_eq!</span>(acc, Fix::MAX / <span class="number">2</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.checked_rem_int" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.checked_rem_int" class="fn">checked_rem_int</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>></h4></section></summary><div class="docblock"><p>Checked fixed-point remainder for division by an integer.
|
||
Returns the remainder, or <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> if the divisor is zero.</p>
|
||
<h5 id="examples-216"><a class="doc-anchor" href="#examples-216">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">3.75</span>).checked_rem_int(<span class="number">2</span>), <span class="prelude-val">Some</span>(Fix::from_num(<span class="number">1.75</span>)));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">3.75</span>).checked_rem_int(<span class="number">0</span>), <span class="prelude-val">None</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">3.75</span>).checked_rem_int(<span class="number">2</span>), <span class="prelude-val">Some</span>(Fix::from_num(-<span class="number">1.75</span>)));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.checked_div_euclid_int" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.checked_div_euclid_int" class="fn">checked_div_euclid_int</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>></h4></section></summary><div class="docblock"><p>Checked Euclidean division by an integer. Returns the
|
||
quotient, or <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> if the divisor is zero or if the division results in overflow.</p>
|
||
<h5 id="examples-217"><a class="doc-anchor" href="#examples-217">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">7.5</span>).checked_div_euclid_int(<span class="number">2</span>), <span class="prelude-val">Some</span>(Fix::from_num(<span class="number">3</span>)));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">7.5</span>).checked_div_euclid_int(<span class="number">0</span>), <span class="prelude-val">None</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::MIN.checked_div_euclid_int(-<span class="number">1</span>), <span class="prelude-val">None</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.checked_rem_euclid_int" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.checked_rem_euclid_int" class="fn">checked_rem_euclid_int</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>></h4></section></summary><div class="docblock"><p>Checked remainder for Euclidean division by an integer.
|
||
Returns the remainder, or <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> if the divisor is zero or if the remainder results in overflow.</p>
|
||
<h5 id="examples-218"><a class="doc-anchor" href="#examples-218">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U28, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U28>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">7.5</span>).checked_rem_euclid_int(<span class="number">2</span>), <span class="prelude-val">Some</span>(Fix::from_num(<span class="number">1.5</span>)));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">7.5</span>).checked_rem_euclid_int(<span class="number">0</span>), <span class="prelude-val">None</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">7.5</span>).checked_rem_euclid_int(<span class="number">2</span>), <span class="prelude-val">Some</span>(Fix::from_num(<span class="number">0.5</span>)));
|
||
<span class="comment">// -8 ≤ Fix < 8, so the answer 12.5 overflows
|
||
</span><span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">7.5</span>).checked_rem_euclid_int(<span class="number">20</span>), <span class="prelude-val">None</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.checked_sqrt" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.checked_sqrt" class="fn">checked_sqrt</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class="docblock"><p>Checked square root. Returns <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> for negative numbers and on overflow.</p>
|
||
<p>This method uses an iterative method, with up to 32 iterations for
|
||
<a href="struct.FixedI32.html" title="struct fixed::FixedI32"><code>FixedI32</code></a>. The result is rounded down, and the error is
|
||
< <a href="struct.FixedI32.html#associatedconstant.DELTA" title="associated constant fixed::FixedI32::DELTA"><code>DELTA</code></a>. That is,
|
||
result ≤ √<code>self</code> < result + <code>DELTA</code>.</p>
|
||
<p>Overflow can only occur when there are no integer bits and
|
||
the representable range is −0.5 ≤ <i>x</i> < 0.5.
|
||
In this case, the method returns <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> for an input value ≥ 0.25.</p>
|
||
<h5 id="examples-219"><a class="doc-anchor" href="#examples-219">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::types::extra::{U4, U32};
|
||
<span class="kw">use </span>fixed::FixedI32;
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">2</span>).checked_sqrt(), <span class="prelude-val">Some</span>(Fix::SQRT_2));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">1</span>).checked_sqrt(), <span class="prelude-val">None</span>);
|
||
|
||
<span class="kw">type </span>AllFrac = FixedI32<U32>;
|
||
<span class="macro">assert_eq!</span>(AllFrac::from_num(<span class="number">0.25</span>).checked_sqrt(), <span class="prelude-val">None</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.checked_lerp" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.checked_lerp" class="fn">checked_lerp</a><RangeFrac>(
|
||
self,
|
||
start: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><RangeFrac>,
|
||
end: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><RangeFrac>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><RangeFrac>></h4></section></summary><div class="docblock"><p>Checked linear interpolation between <code>start</code> and <code>end</code>. Returns
|
||
<a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> on overflow.</p>
|
||
<p>The interpolted value is
|
||
<code>start</code> + <code>self</code> × (<code>end</code> − <code>start</code>). This
|
||
is <code>start</code> when <code>self</code> = 0, <code>end</code> when <code>self</code> = 1, and
|
||
linear interpolation for all other values of <code>self</code>. Linear extrapolation is
|
||
performed if <code>self</code> is not in the range 0 ≤ <i>x</i> ≤ 1.</p>
|
||
<h5 id="examples-220"><a class="doc-anchor" href="#examples-220">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">0.5</span>).checked_lerp(Fix::ZERO, Fix::MAX), <span class="prelude-val">Some</span>(Fix::MAX / <span class="number">2</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">1.5</span>).checked_lerp(Fix::ZERO, Fix::MAX), <span class="prelude-val">None</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_signum" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.saturating_signum" class="fn">saturating_signum</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Saturating signum. Returns a number representing
|
||
the sign of <code>self</code>, saturating on overflow.</p>
|
||
<p>Overflow can only occur</p>
|
||
<ul>
|
||
<li>if the value is positive and the fixed-point number has zero
|
||
or one integer bits such that it cannot hold the value 1.</li>
|
||
<li>if the value is negative and the fixed-point number has zero
|
||
integer bits, such that it cannot hold the value −1.</li>
|
||
</ul>
|
||
<h5 id="examples-221"><a class="doc-anchor" href="#examples-221">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{
|
||
types::extra::{U4, U31, U32},
|
||
FixedI32,
|
||
};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">5</span>).saturating_signum(), <span class="number">1</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::ZERO.saturating_signum(), <span class="number">0</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">5</span>).saturating_signum(), -<span class="number">1</span>);
|
||
|
||
<span class="kw">type </span>OneIntBit = FixedI32<U31>;
|
||
<span class="kw">type </span>ZeroIntBits = FixedI32<U32>;
|
||
<span class="macro">assert_eq!</span>(OneIntBit::from_num(<span class="number">0.5</span>).saturating_signum(), OneIntBit::MAX);
|
||
<span class="macro">assert_eq!</span>(ZeroIntBits::from_num(<span class="number">0.25</span>).saturating_signum(), ZeroIntBits::MAX);
|
||
<span class="macro">assert_eq!</span>(ZeroIntBits::from_num(-<span class="number">0.5</span>).saturating_signum(), ZeroIntBits::MIN);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_mul" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.saturating_mul" class="fn">saturating_mul</a>(self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Saturating multiplication. Returns the product, saturating on overflow.</p>
|
||
<h5 id="examples-222"><a class="doc-anchor" href="#examples-222">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">3</span>).saturating_mul(Fix::from_num(<span class="number">2</span>)), Fix::from_num(<span class="number">6</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::MAX.saturating_mul(Fix::from_num(<span class="number">2</span>)), Fix::MAX);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_div" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.saturating_div" class="fn">saturating_div</a>(self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Saturating division. Returns the quotient, saturating on overflow.</p>
|
||
<h5 id="panics-70"><a class="doc-anchor" href="#panics-70">§</a>Panics</h5>
|
||
<p>Panics if the divisor is zero.</p>
|
||
<h5 id="examples-223"><a class="doc-anchor" href="#examples-223">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>one_half = Fix::ONE / <span class="number">2</span>;
|
||
<span class="macro">assert_eq!</span>(Fix::ONE.saturating_div(Fix::from_num(<span class="number">2</span>)), one_half);
|
||
<span class="macro">assert_eq!</span>(Fix::MAX.saturating_div(one_half), Fix::MAX);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_recip" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.saturating_recip" class="fn">saturating_recip</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Saturating reciprocal. Returns the reciprocal,
|
||
saturating on overflow.</p>
|
||
<h5 id="panics-71"><a class="doc-anchor" href="#panics-71">§</a>Panics</h5>
|
||
<p>Panics if the fixed-point number is zero.</p>
|
||
<h5 id="examples-224"><a class="doc-anchor" href="#examples-224">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U31, FixedI32};
|
||
<span class="comment">// only one integer bit
|
||
</span><span class="kw">type </span>Fix = FixedI32<U31>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">0.25</span>).saturating_recip(), Fix::MAX);
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">0.25</span>).saturating_recip(), Fix::MIN);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_div_euclid" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.saturating_div_euclid" class="fn">saturating_div_euclid</a>(self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Saturating Euclidean division. Returns the quotient,
|
||
saturating on overflow.</p>
|
||
<h5 id="panics-72"><a class="doc-anchor" href="#panics-72">§</a>Panics</h5>
|
||
<p>Panics if the divisor is zero.</p>
|
||
<h5 id="examples-225"><a class="doc-anchor" href="#examples-225">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">7.5</span>).saturating_div_euclid(Fix::from_num(<span class="number">2</span>)), Fix::from_num(<span class="number">3</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::MAX.saturating_div_euclid(Fix::from_num(<span class="number">0.25</span>)), Fix::MAX);
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">7.5</span>).saturating_div_euclid(Fix::from_num(<span class="number">2</span>)), Fix::from_num(-<span class="number">4</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::MIN.saturating_div_euclid(Fix::from_num(<span class="number">0.25</span>)), Fix::MIN);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_div_euclid_int" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.saturating_div_euclid_int" class="fn">saturating_div_euclid_int</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Saturating Euclidean division by an integer. Returns the quotient, saturating on overflow.</p>
|
||
<p>Overflow can only occur when dividing the minimum value by −1.</p>
|
||
<h5 id="panics-73"><a class="doc-anchor" href="#panics-73">§</a>Panics</h5>
|
||
<p>Panics if the divisor is zero.</p>
|
||
<h5 id="examples-226"><a class="doc-anchor" href="#examples-226">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">7.5</span>).saturating_div_euclid_int(<span class="number">2</span>), Fix::from_num(<span class="number">3</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">7.5</span>).saturating_div_euclid_int(<span class="number">2</span>), Fix::from_num(-<span class="number">4</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::MIN.saturating_div_euclid_int(-<span class="number">1</span>), Fix::MAX);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_add_prod" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.saturating_add_prod" class="fn">saturating_add_prod</a><AFrac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, BFrac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>>(
|
||
self,
|
||
a: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><AFrac>,
|
||
b: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><BFrac>,
|
||
) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Adds <code>self</code> to the product <code>a</code> × <code>b</code>, saturating on overflow.</p>
|
||
<p>For some cases, the product <code>a</code> × <code>b</code> would
|
||
overflow on its own, but the final result <code>self</code> + <code>a</code> × <code>b</code>
|
||
is representable; in these cases this method returns the correct result without
|
||
overflow.</p>
|
||
<p>The <code>a</code> and <code>b</code> parameters can have a fixed-point type like
|
||
<code>self</code> but with a different number of fractional bits.</p>
|
||
<h5 id="examples-227"><a class="doc-anchor" href="#examples-227">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(
|
||
Fix::from_num(<span class="number">3</span>).saturating_add_prod(Fix::from_num(<span class="number">4</span>), Fix::from_num(<span class="number">0.5</span>)),
|
||
<span class="number">5
|
||
</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::ONE.saturating_add_prod(Fix::MAX, Fix::from_num(<span class="number">3</span>)), Fix::MAX);
|
||
<span class="comment">// -MAX + MAX × 1.5 = MAX / 2, which does not overflow
|
||
</span><span class="macro">assert_eq!</span>(
|
||
(-Fix::MAX).saturating_add_prod(Fix::MAX, Fix::from_num(<span class="number">1.5</span>)),
|
||
Fix::MAX / <span class="number">2
|
||
</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_mul_acc" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub fn <a href="#method.saturating_mul_acc" class="fn">saturating_mul_acc</a><AFrac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, BFrac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>>(
|
||
&mut self,
|
||
a: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><AFrac>,
|
||
b: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><BFrac>,
|
||
)</h4></section></summary><div class="docblock"><p>Saturating multiply and accumulate. Adds (<code>a</code> × <code>b</code>) to <code>self</code>,
|
||
saturating on overflow.</p>
|
||
<p>For some cases, the product <code>a</code> × <code>b</code> would overflow on its
|
||
own, but the final result <code>self</code> + <code>a</code> × <code>b</code> is representable; in these cases
|
||
this method saves the correct result without overflow.</p>
|
||
<p>The <code>a</code> and <code>b</code> parameters can have a fixed-point type like
|
||
<code>self</code> but with a different number of fractional bits.</p>
|
||
<h5 id="examples-228"><a class="doc-anchor" href="#examples-228">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span><span class="kw-2">mut </span>acc = Fix::from_num(<span class="number">3</span>);
|
||
acc.saturating_mul_acc(Fix::from_num(<span class="number">4</span>), Fix::from_num(<span class="number">0.5</span>));
|
||
<span class="macro">assert_eq!</span>(acc, <span class="number">5</span>);
|
||
|
||
acc = Fix::MAX / <span class="number">2</span>;
|
||
acc.saturating_mul_acc(Fix::MAX / <span class="number">2</span>, Fix::from_num(<span class="number">3</span>));
|
||
<span class="macro">assert_eq!</span>(acc, Fix::MAX);
|
||
|
||
<span class="comment">// MAX × 1.5 - MAX = MAX / 2, which does not overflow
|
||
</span>acc = -Fix::MAX;
|
||
acc.saturating_mul_acc(Fix::MAX, Fix::from_num(<span class="number">1.5</span>));
|
||
<span class="macro">assert_eq!</span>(acc, Fix::MAX / <span class="number">2</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_rem_euclid_int" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.saturating_rem_euclid_int" class="fn">saturating_rem_euclid_int</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Saturating remainder for Euclidean division by an integer. Returns the remainder, saturating on overflow.</p>
|
||
<h5 id="panics-74"><a class="doc-anchor" href="#panics-74">§</a>Panics</h5>
|
||
<p>Panics if the divisor is zero.</p>
|
||
<h5 id="examples-229"><a class="doc-anchor" href="#examples-229">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U28, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U28>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">7.5</span>).saturating_rem_euclid_int(<span class="number">2</span>), Fix::from_num(<span class="number">1.5</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">7.5</span>).saturating_rem_euclid_int(<span class="number">2</span>), Fix::from_num(<span class="number">0.5</span>));
|
||
<span class="comment">// -8 ≤ Fix < 8, so the answer 12.5 saturates
|
||
</span><span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">7.5</span>).saturating_rem_euclid_int(<span class="number">20</span>), Fix::MAX);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_sqrt" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.saturating_sqrt" class="fn">saturating_sqrt</a>(self) -> Self</h4></section></summary><div class="docblock"><p>Returns the square root, saturating on overflow.</p>
|
||
<p>This method uses an iterative method, with up to 32 iterations for
|
||
<a href="struct.FixedI32.html" title="struct fixed::FixedI32"><code>FixedI32</code></a>. The result is rounded down, and the error is
|
||
< <a href="struct.FixedI32.html#associatedconstant.DELTA" title="associated constant fixed::FixedI32::DELTA"><code>DELTA</code></a>. That is,
|
||
result ≤ √<code>self</code> < result + <code>DELTA</code>.</p>
|
||
<p>Overflow can only occur when there are no integer bits and
|
||
the representable range is −0.5 ≤ <i>x</i> < 0.5.
|
||
In this case, the method returns <a href="struct.FixedI32.html#associatedconstant.MAX" title="associated constant fixed::FixedI32::MAX"><code>MAX</code></a> for an input value ≥ 0.25.</p>
|
||
<h5 id="panics-75"><a class="doc-anchor" href="#panics-75">§</a>Panics</h5>
|
||
<p>Panics if the number is negative.</p>
|
||
<h5 id="examples-230"><a class="doc-anchor" href="#examples-230">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::types::extra::{U4, U32};
|
||
<span class="kw">use </span>fixed::FixedI32;
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">2</span>).saturating_sqrt(), Fix::SQRT_2);
|
||
|
||
<span class="kw">type </span>AllFrac = FixedI32<U32>;
|
||
<span class="macro">assert_eq!</span>(AllFrac::from_num(<span class="number">0.25</span>).saturating_sqrt(), AllFrac::MAX);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_lerp" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.saturating_lerp" class="fn">saturating_lerp</a><RangeFrac>(
|
||
self,
|
||
start: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><RangeFrac>,
|
||
end: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><RangeFrac>,
|
||
) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><RangeFrac></h4></section></summary><div class="docblock"><p>Linear interpolation between <code>start</code> and <code>end</code>, saturating on
|
||
overflow.</p>
|
||
<p>The interpolated value is
|
||
<code>start</code> + <code>self</code> × (<code>end</code> − <code>start</code>). This
|
||
is <code>start</code> when <code>self</code> = 0, <code>end</code> when <code>self</code> = 1, and
|
||
linear interpolation for all other values of <code>self</code>. Linear extrapolation is
|
||
performed if <code>self</code> is not in the range 0 ≤ <i>x</i> ≤ 1.</p>
|
||
<h5 id="examples-231"><a class="doc-anchor" href="#examples-231">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">0.5</span>).saturating_lerp(Fix::ZERO, Fix::MAX), Fix::MAX / <span class="number">2</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">1.5</span>).saturating_lerp(Fix::ZERO, Fix::MAX), Fix::MAX);
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">2.0</span>).saturating_lerp(Fix::ZERO, Fix::MAX), Fix::MIN);
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">3.0</span>).saturating_lerp(Fix::MAX, Fix::ZERO), Fix::MIN);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_signum" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.wrapping_signum" class="fn">wrapping_signum</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Wrapping signum. Returns a number representing
|
||
the sign of <code>self</code>, wrapping on overflow.</p>
|
||
<p>Overflow can only occur</p>
|
||
<ul>
|
||
<li>if the value is positive and the fixed-point number has zero
|
||
or one integer bits such that it cannot hold the value 1.</li>
|
||
<li>if the value is negative and the fixed-point number has zero
|
||
integer bits, such that it cannot hold the value −1.</li>
|
||
</ul>
|
||
<h5 id="examples-232"><a class="doc-anchor" href="#examples-232">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{
|
||
types::extra::{U4, U31, U32},
|
||
FixedI32,
|
||
};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">5</span>).wrapping_signum(), <span class="number">1</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::ZERO.wrapping_signum(), <span class="number">0</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">5</span>).wrapping_signum(), -<span class="number">1</span>);
|
||
|
||
<span class="kw">type </span>OneIntBit = FixedI32<U31>;
|
||
<span class="kw">type </span>ZeroIntBits = FixedI32<U32>;
|
||
<span class="macro">assert_eq!</span>(OneIntBit::from_num(<span class="number">0.5</span>).wrapping_signum(), -<span class="number">1</span>);
|
||
<span class="macro">assert_eq!</span>(ZeroIntBits::from_num(<span class="number">0.25</span>).wrapping_signum(), <span class="number">0</span>);
|
||
<span class="macro">assert_eq!</span>(ZeroIntBits::from_num(-<span class="number">0.5</span>).wrapping_signum(), <span class="number">0</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_mul" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.wrapping_mul" class="fn">wrapping_mul</a>(self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Wrapping multiplication. Returns the product, wrapping on overflow.</p>
|
||
<h5 id="examples-233"><a class="doc-anchor" href="#examples-233">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">3</span>).wrapping_mul(Fix::from_num(<span class="number">2</span>)), Fix::from_num(<span class="number">6</span>));
|
||
<span class="kw">let </span>wrapped = Fix::from_bits(!<span class="number">0 </span><< <span class="number">2</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::MAX.wrapping_mul(Fix::from_num(<span class="number">4</span>)), wrapped);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_div" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.wrapping_div" class="fn">wrapping_div</a>(self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Wrapping division. Returns the quotient, wrapping on overflow.</p>
|
||
<h5 id="panics-76"><a class="doc-anchor" href="#panics-76">§</a>Panics</h5>
|
||
<p>Panics if the divisor is zero.</p>
|
||
<h5 id="examples-234"><a class="doc-anchor" href="#examples-234">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>one_point_5 = Fix::from_bits(<span class="number">0b11 </span><< (<span class="number">4 </span>- <span class="number">1</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">3</span>).wrapping_div(Fix::from_num(<span class="number">2</span>)), one_point_5);
|
||
<span class="kw">let </span>quarter = Fix::ONE / <span class="number">4</span>;
|
||
<span class="kw">let </span>wrapped = Fix::from_bits(!<span class="number">0 </span><< <span class="number">2</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::MAX.wrapping_div(quarter), wrapped);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_recip" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.wrapping_recip" class="fn">wrapping_recip</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Wrapping reciprocal. Returns the reciprocal,
|
||
wrapping on overflow.</p>
|
||
<h5 id="panics-77"><a class="doc-anchor" href="#panics-77">§</a>Panics</h5>
|
||
<p>Panics if the fixed-point number is zero.</p>
|
||
<h5 id="examples-235"><a class="doc-anchor" href="#examples-235">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U31, FixedI32};
|
||
<span class="comment">// only one integer bit
|
||
</span><span class="kw">type </span>Fix = FixedI32<U31>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">0.25</span>).wrapping_recip(), Fix::ZERO);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_div_euclid" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.wrapping_div_euclid" class="fn">wrapping_div_euclid</a>(self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Wrapping Euclidean division. Returns the quotient, wrapping on overflow.</p>
|
||
<h5 id="panics-78"><a class="doc-anchor" href="#panics-78">§</a>Panics</h5>
|
||
<p>Panics if the divisor is zero.</p>
|
||
<h5 id="examples-236"><a class="doc-anchor" href="#examples-236">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">7.5</span>).wrapping_div_euclid(Fix::from_num(<span class="number">2</span>)), Fix::from_num(<span class="number">3</span>));
|
||
<span class="kw">let </span>wrapped = Fix::MAX.wrapping_mul_int(<span class="number">4</span>).round_to_zero();
|
||
<span class="macro">assert_eq!</span>(Fix::MAX.wrapping_div_euclid(Fix::from_num(<span class="number">0.25</span>)), wrapped);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_div_euclid_int" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.wrapping_div_euclid_int" class="fn">wrapping_div_euclid_int</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Wrapping Euclidean division by an integer. Returns the quotient, wrapping on overflow.</p>
|
||
<p>Overflow can only occur when dividing the minimum value by −1.</p>
|
||
<h5 id="panics-79"><a class="doc-anchor" href="#panics-79">§</a>Panics</h5>
|
||
<p>Panics if the divisor is zero.</p>
|
||
<h5 id="examples-237"><a class="doc-anchor" href="#examples-237">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">7.5</span>).wrapping_div_euclid_int(<span class="number">2</span>), Fix::from_num(<span class="number">3</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">7.5</span>).wrapping_div_euclid_int(<span class="number">2</span>), Fix::from_num(-<span class="number">4</span>));
|
||
<span class="kw">let </span>wrapped = Fix::MIN.round_to_zero();
|
||
<span class="macro">assert_eq!</span>(Fix::MIN.wrapping_div_euclid_int(-<span class="number">1</span>), wrapped);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_add_prod" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.wrapping_add_prod" class="fn">wrapping_add_prod</a><AFrac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, BFrac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>>(
|
||
self,
|
||
a: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><AFrac>,
|
||
b: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><BFrac>,
|
||
) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Adds <code>self</code> to the product <code>a</code> × <code>b</code>, wrapping on overflow.</p>
|
||
<p>The <code>a</code> and <code>b</code> parameters can have a fixed-point type like <code>self</code> but with a
|
||
different number of fractional bits.</p>
|
||
<h5 id="examples-238"><a class="doc-anchor" href="#examples-238">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(
|
||
Fix::from_num(<span class="number">3</span>).wrapping_add_prod(Fix::from_num(<span class="number">4</span>), Fix::from_num(<span class="number">0.5</span>)),
|
||
<span class="number">5
|
||
</span>);
|
||
<span class="macro">assert_eq!</span>(
|
||
Fix::MAX.wrapping_add_prod(Fix::MAX, Fix::from_num(<span class="number">3</span>)),
|
||
Fix::MAX.wrapping_mul_int(<span class="number">4</span>)
|
||
);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_mul_acc" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub fn <a href="#method.wrapping_mul_acc" class="fn">wrapping_mul_acc</a><AFrac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, BFrac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>>(
|
||
&mut self,
|
||
a: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><AFrac>,
|
||
b: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><BFrac>,
|
||
)</h4></section></summary><div class="docblock"><p>Wrapping multiply and accumulate. Adds (<code>a</code> × <code>b</code>) to <code>self</code>,
|
||
wrapping on overflow.</p>
|
||
<p>The <code>a</code> and <code>b</code> parameters can have a fixed-point type like
|
||
<code>self</code> but with a different number of fractional bits.</p>
|
||
<h5 id="examples-239"><a class="doc-anchor" href="#examples-239">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span><span class="kw-2">mut </span>acc = Fix::from_num(<span class="number">3</span>);
|
||
acc.wrapping_mul_acc(Fix::from_num(<span class="number">4</span>), Fix::from_num(<span class="number">0.5</span>));
|
||
<span class="macro">assert_eq!</span>(acc, <span class="number">5</span>);
|
||
|
||
acc = Fix::MAX;
|
||
acc.wrapping_mul_acc(Fix::MAX, Fix::from_num(<span class="number">3</span>));
|
||
<span class="macro">assert_eq!</span>(acc, Fix::MAX.wrapping_mul_int(<span class="number">4</span>));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_rem_euclid_int" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.wrapping_rem_euclid_int" class="fn">wrapping_rem_euclid_int</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Wrapping remainder for Euclidean division by an integer. Returns the remainder, wrapping on overflow.</p>
|
||
<p>Note that while remainder for Euclidean division cannot be negative,
|
||
the wrapped value can be negative.</p>
|
||
<h5 id="panics-80"><a class="doc-anchor" href="#panics-80">§</a>Panics</h5>
|
||
<p>Panics if the divisor is zero.</p>
|
||
<h5 id="examples-240"><a class="doc-anchor" href="#examples-240">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U28, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U28>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">7.5</span>).wrapping_rem_euclid_int(<span class="number">2</span>), Fix::from_num(<span class="number">1.5</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">7.5</span>).wrapping_rem_euclid_int(<span class="number">2</span>), Fix::from_num(<span class="number">0.5</span>));
|
||
<span class="comment">// -8 ≤ Fix < 8, so the answer 12.5 wraps to -3.5
|
||
</span><span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">7.5</span>).wrapping_rem_euclid_int(<span class="number">20</span>), Fix::from_num(-<span class="number">3.5</span>));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_sqrt" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.wrapping_sqrt" class="fn">wrapping_sqrt</a>(self) -> Self</h4></section></summary><div class="docblock"><p>Returns the square root, wrapping on overflow.</p>
|
||
<p>This method uses an iterative method, with up to 32 iterations for
|
||
<a href="struct.FixedI32.html" title="struct fixed::FixedI32"><code>FixedI32</code></a>. The result is rounded down, and the error is
|
||
< <a href="struct.FixedI32.html#associatedconstant.DELTA" title="associated constant fixed::FixedI32::DELTA"><code>DELTA</code></a>. That is,
|
||
result ≤ √<code>self</code> < result + <code>DELTA</code>.</p>
|
||
<p>Overflow can only occur when there are no integer bits and
|
||
the representable range is −0.5 ≤ <i>x</i> < 0.5.
|
||
In this case, the method returns the wrapped answer for an input value ≥ 0.25.</p>
|
||
<h5 id="panics-81"><a class="doc-anchor" href="#panics-81">§</a>Panics</h5>
|
||
<p>Panics if the number is negative.</p>
|
||
<h5 id="examples-241"><a class="doc-anchor" href="#examples-241">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::types::extra::{U4, U32};
|
||
<span class="kw">use </span>fixed::FixedI32;
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">2</span>).wrapping_sqrt(), Fix::SQRT_2);
|
||
|
||
<span class="kw">type </span>AllFrac = FixedI32<U32>;
|
||
<span class="macro">assert_eq!</span>(AllFrac::from_num(<span class="number">0.25</span>).wrapping_sqrt(), AllFrac::from_num(-<span class="number">0.5</span>));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_lerp" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.wrapping_lerp" class="fn">wrapping_lerp</a><RangeFrac>(
|
||
self,
|
||
start: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><RangeFrac>,
|
||
end: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><RangeFrac>,
|
||
) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><RangeFrac></h4></section></summary><div class="docblock"><p>Linear interpolation between <code>start</code> and <code>end</code>, wrapping on
|
||
overflow.</p>
|
||
<p>The interpolated value is
|
||
<code>start</code> + <code>self</code> × (<code>end</code> − <code>start</code>). This
|
||
is <code>start</code> when <code>self</code> = 0, <code>end</code> when <code>self</code> = 1, and
|
||
linear interpolation for all other values of <code>self</code>. Linear extrapolation is
|
||
performed if <code>self</code> is not in the range 0 ≤ <i>x</i> ≤ 1.</p>
|
||
<h5 id="examples-242"><a class="doc-anchor" href="#examples-242">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">0.5</span>).wrapping_lerp(Fix::ZERO, Fix::MAX), Fix::MAX / <span class="number">2</span>);
|
||
<span class="macro">assert_eq!</span>(
|
||
Fix::from_num(<span class="number">1.5</span>).wrapping_lerp(Fix::ZERO, Fix::MAX),
|
||
Fix::MAX.wrapping_add(Fix::MAX / <span class="number">2</span>)
|
||
);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_signum" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.unwrapped_signum" class="fn">unwrapped_signum</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Unwrapped signum. Returns a number representing
|
||
the sign of <code>self</code>, panicking on overflow.</p>
|
||
<p>Overflow can only occur</p>
|
||
<ul>
|
||
<li>if the value is positive and the fixed-point number has zero
|
||
or one integer bits such that it cannot hold the value 1.</li>
|
||
<li>if the value is negative and the fixed-point number has zero
|
||
integer bits, such that it cannot hold the value −1.</li>
|
||
</ul>
|
||
<h5 id="panics-82"><a class="doc-anchor" href="#panics-82">§</a>Panics</h5>
|
||
<p>Panics if the result does not fit.</p>
|
||
<h5 id="examples-243"><a class="doc-anchor" href="#examples-243">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">5</span>).unwrapped_signum(), <span class="number">1</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::ZERO.unwrapped_signum(), <span class="number">0</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">5</span>).unwrapped_signum(), -<span class="number">1</span>);</code></pre></div>
|
||
<p>The following panics because of overflow.</p>
|
||
|
||
<div class="example-wrap should_panic"><a href="#" class="tooltip" title="This example panics">ⓘ</a><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U31, FixedI32};
|
||
<span class="kw">type </span>OneIntBit = FixedI32<U31>;
|
||
<span class="kw">let </span>_overflow = OneIntBit::from_num(<span class="number">0.5</span>).unwrapped_signum();</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_mul" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.unwrapped_mul" class="fn">unwrapped_mul</a>(self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Unwrapped multiplication. Returns the product, panicking on overflow.</p>
|
||
<h5 id="panics-83"><a class="doc-anchor" href="#panics-83">§</a>Panics</h5>
|
||
<p>Panics if the result does not fit.</p>
|
||
<h5 id="examples-244"><a class="doc-anchor" href="#examples-244">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">3</span>).unwrapped_mul(Fix::from_num(<span class="number">2</span>)), Fix::from_num(<span class="number">6</span>));</code></pre></div>
|
||
<p>The following panics because of overflow.</p>
|
||
|
||
<div class="example-wrap should_panic"><a href="#" class="tooltip" title="This example panics">ⓘ</a><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>_overflow = Fix::MAX.unwrapped_mul(Fix::from_num(<span class="number">4</span>));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_div" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.unwrapped_div" class="fn">unwrapped_div</a>(self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Unwrapped division. Returns the quotient, panicking on overflow.</p>
|
||
<h5 id="panics-84"><a class="doc-anchor" href="#panics-84">§</a>Panics</h5>
|
||
<p>Panics if the divisor is zero or if the division results in overflow.</p>
|
||
<h5 id="examples-245"><a class="doc-anchor" href="#examples-245">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>one_point_5 = Fix::from_bits(<span class="number">0b11 </span><< (<span class="number">4 </span>- <span class="number">1</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">3</span>).unwrapped_div(Fix::from_num(<span class="number">2</span>)), one_point_5);</code></pre></div>
|
||
<p>The following panics because of overflow.</p>
|
||
|
||
<div class="example-wrap should_panic"><a href="#" class="tooltip" title="This example panics">ⓘ</a><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>quarter = Fix::ONE / <span class="number">4</span>;
|
||
<span class="kw">let </span>_overflow = Fix::MAX.unwrapped_div(quarter);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_recip" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.unwrapped_recip" class="fn">unwrapped_recip</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Unwrapped reciprocal. Returns the reciprocal,
|
||
panicking on overflow.</p>
|
||
<h5 id="panics-85"><a class="doc-anchor" href="#panics-85">§</a>Panics</h5>
|
||
<p>Panics if the fixed-point number is zero or on overflow.</p>
|
||
<h5 id="examples-246"><a class="doc-anchor" href="#examples-246">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">0.25</span>).unwrapped_recip(), Fix::from_num(<span class="number">4</span>));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_div_euclid" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.unwrapped_div_euclid" class="fn">unwrapped_div_euclid</a>(self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Unwrapped Euclidean division. Returns the quotient, panicking on overflow.</p>
|
||
<h5 id="panics-86"><a class="doc-anchor" href="#panics-86">§</a>Panics</h5>
|
||
<p>Panics if the divisor is zero or if the division results in overflow.</p>
|
||
<h5 id="examples-247"><a class="doc-anchor" href="#examples-247">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">7.5</span>).unwrapped_div_euclid(Fix::from_num(<span class="number">2</span>)), Fix::from_num(<span class="number">3</span>));</code></pre></div>
|
||
<p>The following panics because of overflow.</p>
|
||
|
||
<div class="example-wrap should_panic"><a href="#" class="tooltip" title="This example panics">ⓘ</a><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>_overflow = Fix::MAX.unwrapped_div_euclid(Fix::from_num(<span class="number">0.25</span>));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_add_prod" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.unwrapped_add_prod" class="fn">unwrapped_add_prod</a><AFrac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, BFrac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>>(
|
||
self,
|
||
a: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><AFrac>,
|
||
b: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><BFrac>,
|
||
) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Adds <code>self</code> to the product <code>a</code> × <code>b</code>, panicking on overflow.</p>
|
||
<p>For some cases, the product <code>a</code> × <code>b</code> would
|
||
overflow on its own, but the final result <code>self</code> + <code>a</code> × <code>b</code>
|
||
is representable; in these cases this method returns the correct result without
|
||
overflow.</p>
|
||
<p>The <code>a</code> and <code>b</code> parameters can have a fixed-point type like
|
||
<code>self</code> but with a different number of fractional bits.</p>
|
||
<h5 id="panics-87"><a class="doc-anchor" href="#panics-87">§</a>Panics</h5>
|
||
<p>Panics if the result does not fit.</p>
|
||
<h5 id="examples-248"><a class="doc-anchor" href="#examples-248">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(
|
||
Fix::from_num(<span class="number">3</span>).unwrapped_add_prod(Fix::from_num(<span class="number">4</span>), Fix::from_num(<span class="number">0.5</span>)),
|
||
<span class="number">5
|
||
</span>);
|
||
<span class="comment">// -MAX + MAX × 1.5 = MAX / 2, which does not overflow
|
||
</span><span class="macro">assert_eq!</span>(
|
||
(-Fix::MAX).unwrapped_add_prod(Fix::MAX, Fix::from_num(<span class="number">1.5</span>)),
|
||
Fix::MAX / <span class="number">2
|
||
</span>);</code></pre></div>
|
||
<p>The following panics because of overflow.</p>
|
||
|
||
<div class="example-wrap should_panic"><a href="#" class="tooltip" title="This example panics">ⓘ</a><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>_overflow = Fix::DELTA.unwrapped_add_prod(Fix::MAX, Fix::ONE);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_mul_acc" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub fn <a href="#method.unwrapped_mul_acc" class="fn">unwrapped_mul_acc</a><AFrac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, BFrac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>>(
|
||
&mut self,
|
||
a: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><AFrac>,
|
||
b: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><BFrac>,
|
||
)</h4></section></summary><div class="docblock"><p>Unwrapped multiply and accumulate. Adds (<code>a</code> × <code>b</code>) to <code>self</code>,
|
||
panicking on overflow.</p>
|
||
<p>For some cases, the product <code>a</code> × <code>b</code> would overflow on its
|
||
own, but the final result <code>self</code> + <code>a</code> × <code>b</code> is representable; in these cases
|
||
this method saves the correct result without overflow.</p>
|
||
<p>The <code>a</code> and <code>b</code> parameters can have a fixed-point type like
|
||
<code>self</code> but with a different number of fractional bits.</p>
|
||
<h5 id="panics-88"><a class="doc-anchor" href="#panics-88">§</a>Panics</h5>
|
||
<p>Panics if the result does not fit.</p>
|
||
<h5 id="examples-249"><a class="doc-anchor" href="#examples-249">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span><span class="kw-2">mut </span>acc = Fix::from_num(<span class="number">3</span>);
|
||
acc.unwrapped_mul_acc(Fix::from_num(<span class="number">4</span>), Fix::from_num(<span class="number">0.5</span>));
|
||
<span class="macro">assert_eq!</span>(acc, <span class="number">5</span>);
|
||
|
||
<span class="comment">// MAX × 1.5 - MAX = MAX / 2, which does not overflow
|
||
</span>acc = -Fix::MAX;
|
||
acc.unwrapped_mul_acc(Fix::MAX, Fix::from_num(<span class="number">1.5</span>));
|
||
<span class="macro">assert_eq!</span>(acc, Fix::MAX / <span class="number">2</span>);</code></pre></div>
|
||
<p>The following panics because of overflow.</p>
|
||
|
||
<div class="example-wrap should_panic"><a href="#" class="tooltip" title="This example panics">ⓘ</a><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span><span class="kw-2">mut </span>acc = Fix::DELTA;
|
||
acc.unwrapped_mul_acc(Fix::MAX, Fix::ONE);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_rem_int" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.unwrapped_rem_int" class="fn">unwrapped_rem_int</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Unwrapped fixed-point remainder for division by an integer.
|
||
Returns the remainder, panicking if the divisor is zero.</p>
|
||
<h5 id="panics-89"><a class="doc-anchor" href="#panics-89">§</a>Panics</h5>
|
||
<p>Panics if the divisor is zero.</p>
|
||
<h5 id="examples-250"><a class="doc-anchor" href="#examples-250">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">3.75</span>).unwrapped_rem_int(<span class="number">2</span>), Fix::from_num(<span class="number">1.75</span>));</code></pre></div>
|
||
<p>The following panics because the divisor is zero.</p>
|
||
|
||
<div class="example-wrap should_panic"><a href="#" class="tooltip" title="This example panics">ⓘ</a><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>_divisor_is_zero = Fix::from_num(<span class="number">3.75</span>).unwrapped_rem_int(<span class="number">0</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_div_euclid_int" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.unwrapped_div_euclid_int" class="fn">unwrapped_div_euclid_int</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Unwrapped Euclidean division by an integer. Returns the quotient, panicking on overflow.</p>
|
||
<p>Overflow can only occur when dividing the minimum value by −1.</p>
|
||
<h5 id="panics-90"><a class="doc-anchor" href="#panics-90">§</a>Panics</h5>
|
||
<p>Panics if the divisor is zero or if the division results in overflow.</p>
|
||
<h5 id="examples-251"><a class="doc-anchor" href="#examples-251">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">7.5</span>).unwrapped_div_euclid_int(<span class="number">2</span>), Fix::from_num(<span class="number">3</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">7.5</span>).unwrapped_div_euclid_int(<span class="number">2</span>), Fix::from_num(-<span class="number">4</span>));</code></pre></div>
|
||
<p>The following panics because of overflow.</p>
|
||
|
||
<div class="example-wrap should_panic"><a href="#" class="tooltip" title="This example panics">ⓘ</a><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>_overflow = Fix::MIN.unwrapped_div_euclid_int(-<span class="number">1</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_rem_euclid_int" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.unwrapped_rem_euclid_int" class="fn">unwrapped_rem_euclid_int</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class="docblock"><p>Unwrapped remainder for Euclidean division by an integer. Returns the remainder, panicking on overflow.</p>
|
||
<p>Note that while remainder for Euclidean division cannot be negative,
|
||
the wrapped value can be negative.</p>
|
||
<h5 id="panics-91"><a class="doc-anchor" href="#panics-91">§</a>Panics</h5>
|
||
<p>Panics if the divisor is zero or if the division results in overflow.</p>
|
||
<h5 id="examples-252"><a class="doc-anchor" href="#examples-252">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U28, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U28>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">7.5</span>).unwrapped_rem_euclid_int(<span class="number">2</span>), Fix::from_num(<span class="number">1.5</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">7.5</span>).unwrapped_rem_euclid_int(<span class="number">2</span>), Fix::from_num(<span class="number">0.5</span>));</code></pre></div>
|
||
<p>The following panics because of overflow.</p>
|
||
|
||
<div class="example-wrap should_panic"><a href="#" class="tooltip" title="This example panics">ⓘ</a><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U28, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U28>;
|
||
<span class="comment">// -8 ≤ Fix < 8, so the answer 12.5 overflows
|
||
</span><span class="kw">let </span>_overflow = Fix::from_num(-<span class="number">7.5</span>).unwrapped_rem_euclid_int(<span class="number">20</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_sqrt" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.unwrapped_sqrt" class="fn">unwrapped_sqrt</a>(self) -> Self</h4></section></summary><div class="docblock"><p>Returns the square root, panicking for negative numbers and on overflow.</p>
|
||
<p>This method uses an iterative method, with up to 32 iterations for
|
||
<a href="struct.FixedI32.html" title="struct fixed::FixedI32"><code>FixedI32</code></a>. The result is rounded down, and the error is
|
||
< <a href="struct.FixedI32.html#associatedconstant.DELTA" title="associated constant fixed::FixedI32::DELTA"><code>DELTA</code></a>. That is,
|
||
result ≤ √<code>self</code> < result + <code>DELTA</code>.</p>
|
||
<p>Overflow can only occur when there are no integer bits and
|
||
the representable range is −0.5 ≤ <i>x</i> < 0.5.
|
||
In this case, the method panics for an input value ≥ 0.25.</p>
|
||
<h5 id="panics-92"><a class="doc-anchor" href="#panics-92">§</a>Panics</h5>
|
||
<p>Panics if the number is negative and on overflow.</p>
|
||
<h5 id="examples-253"><a class="doc-anchor" href="#examples-253">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">2</span>).unwrapped_sqrt(), Fix::SQRT_2);</code></pre></div>
|
||
<p>The following panics because the input value is negative.</p>
|
||
|
||
<div class="example-wrap should_panic"><a href="#" class="tooltip" title="This example panics">ⓘ</a><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>_sqrt_neg = Fix::from_num(-<span class="number">1</span>).unwrapped_sqrt();</code></pre></div>
|
||
<p>The following panics because of overflow.</p>
|
||
|
||
<div class="example-wrap should_panic"><a href="#" class="tooltip" title="This example panics">ⓘ</a><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U32, FixedI32};
|
||
<span class="kw">type </span>AllFrac = FixedI32<U32>;
|
||
<span class="kw">let </span>_overflow = AllFrac::from_num(<span class="number">0.25</span>).unwrapped_sqrt();</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_lerp" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.unwrapped_lerp" class="fn">unwrapped_lerp</a><RangeFrac>(
|
||
self,
|
||
start: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><RangeFrac>,
|
||
end: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><RangeFrac>,
|
||
) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><RangeFrac></h4></section></summary><div class="docblock"><p>Linear interpolation between <code>start</code> and <code>end</code>, panicking on
|
||
overflow.</p>
|
||
<p>The interpolated value is
|
||
<code>start</code> + <code>self</code> × (<code>end</code> − <code>start</code>). This
|
||
is <code>start</code> when <code>self</code> = 0, <code>end</code> when <code>self</code> = 1, and
|
||
linear interpolation for all other values of <code>self</code>. Linear extrapolation is
|
||
performed if <code>self</code> is not in the range 0 ≤ <i>x</i> ≤ 1.</p>
|
||
<h5 id="panics-93"><a class="doc-anchor" href="#panics-93">§</a>Panics</h5>
|
||
<p>Panics if the result overflows.</p>
|
||
<h5 id="examples-254"><a class="doc-anchor" href="#examples-254">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">0.5</span>).unwrapped_lerp(Fix::ZERO, Fix::MAX), Fix::MAX / <span class="number">2</span>);</code></pre></div>
|
||
<p>The following panics because of overflow.</p>
|
||
|
||
<div class="example-wrap should_panic"><a href="#" class="tooltip" title="This example panics">ⓘ</a><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>_overflow = Fix::from_num(<span class="number">1.5</span>).unwrapped_lerp(Fix::ZERO, Fix::MAX);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_signum" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.overflowing_signum" class="fn">overflowing_signum</a>(self) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class="docblock"><p>Overflowing signum.</p>
|
||
<p>Returns a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.tuple.html" title="primitive tuple">tuple</a> of the signum and a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html" title="primitive bool"><code>bool</code></a> indicating whether an
|
||
overflow has occurred. On overflow, the wrapped value is returned.</p>
|
||
<p>Overflow can only occur</p>
|
||
<ul>
|
||
<li>if the value is positive and the fixed-point number has zero
|
||
or one integer bits such that it cannot hold the value 1.</li>
|
||
<li>if the value is negative and the fixed-point number has zero
|
||
integer bits, such that it cannot hold the value −1.</li>
|
||
</ul>
|
||
<h5 id="examples-255"><a class="doc-anchor" href="#examples-255">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{
|
||
types::extra::{U4, U31, U32},
|
||
FixedI32,
|
||
};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">5</span>).overflowing_signum(), (Fix::ONE, <span class="bool-val">false</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::ZERO.overflowing_signum(), (Fix::ZERO, <span class="bool-val">false</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">5</span>).overflowing_signum(), (Fix::NEG_ONE, <span class="bool-val">false</span>));
|
||
|
||
<span class="kw">type </span>OneIntBit = FixedI32<U31>;
|
||
<span class="kw">type </span>ZeroIntBits = FixedI32<U32>;
|
||
<span class="macro">assert_eq!</span>(OneIntBit::from_num(<span class="number">0.5</span>).overflowing_signum(), (OneIntBit::NEG_ONE, <span class="bool-val">true</span>));
|
||
<span class="macro">assert_eq!</span>(ZeroIntBits::from_num(<span class="number">0.25</span>).overflowing_signum(), (ZeroIntBits::ZERO, <span class="bool-val">true</span>));
|
||
<span class="macro">assert_eq!</span>(ZeroIntBits::from_num(-<span class="number">0.5</span>).overflowing_signum(), (ZeroIntBits::ZERO, <span class="bool-val">true</span>));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_mul" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.overflowing_mul" class="fn">overflowing_mul</a>(
|
||
self,
|
||
rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>,
|
||
) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class="docblock"><p>Overflowing multiplication.</p>
|
||
<p>Returns a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.tuple.html" title="primitive tuple">tuple</a> of the product and a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html" title="primitive bool"><code>bool</code></a> indicating whether an
|
||
overflow has occurred. On overflow, the wrapped value is returned.</p>
|
||
<h5 id="examples-256"><a class="doc-anchor" href="#examples-256">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">3</span>).overflowing_mul(Fix::from_num(<span class="number">2</span>)), (Fix::from_num(<span class="number">6</span>), <span class="bool-val">false</span>));
|
||
<span class="kw">let </span>wrapped = Fix::from_bits(!<span class="number">0 </span><< <span class="number">2</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::MAX.overflowing_mul(Fix::from_num(<span class="number">4</span>)), (wrapped, <span class="bool-val">true</span>));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_div" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.overflowing_div" class="fn">overflowing_div</a>(
|
||
self,
|
||
rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>,
|
||
) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class="docblock"><p>Overflowing division.</p>
|
||
<p>Returns a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.tuple.html" title="primitive tuple">tuple</a> of the quotient and a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html" title="primitive bool"><code>bool</code></a> indicating whether an
|
||
overflow has occurred. On overflow, the wrapped value is returned.</p>
|
||
<h5 id="panics-94"><a class="doc-anchor" href="#panics-94">§</a>Panics</h5>
|
||
<p>Panics if the divisor is zero.</p>
|
||
<h5 id="examples-257"><a class="doc-anchor" href="#examples-257">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>one_point_5 = Fix::from_bits(<span class="number">0b11 </span><< (<span class="number">4 </span>- <span class="number">1</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">3</span>).overflowing_div(Fix::from_num(<span class="number">2</span>)), (one_point_5, <span class="bool-val">false</span>));
|
||
<span class="kw">let </span>quarter = Fix::ONE / <span class="number">4</span>;
|
||
<span class="kw">let </span>wrapped = Fix::from_bits(!<span class="number">0 </span><< <span class="number">2</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::MAX.overflowing_div(quarter), (wrapped, <span class="bool-val">true</span>));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_recip" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.overflowing_recip" class="fn">overflowing_recip</a>(self) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class="docblock"><p>Overflowing reciprocal.</p>
|
||
<p>Returns a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.tuple.html" title="primitive tuple">tuple</a> of the reciprocal and a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html" title="primitive bool"><code>bool</code></a> indicating whether
|
||
an overflow has occurred. On overflow, the wrapped value is returned.</p>
|
||
<h5 id="panics-95"><a class="doc-anchor" href="#panics-95">§</a>Panics</h5>
|
||
<p>Panics if the fixed-point number is zero.</p>
|
||
<h5 id="examples-258"><a class="doc-anchor" href="#examples-258">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{
|
||
types::extra::{U4, U31},
|
||
FixedI32,
|
||
};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="comment">// only one integer bit
|
||
</span><span class="kw">type </span>Small = FixedI32<U31>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">0.25</span>).overflowing_recip(), (Fix::from_num(<span class="number">4</span>), <span class="bool-val">false</span>));
|
||
<span class="macro">assert_eq!</span>(Small::from_num(<span class="number">0.25</span>).overflowing_recip(), (Small::ZERO, <span class="bool-val">true</span>));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_div_euclid" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.overflowing_div_euclid" class="fn">overflowing_div_euclid</a>(
|
||
self,
|
||
rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>,
|
||
) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class="docblock"><p>Overflowing Euclidean division.</p>
|
||
<p>Returns a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.tuple.html" title="primitive tuple">tuple</a> of the quotient and a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html" title="primitive bool"><code>bool</code></a> indicating whether an
|
||
overflow has occurred. On overflow, the wrapped value is returned.</p>
|
||
<h5 id="panics-96"><a class="doc-anchor" href="#panics-96">§</a>Panics</h5>
|
||
<p>Panics if the divisor is zero.</p>
|
||
<h5 id="examples-259"><a class="doc-anchor" href="#examples-259">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span>check = Fix::from_num(<span class="number">3</span>);
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">7.5</span>).overflowing_div_euclid(Fix::from_num(<span class="number">2</span>)), (check, <span class="bool-val">false</span>));
|
||
<span class="kw">let </span>wrapped = Fix::MAX.wrapping_mul_int(<span class="number">4</span>).round_to_zero();
|
||
<span class="macro">assert_eq!</span>(Fix::MAX.overflowing_div_euclid(Fix::from_num(<span class="number">0.25</span>)), (wrapped, <span class="bool-val">true</span>));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_div_euclid_int" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.overflowing_div_euclid_int" class="fn">overflowing_div_euclid_int</a>(
|
||
self,
|
||
rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>,
|
||
) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class="docblock"><p>Overflowing Euclidean division by an integer.</p>
|
||
<p>Returns a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.tuple.html" title="primitive tuple">tuple</a> of the quotient and a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html" title="primitive bool"><code>bool</code></a> indicating whether an overflow has
|
||
occurred. On overflow, the wrapped value is returned. Overflow can
|
||
only occur when dividing the minimum value by −1.</p>
|
||
<h5 id="panics-97"><a class="doc-anchor" href="#panics-97">§</a>Panics</h5>
|
||
<p>Panics if the divisor is zero.</p>
|
||
<h5 id="examples-260"><a class="doc-anchor" href="#examples-260">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">7.5</span>).overflowing_div_euclid_int(<span class="number">2</span>), (Fix::from_num(<span class="number">3</span>), <span class="bool-val">false</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">7.5</span>).overflowing_div_euclid_int(<span class="number">2</span>), (Fix::from_num(-<span class="number">4</span>), <span class="bool-val">false</span>));
|
||
<span class="kw">let </span>wrapped = Fix::MIN.round_to_zero();
|
||
<span class="macro">assert_eq!</span>(Fix::MIN.overflowing_div_euclid_int(-<span class="number">1</span>), (wrapped, <span class="bool-val">true</span>));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_add_prod" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.overflowing_add_prod" class="fn">overflowing_add_prod</a><AFrac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, BFrac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>>(
|
||
self,
|
||
a: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><AFrac>,
|
||
b: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><BFrac>,
|
||
) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class="docblock"><p>Adds <code>self</code> to the product <code>a</code> × <code>b</code>.</p>
|
||
<p>Returns a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.tuple.html" title="primitive tuple">tuple</a> of the result and a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html" title="primitive bool"><code>bool</code></a> indicating whether an overflow
|
||
has occurred. On overflow, the wrapped value is returned.</p>
|
||
<p>For some cases, the product <code>a</code> × <code>b</code> would
|
||
overflow on its own, but the final result <code>self</code> + <code>a</code> × <code>b</code>
|
||
is representable; in these cases this method returns the correct result without
|
||
overflow.</p>
|
||
<p>The <code>a</code> and <code>b</code> parameters can have a fixed-point type like
|
||
<code>self</code> but with a different number of fractional bits.</p>
|
||
<h5 id="examples-261"><a class="doc-anchor" href="#examples-261">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(
|
||
Fix::from_num(<span class="number">3</span>).overflowing_add_prod(Fix::from_num(<span class="number">4</span>), Fix::from_num(<span class="number">0.5</span>)),
|
||
(Fix::from_num(<span class="number">5</span>), <span class="bool-val">false</span>)
|
||
);
|
||
<span class="macro">assert_eq!</span>(
|
||
Fix::MAX.overflowing_add_prod(Fix::MAX, Fix::from_num(<span class="number">3</span>)),
|
||
(Fix::MAX.wrapping_mul_int(<span class="number">4</span>), <span class="bool-val">true</span>)
|
||
);
|
||
<span class="comment">// -MAX + MAX × 1.5 = MAX / 2, which does not overflow
|
||
</span><span class="macro">assert_eq!</span>(
|
||
(-Fix::MAX).overflowing_add_prod(Fix::MAX, Fix::from_num(<span class="number">1.5</span>)),
|
||
(Fix::MAX / <span class="number">2</span>, <span class="bool-val">false</span>)
|
||
);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_mul_acc" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub fn <a href="#method.overflowing_mul_acc" class="fn">overflowing_mul_acc</a><AFrac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, BFrac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>>(
|
||
&mut self,
|
||
a: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><AFrac>,
|
||
b: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><BFrac>,
|
||
) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Overflowing multiply and accumulate. Adds (<code>a</code> × <code>b</code>) to <code>self</code>,
|
||
wrapping and returning <a href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html" title="primitive bool"><code>true</code></a> if overflow occurs.</p>
|
||
<p>For some cases, the product <code>a</code> × <code>b</code> would overflow on its
|
||
own, but the final result <code>self</code> + <code>a</code> × <code>b</code> is representable; in these cases
|
||
this method saves the correct result without overflow.</p>
|
||
<p>The <code>a</code> and <code>b</code> parameters can have a fixed-point type like
|
||
<code>self</code> but with a different number of fractional bits.</p>
|
||
<h5 id="examples-262"><a class="doc-anchor" href="#examples-262">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="kw">let </span><span class="kw-2">mut </span>acc = Fix::from_num(<span class="number">3</span>);
|
||
<span class="macro">assert!</span>(!acc.overflowing_mul_acc(Fix::from_num(<span class="number">4</span>), Fix::from_num(<span class="number">0.5</span>)));
|
||
<span class="macro">assert_eq!</span>(acc, <span class="number">5</span>);
|
||
|
||
acc = Fix::MAX;
|
||
<span class="macro">assert!</span>(acc.overflowing_mul_acc(Fix::MAX, Fix::from_num(<span class="number">3</span>)));
|
||
<span class="macro">assert_eq!</span>(acc, Fix::MAX.wrapping_mul_int(<span class="number">4</span>));
|
||
|
||
<span class="comment">// MAX × 1.5 - MAX = MAX / 2, which does not overflow
|
||
</span>acc = -Fix::MAX;
|
||
<span class="macro">assert!</span>(!acc.overflowing_mul_acc(Fix::MAX, Fix::from_num(<span class="number">1.5</span>)));
|
||
<span class="macro">assert_eq!</span>(acc, Fix::MAX / <span class="number">2</span>);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_rem_euclid_int" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.overflowing_rem_euclid_int" class="fn">overflowing_rem_euclid_int</a>(
|
||
self,
|
||
rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>,
|
||
) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class="docblock"><p>Remainder for Euclidean division by an integer.</p>
|
||
<p>Returns a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.tuple.html" title="primitive tuple">tuple</a> of the remainder and a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html" title="primitive bool"><code>bool</code></a> indicating whether an overflow has
|
||
occurred. On overflow, the wrapped value is returned.</p>
|
||
<p>Note that while remainder for Euclidean division cannot be negative,
|
||
the wrapped value can be negative.</p>
|
||
<h5 id="panics-98"><a class="doc-anchor" href="#panics-98">§</a>Panics</h5>
|
||
<p>Panics if the divisor is zero.</p>
|
||
<h5 id="examples-263"><a class="doc-anchor" href="#examples-263">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U28, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U28>;
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(<span class="number">7.5</span>).overflowing_rem_euclid_int(<span class="number">2</span>), (Fix::from_num(<span class="number">1.5</span>), <span class="bool-val">false</span>));
|
||
<span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">7.5</span>).overflowing_rem_euclid_int(<span class="number">2</span>), (Fix::from_num(<span class="number">0.5</span>), <span class="bool-val">false</span>));
|
||
<span class="comment">// -8 ≤ Fix < 8, so the answer 12.5 wraps to -3.5
|
||
</span><span class="macro">assert_eq!</span>(Fix::from_num(-<span class="number">7.5</span>).overflowing_rem_euclid_int(<span class="number">20</span>), (Fix::from_num(-<span class="number">3.5</span>), <span class="bool-val">true</span>));</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_sqrt" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.overflowing_sqrt" class="fn">overflowing_sqrt</a>(self) -> (Self, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class="docblock"><p>Returns the square root.</p>
|
||
<p>Returns a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.tuple.html" title="primitive tuple">tuple</a> of the result and a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html" title="primitive bool"><code>bool</code></a> indicationg whether an overflow has occurred. On
|
||
overflow, the wrapped value is returned.</p>
|
||
<p>This method uses an iterative method, with up to 32 iterations for
|
||
<a href="struct.FixedI32.html" title="struct fixed::FixedI32"><code>FixedI32</code></a>. The result is rounded down, and the error is
|
||
< <a href="struct.FixedI32.html#associatedconstant.DELTA" title="associated constant fixed::FixedI32::DELTA"><code>DELTA</code></a>. That is,
|
||
result ≤ √<code>self</code> < result + <code>DELTA</code>.</p>
|
||
<p>Overflow can only occur when there are no integer bits and
|
||
the representable range is −0.5 ≤ <i>x</i> < 0.5.
|
||
In this case, overflow occurs for an input value ≥ 0.25.</p>
|
||
<h5 id="panics-99"><a class="doc-anchor" href="#panics-99">§</a>Panics</h5>
|
||
<p>Panics if the number is negative.</p>
|
||
<h5 id="examples-264"><a class="doc-anchor" href="#examples-264">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::types::extra::{U4, U32};
|
||
<span class="kw">use </span>fixed::FixedI32;
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(
|
||
Fix::from_num(<span class="number">2</span>).overflowing_sqrt(),
|
||
(Fix::SQRT_2, <span class="bool-val">false</span>)
|
||
);
|
||
|
||
<span class="kw">type </span>AllFrac = FixedI32<U32>;
|
||
<span class="macro">assert_eq!</span>(
|
||
AllFrac::from_num(<span class="number">0.25</span>).overflowing_sqrt(),
|
||
(AllFrac::from_num(-<span class="number">0.5</span>), <span class="bool-val">true</span>)
|
||
);</code></pre></div>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_lerp" class="method"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const fn <a href="#method.overflowing_lerp" class="fn">overflowing_lerp</a><RangeFrac>(
|
||
self,
|
||
start: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><RangeFrac>,
|
||
end: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><RangeFrac>,
|
||
) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><RangeFrac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class="docblock"><p>Overflowing linear interpolation between <code>start</code> and <code>end</code>.</p>
|
||
<p>Returns a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.tuple.html" title="primitive tuple">tuple</a> of the result and a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html" title="primitive bool"><code>bool</code></a> indicationg whether an overflow
|
||
has occurred. On overflow, the wrapped value is returned.</p>
|
||
<p>The interpolated value is
|
||
<code>start</code> + <code>self</code> × (<code>end</code> − <code>start</code>). This
|
||
is <code>start</code> when <code>self</code> = 0, <code>end</code> when <code>self</code> = 1, and
|
||
linear interpolation for all other values of <code>self</code>. Linear extrapolation is
|
||
performed if <code>self</code> is not in the range 0 ≤ <i>x</i> ≤ 1.</p>
|
||
<h5 id="examples-265"><a class="doc-anchor" href="#examples-265">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(
|
||
Fix::from_num(<span class="number">0.5</span>).overflowing_lerp(Fix::ZERO, Fix::MAX),
|
||
(Fix::MAX / <span class="number">2</span>, <span class="bool-val">false</span>)
|
||
);
|
||
<span class="macro">assert_eq!</span>(
|
||
Fix::from_num(<span class="number">1.5</span>).overflowing_lerp(Fix::ZERO, Fix::MAX),
|
||
(Fix::MAX.wrapping_add(Fix::MAX / <span class="number">2</span>), <span class="bool-val">true</span>)
|
||
);</code></pre></div>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-FixedI32%3CFrac%3E-2" class="impl"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><a href="#impl-FixedI32%3CFrac%3E-2" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="docblock"><p>This block contains constants in the range 0 < <i>x</i> < 0.5.</p>
|
||
<h4 id="examples-266"><a class="doc-anchor" href="#examples-266">§</a>Examples</h4>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{consts, types::extra::U32, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U32>;
|
||
<span class="macro">assert_eq!</span>(Fix::LOG10_2, Fix::from_num(consts::LOG10_2));</code></pre></div>
|
||
</div><div class="impl-items"><details class="toggle" open><summary><section id="associatedconstant.FRAC_1_TAU" class="associatedconstant"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.FRAC_1_TAU" class="constant">FRAC_1_TAU</a>: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac> = _</h4></section></summary><div class="docblock"><p>1/τ = 0.159154…</p>
|
||
</div></details><details class="toggle" open><summary><section id="associatedconstant.FRAC_2_TAU" class="associatedconstant"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.FRAC_2_TAU" class="constant">FRAC_2_TAU</a>: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac> = _</h4></section></summary><div class="docblock"><p>2/τ = 0.318309…</p>
|
||
</div></details><details class="toggle" open><summary><section id="associatedconstant.FRAC_PI_8" class="associatedconstant"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.FRAC_PI_8" class="constant">FRAC_PI_8</a>: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac> = _</h4></section></summary><div class="docblock"><p>π/8 = 0.392699…</p>
|
||
</div></details><details class="toggle" open><summary><section id="associatedconstant.FRAC_1_PI" class="associatedconstant"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.FRAC_1_PI" class="constant">FRAC_1_PI</a>: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac> = _</h4></section></summary><div class="docblock"><p>1/π = 0.318309…</p>
|
||
</div></details><details class="toggle" open><summary><section id="associatedconstant.FRAC_1_SQRT_2PI" class="associatedconstant"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.FRAC_1_SQRT_2PI" class="constant">FRAC_1_SQRT_2PI</a>: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac> = _</h4></section></summary><div class="docblock"><p>1/√2π = 0.398942…</p>
|
||
</div></details><details class="toggle" open><summary><section id="associatedconstant.LOG10_2" class="associatedconstant"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.LOG10_2" class="constant">LOG10_2</a>: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac> = _</h4></section></summary><div class="docblock"><p>log<sub>10</sub> 2 = 0.301029…</p>
|
||
</div></details><details class="toggle" open><summary><section id="associatedconstant.LOG10_E" class="associatedconstant"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.LOG10_E" class="constant">LOG10_E</a>: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac> = _</h4></section></summary><div class="docblock"><p>log<sub>10</sub> e = 0.434294…</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-FixedI32%3CFrac%3E-3" class="impl"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><a href="#impl-FixedI32%3CFrac%3E-3" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac><div class="where">where
|
||
Frac: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><<a class="type" href="types/extra/type.U31.html" title="type fixed::types::extra::U31">U31</a>, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>> + <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>,</div></h3></section></summary><div class="docblock"><p>This block contains constants in the range 0.5 ≤ <i>x</i> < 1, and −1.</p>
|
||
<p>These constants are not representable in signed fixed-point numbers with less
|
||
than 1 integer bit.</p>
|
||
<h4 id="examples-268"><a class="doc-anchor" href="#examples-268">§</a>Examples</h4>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{consts, types::extra::U31, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U31>;
|
||
<span class="macro">assert_eq!</span>(Fix::LN_2, Fix::from_num(consts::LN_2));
|
||
<span class="macro">assert!</span>(<span class="number">0.5 </span><= Fix::LN_2 && Fix::LN_2 < <span class="number">1</span>);</code></pre></div>
|
||
<p>The following example fails to compile, since the maximum
|
||
representable value with 32 fractional bits and 0 integer
|
||
bits is < 0.5.</p>
|
||
|
||
<div class="example-wrap compile_fail"><a href="#" class="tooltip" title="This example deliberately fails to compile">ⓘ</a><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{consts, types::extra::U32, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U32>;
|
||
<span class="kw">let _ </span>= Fix::LN_2;</code></pre></div>
|
||
</div><div class="impl-items"><details class="toggle" open><summary><section id="associatedconstant.NEG_ONE" class="associatedconstant"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.NEG_ONE" class="constant">NEG_ONE</a>: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac> = _</h4></section></summary><div class="docblock"><p>Negative one.</p>
|
||
<h5 id="examples-267"><a class="doc-anchor" href="#examples-267">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U31, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U31>;
|
||
<span class="macro">assert_eq!</span>(Fix::NEG_ONE, Fix::from_num(-<span class="number">1</span>));</code></pre></div>
|
||
<p>The following would fail as
|
||
<code><a href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><<a href="types/extra/type.U31.html" title="type fixed::types::extra::U31">U31</a>></code>
|
||
cannot represent 1, so there is no
|
||
<code><a href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a>::<<a href="types/extra/type.U31.html" title="type fixed::types::extra::U31">U31</a>>::<a href="struct.FixedI32.html#associatedconstant.ONE" title="associated constant fixed::FixedI32::ONE">ONE</a></code>.</p>
|
||
|
||
<div class="example-wrap compile_fail"><a href="#" class="tooltip" title="This example deliberately fails to compile">ⓘ</a><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U31, FixedI32};
|
||
<span class="kw">const </span>_ERROR: FixedI32<U31> = FixedI32::ONE.unwrapped_neg();</code></pre></div>
|
||
</div></details><details class="toggle" open><summary><section id="associatedconstant.FRAC_TAU_8" class="associatedconstant"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.FRAC_TAU_8" class="constant">FRAC_TAU_8</a>: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac> = _</h4></section></summary><div class="docblock"><p>τ/8 = 0.785398…</p>
|
||
</div></details><details class="toggle" open><summary><section id="associatedconstant.FRAC_TAU_12" class="associatedconstant"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.FRAC_TAU_12" class="constant">FRAC_TAU_12</a>: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac> = _</h4></section></summary><div class="docblock"><p>τ/12 = 0.523598…</p>
|
||
</div></details><details class="toggle" open><summary><section id="associatedconstant.FRAC_4_TAU" class="associatedconstant"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.FRAC_4_TAU" class="constant">FRAC_4_TAU</a>: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac> = _</h4></section></summary><div class="docblock"><p>4/τ = 0.636619…</p>
|
||
</div></details><details class="toggle" open><summary><section id="associatedconstant.FRAC_PI_4" class="associatedconstant"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.FRAC_PI_4" class="constant">FRAC_PI_4</a>: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac> = _</h4></section></summary><div class="docblock"><p>π/4 = 0.785398…</p>
|
||
</div></details><details class="toggle" open><summary><section id="associatedconstant.FRAC_PI_6" class="associatedconstant"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.FRAC_PI_6" class="constant">FRAC_PI_6</a>: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac> = _</h4></section></summary><div class="docblock"><p>π/6 = 0.523598…</p>
|
||
</div></details><details class="toggle" open><summary><section id="associatedconstant.FRAC_2_PI" class="associatedconstant"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.FRAC_2_PI" class="constant">FRAC_2_PI</a>: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac> = _</h4></section></summary><div class="docblock"><p>2/π = 0.636619…</p>
|
||
</div></details><details class="toggle" open><summary><section id="associatedconstant.FRAC_1_SQRT_PI" class="associatedconstant"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.FRAC_1_SQRT_PI" class="constant">FRAC_1_SQRT_PI</a>: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac> = _</h4></section></summary><div class="docblock"><p>1/√π = 0.564189…</p>
|
||
</div></details><details class="toggle" open><summary><section id="associatedconstant.FRAC_1_SQRT_2" class="associatedconstant"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.FRAC_1_SQRT_2" class="constant">FRAC_1_SQRT_2</a>: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac> = _</h4></section></summary><div class="docblock"><p>1/√2 = 0.707106…</p>
|
||
</div></details><details class="toggle" open><summary><section id="associatedconstant.FRAC_1_SQRT_3" class="associatedconstant"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.FRAC_1_SQRT_3" class="constant">FRAC_1_SQRT_3</a>: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac> = _</h4></section></summary><div class="docblock"><p>1/√3 = 0.577350…</p>
|
||
</div></details><details class="toggle" open><summary><section id="associatedconstant.LN_2" class="associatedconstant"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.LN_2" class="constant">LN_2</a>: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac> = _</h4></section></summary><div class="docblock"><p>ln 2 = 0.693147…</p>
|
||
</div></details><details class="toggle" open><summary><section id="associatedconstant.FRAC_1_PHI" class="associatedconstant"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.FRAC_1_PHI" class="constant">FRAC_1_PHI</a>: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac> = _</h4></section></summary><div class="docblock"><p>The golden ratio conjugate, Φ = 1/φ = 0.618033…</p>
|
||
</div></details><details class="toggle" open><summary><section id="associatedconstant.GAMMA" class="associatedconstant"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.GAMMA" class="constant">GAMMA</a>: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac> = _</h4></section></summary><div class="docblock"><p>The Euler-Mascheroni constant, γ = 0.577215…</p>
|
||
</div></details><details class="toggle" open><summary><section id="associatedconstant.CATALAN" class="associatedconstant"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.CATALAN" class="constant">CATALAN</a>: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac> = _</h4></section></summary><div class="docblock"><p>Catalan’s constant = 0.915965…</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-FixedI32%3CFrac%3E-4" class="impl"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><a href="#impl-FixedI32%3CFrac%3E-4" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac><div class="where">where
|
||
Frac: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><<a class="type" href="types/extra/type.U30.html" title="type fixed::types::extra::U30">U30</a>, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>> + <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>,</div></h3></section></summary><div class="docblock"><p>This block contains constants in the range 1 ≤ <i>x</i> < 2.</p>
|
||
<p>These constants are not representable in signed fixed-point numbers with less than 2 integer bits.</p>
|
||
<h4 id="examples-270"><a class="doc-anchor" href="#examples-270">§</a>Examples</h4>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{consts, types::extra::U30, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U30>;
|
||
<span class="macro">assert_eq!</span>(Fix::LOG2_E, Fix::from_num(consts::LOG2_E));
|
||
<span class="macro">assert!</span>(<span class="number">1 </span><= Fix::LOG2_E && Fix::LOG2_E < <span class="number">2</span>);</code></pre></div>
|
||
<p>The following example fails to compile, since the maximum
|
||
representable value with 31 fractional bits and 1 integer bit is < 1.</p>
|
||
|
||
<div class="example-wrap compile_fail"><a href="#" class="tooltip" title="This example deliberately fails to compile">ⓘ</a><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{consts, types::extra::U31, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U31>;
|
||
<span class="kw">let _ </span>= Fix::LOG2_E;</code></pre></div>
|
||
</div><div class="impl-items"><details class="toggle" open><summary><section id="associatedconstant.ONE" class="associatedconstant"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.ONE" class="constant">ONE</a>: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac> = _</h4></section></summary><div class="docblock"><p>One.</p>
|
||
<h5 id="examples-269"><a class="doc-anchor" href="#examples-269">§</a>Examples</h5>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{types::extra::U4, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U4>;
|
||
<span class="macro">assert_eq!</span>(Fix::ONE, Fix::from_num(<span class="number">1</span>));</code></pre></div>
|
||
</div></details><details class="toggle" open><summary><section id="associatedconstant.FRAC_TAU_4" class="associatedconstant"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.FRAC_TAU_4" class="constant">FRAC_TAU_4</a>: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac> = _</h4></section></summary><div class="docblock"><p>τ/4 = 1.57079…</p>
|
||
</div></details><details class="toggle" open><summary><section id="associatedconstant.FRAC_TAU_6" class="associatedconstant"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.FRAC_TAU_6" class="constant">FRAC_TAU_6</a>: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac> = _</h4></section></summary><div class="docblock"><p>τ/6 = 1.04719…</p>
|
||
</div></details><details class="toggle" open><summary><section id="associatedconstant.FRAC_PI_2" class="associatedconstant"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.FRAC_PI_2" class="constant">FRAC_PI_2</a>: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac> = _</h4></section></summary><div class="docblock"><p>π/2 = 1.57079…</p>
|
||
</div></details><details class="toggle" open><summary><section id="associatedconstant.FRAC_PI_3" class="associatedconstant"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.FRAC_PI_3" class="constant">FRAC_PI_3</a>: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac> = _</h4></section></summary><div class="docblock"><p>π/3 = 1.04719…</p>
|
||
</div></details><details class="toggle" open><summary><section id="associatedconstant.SQRT_PI" class="associatedconstant"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.SQRT_PI" class="constant">SQRT_PI</a>: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac> = _</h4></section></summary><div class="docblock"><p>√π = 1.77245…</p>
|
||
</div></details><details class="toggle" open><summary><section id="associatedconstant.FRAC_2_SQRT_PI" class="associatedconstant"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.FRAC_2_SQRT_PI" class="constant">FRAC_2_SQRT_PI</a>: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac> = _</h4></section></summary><div class="docblock"><p>2/√π = 1.12837…</p>
|
||
</div></details><details class="toggle" open><summary><section id="associatedconstant.SQRT_2" class="associatedconstant"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.SQRT_2" class="constant">SQRT_2</a>: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac> = _</h4></section></summary><div class="docblock"><p>√2 = 1.41421…</p>
|
||
</div></details><details class="toggle" open><summary><section id="associatedconstant.SQRT_3" class="associatedconstant"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.SQRT_3" class="constant">SQRT_3</a>: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac> = _</h4></section></summary><div class="docblock"><p>√3 = 1.73205…</p>
|
||
</div></details><details class="toggle" open><summary><section id="associatedconstant.SQRT_E" class="associatedconstant"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.SQRT_E" class="constant">SQRT_E</a>: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac> = _</h4></section></summary><div class="docblock"><p>√e = 1.64872…</p>
|
||
</div></details><details class="toggle" open><summary><section id="associatedconstant.LOG2_E" class="associatedconstant"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.LOG2_E" class="constant">LOG2_E</a>: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac> = _</h4></section></summary><div class="docblock"><p>log<sub>2</sub> e = 1.44269…</p>
|
||
</div></details><details class="toggle" open><summary><section id="associatedconstant.PHI" class="associatedconstant"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.PHI" class="constant">PHI</a>: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac> = _</h4></section></summary><div class="docblock"><p>The golden ratio, φ = 1.61803…</p>
|
||
</div></details><details class="toggle" open><summary><section id="associatedconstant.SQRT_PHI" class="associatedconstant"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.SQRT_PHI" class="constant">SQRT_PHI</a>: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac> = _</h4></section></summary><div class="docblock"><p>√φ = 1.27201…</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-FixedI32%3CFrac%3E-5" class="impl"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><a href="#impl-FixedI32%3CFrac%3E-5" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac><div class="where">where
|
||
Frac: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><<a class="type" href="types/extra/type.U29.html" title="type fixed::types::extra::U29">U29</a>, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>> + <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>,</div></h3></section></summary><div class="docblock"><p>This block contains constants in the range 2 ≤ <i>x</i> < 4.</p>
|
||
<p>These constants are not representable in signed fixed-point numbers with less than 3 integer bits.</p>
|
||
<h4 id="examples-271"><a class="doc-anchor" href="#examples-271">§</a>Examples</h4>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{consts, types::extra::U29, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U29>;
|
||
<span class="macro">assert_eq!</span>(Fix::E, Fix::from_num(consts::E));
|
||
<span class="macro">assert!</span>(<span class="number">2 </span><= Fix::E && Fix::E < <span class="number">4</span>);</code></pre></div>
|
||
<p>The following example fails to compile, since the maximum
|
||
representable value with 30 fractional bits and 2 integer bits is < 2.</p>
|
||
|
||
<div class="example-wrap compile_fail"><a href="#" class="tooltip" title="This example deliberately fails to compile">ⓘ</a><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{consts, types::extra::U30, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U30>;
|
||
<span class="kw">let _ </span>= Fix::E;</code></pre></div>
|
||
</div><div class="impl-items"><details class="toggle" open><summary><section id="associatedconstant.FRAC_TAU_2" class="associatedconstant"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.FRAC_TAU_2" class="constant">FRAC_TAU_2</a>: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac> = _</h4></section></summary><div class="docblock"><p>τ/2 = 3.14159…</p>
|
||
</div></details><details class="toggle" open><summary><section id="associatedconstant.FRAC_TAU_3" class="associatedconstant"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.FRAC_TAU_3" class="constant">FRAC_TAU_3</a>: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac> = _</h4></section></summary><div class="docblock"><p>τ/3 = 2.09439…</p>
|
||
</div></details><details class="toggle" open><summary><section id="associatedconstant.PI" class="associatedconstant"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.PI" class="constant">PI</a>: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac> = _</h4></section></summary><div class="docblock"><p>Archimedes’ constant, π = 3.14159…</p>
|
||
</div></details><details class="toggle" open><summary><section id="associatedconstant.SQRT_2PI" class="associatedconstant"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.SQRT_2PI" class="constant">SQRT_2PI</a>: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac> = _</h4></section></summary><div class="docblock"><p>√2π = 2.50662…</p>
|
||
</div></details><details class="toggle" open><summary><section id="associatedconstant.E" class="associatedconstant"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.E" class="constant">E</a>: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac> = _</h4></section></summary><div class="docblock"><p>Euler’s number, e = 2.71828…</p>
|
||
</div></details><details class="toggle" open><summary><section id="associatedconstant.LOG2_10" class="associatedconstant"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.LOG2_10" class="constant">LOG2_10</a>: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac> = _</h4></section></summary><div class="docblock"><p>log<sub>2</sub> 10 = 3.32192…</p>
|
||
</div></details><details class="toggle" open><summary><section id="associatedconstant.LN_10" class="associatedconstant"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.LN_10" class="constant">LN_10</a>: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac> = _</h4></section></summary><div class="docblock"><p>ln 10 = 2.30258…</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-FixedI32%3CFrac%3E-6" class="impl"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><a href="#impl-FixedI32%3CFrac%3E-6" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac><div class="where">where
|
||
Frac: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><<a class="type" href="types/extra/type.U28.html" title="type fixed::types::extra::U28">U28</a>, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>> + <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>,</div></h3></section></summary><div class="docblock"><p>This block contains constants in the range 4 ≤ <i>x</i> < 8.</p>
|
||
<p>These constants are not representable in signed fixed-point numbers with less than 4 integer bits.</p>
|
||
<h4 id="examples-272"><a class="doc-anchor" href="#examples-272">§</a>Examples</h4>
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{consts, types::extra::U28, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U28>;
|
||
<span class="macro">assert_eq!</span>(Fix::TAU, Fix::from_num(consts::TAU));
|
||
<span class="macro">assert!</span>(<span class="number">4 </span><= Fix::TAU && Fix::TAU < <span class="number">8</span>);</code></pre></div>
|
||
<p>The following example fails to compile, since the maximum
|
||
representable value with 29 fractional bits and 3 integer bits is < 4.</p>
|
||
|
||
<div class="example-wrap compile_fail"><a href="#" class="tooltip" title="This example deliberately fails to compile">ⓘ</a><pre class="rust rust-example-rendered"><code><span class="kw">use </span>fixed::{consts, types::extra::U29, FixedI32};
|
||
<span class="kw">type </span>Fix = FixedI32<U29>;
|
||
<span class="kw">let _ </span>= Fix::TAU;</code></pre></div>
|
||
</div><div class="impl-items"><details class="toggle" open><summary><section id="associatedconstant.TAU" class="associatedconstant"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><h4 class="code-header">pub const <a href="#associatedconstant.TAU" class="constant">TAU</a>: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac> = _</h4></section></summary><div class="docblock"><p>A turn, τ = 6.28318…</p>
|
||
</div></details></div></details></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Add%3C%26FixedI32%3CFrac%3E%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Add%3C%26FixedI32%3CFrac%3E%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a><&<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-5" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-5" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Add.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>+</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.add-3" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.add-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Add.html#tymethod.add" class="fn">add</a>(self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>+</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Add.html#tymethod.add">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Add%3C%26FixedI32%3CFrac%3E%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Add%3C%26FixedI32%3CFrac%3E%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a><&<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-4" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-4" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Add.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>+</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.add-2" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.add-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Add.html#tymethod.add" class="fn">add</a>(self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>+</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Add.html#tymethod.add">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Add%3CFixedI32%3CFrac%3E%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Add%3CFixedI32%3CFrac%3E%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-3" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-3" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Add.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>+</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.add-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.add-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Add.html#tymethod.add" class="fn">add</a>(self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>+</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Add.html#tymethod.add">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Add-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Add-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Add.html" title="trait core::ops::arith::Add">Add</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-2" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-2" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Add.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>+</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.add" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.add" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Add.html#tymethod.add" class="fn">add</a>(self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>+</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Add.html#tymethod.add">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AddAssign%3C%26FixedI32%3CFrac%3E%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-AddAssign%3C%26FixedI32%3CFrac%3E%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.AddAssign.html" title="trait core::ops::arith::AddAssign">AddAssign</a><&<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.add_assign-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.add_assign-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.AddAssign.html#tymethod.add_assign" class="fn">add_assign</a>(&mut self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>)</h4></section></summary><div class='docblock'>Performs the <code>+=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.AddAssign.html#tymethod.add_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AddAssign-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-AddAssign-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.AddAssign.html" title="trait core::ops::arith::AddAssign">AddAssign</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.add_assign" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.add_assign" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.AddAssign.html#tymethod.add_assign" class="fn">add_assign</a>(&mut self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>)</h4></section></summary><div class='docblock'>Performs the <code>+=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.AddAssign.html#tymethod.add_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Binary-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/display.rs.html#784">Source</a><a href="#impl-Binary-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.Binary.html" title="trait core::fmt::Binary">Binary</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt-2" class="method trait-impl"><a class="src rightside" href="../src/fixed/display.rs.html#784">Source</a><a href="#method.fmt-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.Binary.html#tymethod.fmt" class="fn">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/1.84.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="type" href="https://doc.rust-lang.org/1.84.0/core/fmt/type.Result.html" title="type core::fmt::Result">FmtResult</a></h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.Binary.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-BitAnd%3C%26FixedI32%3CFrac%3E%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-BitAnd%3C%26FixedI32%3CFrac%3E%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitAnd.html" title="trait core::ops::bit::BitAnd">BitAnd</a><&<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-27" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-27" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitAnd.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>&</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.bitand-3" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.bitand-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitAnd.html#tymethod.bitand" class="fn">bitand</a>(self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>&</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitAnd.html#tymethod.bitand">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-BitAnd%3C%26FixedI32%3CFrac%3E%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-BitAnd%3C%26FixedI32%3CFrac%3E%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitAnd.html" title="trait core::ops::bit::BitAnd">BitAnd</a><&<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-26" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-26" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitAnd.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>&</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.bitand-2" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.bitand-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitAnd.html#tymethod.bitand" class="fn">bitand</a>(self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>&</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitAnd.html#tymethod.bitand">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-BitAnd%3CFixedI32%3CFrac%3E%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-BitAnd%3CFixedI32%3CFrac%3E%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitAnd.html" title="trait core::ops::bit::BitAnd">BitAnd</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-25" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-25" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitAnd.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>&</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.bitand-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.bitand-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitAnd.html#tymethod.bitand" class="fn">bitand</a>(self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>&</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitAnd.html#tymethod.bitand">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-BitAnd-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-BitAnd-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitAnd.html" title="trait core::ops::bit::BitAnd">BitAnd</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-24" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-24" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitAnd.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>&</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.bitand" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.bitand" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitAnd.html#tymethod.bitand" class="fn">bitand</a>(self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>&</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitAnd.html#tymethod.bitand">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-BitAndAssign%3C%26FixedI32%3CFrac%3E%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-BitAndAssign%3C%26FixedI32%3CFrac%3E%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitAndAssign.html" title="trait core::ops::bit::BitAndAssign">BitAndAssign</a><&<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.bitand_assign-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.bitand_assign-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitAndAssign.html#tymethod.bitand_assign" class="fn">bitand_assign</a>(&mut self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>)</h4></section></summary><div class='docblock'>Performs the <code>&=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitAndAssign.html#tymethod.bitand_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-BitAndAssign-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-BitAndAssign-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitAndAssign.html" title="trait core::ops::bit::BitAndAssign">BitAndAssign</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.bitand_assign" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.bitand_assign" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitAndAssign.html#tymethod.bitand_assign" class="fn">bitand_assign</a>(&mut self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>)</h4></section></summary><div class='docblock'>Performs the <code>&=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitAndAssign.html#tymethod.bitand_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-BitOr%3C%26FixedI32%3CFrac%3E%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-BitOr%3C%26FixedI32%3CFrac%3E%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitOr.html" title="trait core::ops::bit::BitOr">BitOr</a><&<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-31" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-31" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitOr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>|</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.bitor-3" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.bitor-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitOr.html#tymethod.bitor" class="fn">bitor</a>(self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>|</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitOr.html#tymethod.bitor">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-BitOr%3C%26FixedI32%3CFrac%3E%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-BitOr%3C%26FixedI32%3CFrac%3E%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitOr.html" title="trait core::ops::bit::BitOr">BitOr</a><&<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-30" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-30" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitOr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>|</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.bitor-2" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.bitor-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitOr.html#tymethod.bitor" class="fn">bitor</a>(self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>|</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitOr.html#tymethod.bitor">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-BitOr%3CFixedI32%3CFrac%3E%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-BitOr%3CFixedI32%3CFrac%3E%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitOr.html" title="trait core::ops::bit::BitOr">BitOr</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-29" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-29" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitOr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>|</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.bitor-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.bitor-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitOr.html#tymethod.bitor" class="fn">bitor</a>(self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>|</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitOr.html#tymethod.bitor">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-BitOr-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-BitOr-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitOr.html" title="trait core::ops::bit::BitOr">BitOr</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-28" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-28" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitOr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>|</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.bitor" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.bitor" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitOr.html#tymethod.bitor" class="fn">bitor</a>(self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>|</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitOr.html#tymethod.bitor">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-BitOrAssign%3C%26FixedI32%3CFrac%3E%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-BitOrAssign%3C%26FixedI32%3CFrac%3E%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitOrAssign.html" title="trait core::ops::bit::BitOrAssign">BitOrAssign</a><&<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.bitor_assign-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.bitor_assign-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitOrAssign.html#tymethod.bitor_assign" class="fn">bitor_assign</a>(&mut self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>)</h4></section></summary><div class='docblock'>Performs the <code>|=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitOrAssign.html#tymethod.bitor_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-BitOrAssign-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-BitOrAssign-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitOrAssign.html" title="trait core::ops::bit::BitOrAssign">BitOrAssign</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.bitor_assign" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.bitor_assign" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitOrAssign.html#tymethod.bitor_assign" class="fn">bitor_assign</a>(&mut self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>)</h4></section></summary><div class='docblock'>Performs the <code>|=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitOrAssign.html#tymethod.bitor_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-BitXor%3C%26FixedI32%3CFrac%3E%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-BitXor%3C%26FixedI32%3CFrac%3E%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitXor.html" title="trait core::ops::bit::BitXor">BitXor</a><&<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-35" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-35" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitXor.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>^</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.bitxor-3" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.bitxor-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitXor.html#tymethod.bitxor" class="fn">bitxor</a>(self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>^</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitXor.html#tymethod.bitxor">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-BitXor%3C%26FixedI32%3CFrac%3E%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-BitXor%3C%26FixedI32%3CFrac%3E%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitXor.html" title="trait core::ops::bit::BitXor">BitXor</a><&<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-34" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-34" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitXor.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>^</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.bitxor-2" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.bitxor-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitXor.html#tymethod.bitxor" class="fn">bitxor</a>(self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>^</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitXor.html#tymethod.bitxor">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-BitXor%3CFixedI32%3CFrac%3E%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-BitXor%3CFixedI32%3CFrac%3E%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitXor.html" title="trait core::ops::bit::BitXor">BitXor</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-33" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-33" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitXor.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>^</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.bitxor-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.bitxor-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitXor.html#tymethod.bitxor" class="fn">bitxor</a>(self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>^</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitXor.html#tymethod.bitxor">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-BitXor-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-BitXor-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitXor.html" title="trait core::ops::bit::BitXor">BitXor</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-32" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-32" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitXor.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>^</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.bitxor" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.bitxor" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitXor.html#tymethod.bitxor" class="fn">bitxor</a>(self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>^</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitXor.html#tymethod.bitxor">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-BitXorAssign%3C%26FixedI32%3CFrac%3E%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-BitXorAssign%3C%26FixedI32%3CFrac%3E%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitXorAssign.html" title="trait core::ops::bit::BitXorAssign">BitXorAssign</a><&<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.bitxor_assign-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.bitxor_assign-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitXorAssign.html#tymethod.bitxor_assign" class="fn">bitxor_assign</a>(&mut self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>)</h4></section></summary><div class='docblock'>Performs the <code>^=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitXorAssign.html#tymethod.bitxor_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-BitXorAssign-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-BitXorAssign-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitXorAssign.html" title="trait core::ops::bit::BitXorAssign">BitXorAssign</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.bitxor_assign" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.bitxor_assign" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitXorAssign.html#tymethod.bitxor_assign" class="fn">bitxor_assign</a>(&mut self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>)</h4></section></summary><div class='docblock'>Performs the <code>^=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.BitXorAssign.html#tymethod.bitxor_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3CF128%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3CF128%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="struct" href="struct.F128.html" title="struct fixed::F128">F128</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cast-45" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-45" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="struct" href="struct.F128.html" title="struct fixed::F128">F128</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3CF128Bits%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3CF128Bits%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="struct" href="struct.F128Bits.html" title="struct fixed::F128Bits">F128Bits</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cast-47" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-47" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="struct" href="struct.F128Bits.html" title="struct fixed::F128Bits">F128Bits</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3CFixedI128%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3CFixedI128%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU128.html" title="trait fixed::types::extra::LeEqU128">LeEqU128</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="struct" href="struct.FixedI128.html" title="struct fixed::FixedI128">FixedI128</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cast-6" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-6" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="struct" href="struct.FixedI128.html" title="struct fixed::FixedI128">FixedI128</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3CFixedI16%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3CFixedI16%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU16.html" title="trait fixed::types::extra::LeEqU16">LeEqU16</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="struct" href="struct.FixedI16.html" title="struct fixed::FixedI16">FixedI16</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cast-3" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-3" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="struct" href="struct.FixedI16.html" title="struct fixed::FixedI16">FixedI16</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3CFixedI32%3CFrac%3E%3E-for-F128" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3CFixedI32%3CFrac%3E%3E-for-F128" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="struct.F128.html" title="struct fixed::F128">F128</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cast-46" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-46" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3CFixedI32%3CFrac%3E%3E-for-F128Bits" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3CFixedI32%3CFrac%3E%3E-for-F128Bits" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="struct.F128Bits.html" title="struct fixed::F128Bits">F128Bits</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cast-48" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-48" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3CFixedI32%3CFrac%3E%3E-for-bf16" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3CFixedI32%3CFrac%3E%3E-for-bf16" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="../half/bfloat/struct.bf16.html" title="struct half::bfloat::bf16">half_bf16</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cast-40" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-40" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3CFixedI32%3CFrac%3E%3E-for-bool" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3CFixedI32%3CFrac%3E%3E-for-bool" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.cast-12" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-12" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3CFixedI32%3CFrac%3E%3E-for-f16" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3CFixedI32%3CFrac%3E%3E-for-f16" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="../half/binary16/struct.f16.html" title="struct half::binary16::f16">half_f16</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cast-38" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-38" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3CFixedI32%3CFrac%3E%3E-for-f32" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3CFixedI32%3CFrac%3E%3E-for-f32" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f32.html">f32</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cast-42" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-42" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3CFixedI32%3CFrac%3E%3E-for-f64" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3CFixedI32%3CFrac%3E%3E-for-f64" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f64.html">f64</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cast-44" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-44" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3CFixedI32%3CFrac%3E%3E-for-i128" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3CFixedI32%3CFrac%3E%3E-for-i128" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.cast-22" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-22" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3CFixedI32%3CFrac%3E%3E-for-i16" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3CFixedI32%3CFrac%3E%3E-for-i16" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.cast-16" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-16" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3CFixedI32%3CFrac%3E%3E-for-i32" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3CFixedI32%3CFrac%3E%3E-for-i32" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.cast-18" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-18" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3CFixedI32%3CFrac%3E%3E-for-i64" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3CFixedI32%3CFrac%3E%3E-for-i64" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.cast-20" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-20" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3CFixedI32%3CFrac%3E%3E-for-i8" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3CFixedI32%3CFrac%3E%3E-for-i8" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.cast-14" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-14" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3CFixedI32%3CFrac%3E%3E-for-isize" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3CFixedI32%3CFrac%3E%3E-for-isize" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.cast-24" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-24" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3CFixedI32%3CFrac%3E%3E-for-u128" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3CFixedI32%3CFrac%3E%3E-for-u128" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.cast-34" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-34" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3CFixedI32%3CFrac%3E%3E-for-u16" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3CFixedI32%3CFrac%3E%3E-for-u16" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.cast-28" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-28" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3CFixedI32%3CFrac%3E%3E-for-u32" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3CFixedI32%3CFrac%3E%3E-for-u32" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.cast-30" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-30" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3CFixedI32%3CFrac%3E%3E-for-u64" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3CFixedI32%3CFrac%3E%3E-for-u64" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.cast-32" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-32" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3CFixedI32%3CFrac%3E%3E-for-u8" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3CFixedI32%3CFrac%3E%3E-for-u8" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.cast-26" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-26" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3CFixedI32%3CFrac%3E%3E-for-usize" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3CFixedI32%3CFrac%3E%3E-for-usize" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.cast-36" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-36" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3CFixedI32%3CFracDst%3E%3E-for-FixedI128%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3CFixedI32%3CFracDst%3E%3E-for-FixedI128%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU128.html" title="trait fixed::types::extra::LeEqU128">LeEqU128</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedI128.html" title="struct fixed::FixedI128">FixedI128</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cast-50" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-50" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3CFixedI32%3CFracDst%3E%3E-for-FixedI16%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3CFixedI32%3CFracDst%3E%3E-for-FixedI16%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU16.html" title="trait fixed::types::extra::LeEqU16">LeEqU16</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedI16.html" title="struct fixed::FixedI16">FixedI16</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cast-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-1" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3CFixedI32%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3CFixedI32%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cast-4" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-4" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3CFixedI32%3CFracDst%3E%3E-for-FixedI64%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3CFixedI32%3CFracDst%3E%3E-for-FixedI64%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU64.html" title="trait fixed::types::extra::LeEqU64">LeEqU64</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedI64.html" title="struct fixed::FixedI64">FixedI64</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cast-49" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-49" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3CFixedI32%3CFracDst%3E%3E-for-FixedI8%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3CFixedI32%3CFracDst%3E%3E-for-FixedI8%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU8.html" title="trait fixed::types::extra::LeEqU8">LeEqU8</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedI8.html" title="struct fixed::FixedI8">FixedI8</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cast" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3CFixedI32%3CFracDst%3E%3E-for-FixedU128%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3CFixedI32%3CFracDst%3E%3E-for-FixedU128%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU128.html" title="trait fixed::types::extra::LeEqU128">LeEqU128</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedU128.html" title="struct fixed::FixedU128">FixedU128</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cast-55" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-55" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3CFixedI32%3CFracDst%3E%3E-for-FixedU16%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3CFixedI32%3CFracDst%3E%3E-for-FixedU16%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU16.html" title="trait fixed::types::extra::LeEqU16">LeEqU16</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedU16.html" title="struct fixed::FixedU16">FixedU16</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cast-52" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-52" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3CFixedI32%3CFracDst%3E%3E-for-FixedU32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3CFixedI32%3CFracDst%3E%3E-for-FixedU32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedU32.html" title="struct fixed::FixedU32">FixedU32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cast-53" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-53" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3CFixedI32%3CFracDst%3E%3E-for-FixedU64%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3CFixedI32%3CFracDst%3E%3E-for-FixedU64%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU64.html" title="trait fixed::types::extra::LeEqU64">LeEqU64</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedU64.html" title="struct fixed::FixedU64">FixedU64</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cast-54" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-54" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3CFixedI32%3CFracDst%3E%3E-for-FixedU8%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3CFixedI32%3CFracDst%3E%3E-for-FixedU8%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU8.html" title="trait fixed::types::extra::LeEqU8">LeEqU8</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedU8.html" title="struct fixed::FixedU8">FixedU8</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cast-51" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-51" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3CFixedI64%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3CFixedI64%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU64.html" title="trait fixed::types::extra::LeEqU64">LeEqU64</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="struct" href="struct.FixedI64.html" title="struct fixed::FixedI64">FixedI64</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cast-5" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-5" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="struct" href="struct.FixedI64.html" title="struct fixed::FixedI64">FixedI64</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3CFixedI8%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3CFixedI8%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU8.html" title="trait fixed::types::extra::LeEqU8">LeEqU8</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="struct" href="struct.FixedI8.html" title="struct fixed::FixedI8">FixedI8</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cast-2" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-2" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="struct" href="struct.FixedI8.html" title="struct fixed::FixedI8">FixedI8</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3CFixedU128%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3CFixedU128%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU128.html" title="trait fixed::types::extra::LeEqU128">LeEqU128</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="struct" href="struct.FixedU128.html" title="struct fixed::FixedU128">FixedU128</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cast-11" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-11" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="struct" href="struct.FixedU128.html" title="struct fixed::FixedU128">FixedU128</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3CFixedU16%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3CFixedU16%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU16.html" title="trait fixed::types::extra::LeEqU16">LeEqU16</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="struct" href="struct.FixedU16.html" title="struct fixed::FixedU16">FixedU16</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cast-8" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-8" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="struct" href="struct.FixedU16.html" title="struct fixed::FixedU16">FixedU16</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3CFixedU32%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3CFixedU32%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="struct" href="struct.FixedU32.html" title="struct fixed::FixedU32">FixedU32</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cast-9" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-9" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="struct" href="struct.FixedU32.html" title="struct fixed::FixedU32">FixedU32</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3CFixedU64%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3CFixedU64%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU64.html" title="trait fixed::types::extra::LeEqU64">LeEqU64</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="struct" href="struct.FixedU64.html" title="struct fixed::FixedU64">FixedU64</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cast-10" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-10" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="struct" href="struct.FixedU64.html" title="struct fixed::FixedU64">FixedU64</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3CFixedU8%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3CFixedU8%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU8.html" title="trait fixed::types::extra::LeEqU8">LeEqU8</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="struct" href="struct.FixedU8.html" title="struct fixed::FixedU8">FixedU8</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cast-7" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-7" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="struct" href="struct.FixedU8.html" title="struct fixed::FixedU8">FixedU8</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3Cbf16%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3Cbf16%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="struct" href="../half/bfloat/struct.bf16.html" title="struct half::bfloat::bf16">bf16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cast-39" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-39" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="struct" href="../half/bfloat/struct.bf16.html" title="struct half::bfloat::bf16">half_bf16</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3Cf16%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3Cf16%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="struct" href="../half/binary16/struct.f16.html" title="struct half::binary16::f16">f16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cast-37" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-37" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="struct" href="../half/binary16/struct.f16.html" title="struct half::binary16::f16">half_f16</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3Cf32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3Cf32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f32.html">f32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cast-41" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-41" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f32.html">f32</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3Cf64%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3Cf64%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f64.html">f64</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cast-43" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-43" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f64.html">f64</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3Ci128%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3Ci128%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html">i128</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cast-21" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-21" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html">i128</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3Ci16%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3Ci16%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cast-15" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-15" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3Ci32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3Ci32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cast-17" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-17" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3Ci64%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3Ci64%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html">i64</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cast-19" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-19" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html">i64</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3Ci8%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3Ci8%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cast-13" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-13" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3Cisize%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3Cisize%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html">isize</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cast-23" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-23" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html">isize</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3Cu128%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3Cu128%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html">u128</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cast-33" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-33" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html">u128</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3Cu16%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3Cu16%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html">u16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cast-27" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-27" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html">u16</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3Cu32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3Cu32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cast-29" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-29" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3Cu64%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3Cu64%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html">u64</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cast-31" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-31" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html">u64</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3Cu8%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3Cu8%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cast-25" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-25" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Cast%3Cusize%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-Cast%3Cusize%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cast-35" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.cast-35" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Cast.html#tymethod.cast" class="fn">cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3CF128%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3CF128%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="struct" href="struct.F128.html" title="struct fixed::F128">F128</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-45" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-45" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.F128.html" title="struct fixed::F128">F128</a>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3CF128Bits%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3CF128Bits%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="struct" href="struct.F128Bits.html" title="struct fixed::F128Bits">F128Bits</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-47" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-47" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.F128Bits.html" title="struct fixed::F128Bits">F128Bits</a>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3CFixedI128%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3CFixedI128%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU128.html" title="trait fixed::types::extra::LeEqU128">LeEqU128</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="struct" href="struct.FixedI128.html" title="struct fixed::FixedI128">FixedI128</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-6" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-6" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI128.html" title="struct fixed::FixedI128">FixedI128</a><FracDst>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3CFixedI16%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3CFixedI16%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU16.html" title="trait fixed::types::extra::LeEqU16">LeEqU16</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="struct" href="struct.FixedI16.html" title="struct fixed::FixedI16">FixedI16</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-3" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-3" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI16.html" title="struct fixed::FixedI16">FixedI16</a><FracDst>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-F128" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-F128" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="struct.F128.html" title="struct fixed::F128">F128</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-46" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-46" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-F128Bits" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-F128Bits" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="struct.F128Bits.html" title="struct fixed::F128Bits">F128Bits</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-48" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-48" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-bf16" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-bf16" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="../half/bfloat/struct.bf16.html" title="struct half::bfloat::bf16">half_bf16</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-40" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-40" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-bool" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-bool" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-12" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-12" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-f16" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-f16" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="../half/binary16/struct.f16.html" title="struct half::binary16::f16">half_f16</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-38" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-38" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-f32" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-f32" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f32.html">f32</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-42" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-42" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-f64" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-f64" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f64.html">f64</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-44" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-44" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-i128" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-i128" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-22" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-22" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-i16" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-i16" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-16" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-16" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-i32" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-i32" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-18" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-18" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-i64" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-i64" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-20" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-20" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-i8" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-i8" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-14" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-14" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-isize" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-isize" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-24" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-24" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-u128" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-u128" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-34" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-34" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-u16" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-u16" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-28" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-28" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-u32" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-u32" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-30" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-30" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-u64" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-u64" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-32" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-32" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-u8" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-u8" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-26" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-26" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-usize" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3CFixedI32%3CFrac%3E%3E-for-usize" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-36" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-36" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI128%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI128%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU128.html" title="trait fixed::types::extra::LeEqU128">LeEqU128</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedI128.html" title="struct fixed::FixedI128">FixedI128</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-50" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-50" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI16%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI16%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU16.html" title="trait fixed::types::extra::LeEqU16">LeEqU16</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedI16.html" title="struct fixed::FixedI16">FixedI16</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-1" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-4" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-4" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI64%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI64%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU64.html" title="trait fixed::types::extra::LeEqU64">LeEqU64</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedI64.html" title="struct fixed::FixedI64">FixedI64</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-49" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-49" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI8%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI8%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU8.html" title="trait fixed::types::extra::LeEqU8">LeEqU8</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedI8.html" title="struct fixed::FixedI8">FixedI8</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.checked_cast" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU128%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU128%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU128.html" title="trait fixed::types::extra::LeEqU128">LeEqU128</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedU128.html" title="struct fixed::FixedU128">FixedU128</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-55" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-55" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU16%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU16%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU16.html" title="trait fixed::types::extra::LeEqU16">LeEqU16</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedU16.html" title="struct fixed::FixedU16">FixedU16</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-52" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-52" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedU32.html" title="struct fixed::FixedU32">FixedU32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-53" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-53" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU64%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU64%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU64.html" title="trait fixed::types::extra::LeEqU64">LeEqU64</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedU64.html" title="struct fixed::FixedU64">FixedU64</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-54" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-54" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU8%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU8%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU8.html" title="trait fixed::types::extra::LeEqU8">LeEqU8</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedU8.html" title="struct fixed::FixedU8">FixedU8</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-51" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-51" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3CFixedI64%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3CFixedI64%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU64.html" title="trait fixed::types::extra::LeEqU64">LeEqU64</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="struct" href="struct.FixedI64.html" title="struct fixed::FixedI64">FixedI64</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-5" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-5" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI64.html" title="struct fixed::FixedI64">FixedI64</a><FracDst>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3CFixedI8%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3CFixedI8%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU8.html" title="trait fixed::types::extra::LeEqU8">LeEqU8</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="struct" href="struct.FixedI8.html" title="struct fixed::FixedI8">FixedI8</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-2" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-2" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedI8.html" title="struct fixed::FixedI8">FixedI8</a><FracDst>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3CFixedU128%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3CFixedU128%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU128.html" title="trait fixed::types::extra::LeEqU128">LeEqU128</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="struct" href="struct.FixedU128.html" title="struct fixed::FixedU128">FixedU128</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-11" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-11" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedU128.html" title="struct fixed::FixedU128">FixedU128</a><FracDst>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3CFixedU16%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3CFixedU16%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU16.html" title="trait fixed::types::extra::LeEqU16">LeEqU16</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="struct" href="struct.FixedU16.html" title="struct fixed::FixedU16">FixedU16</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-8" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-8" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedU16.html" title="struct fixed::FixedU16">FixedU16</a><FracDst>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3CFixedU32%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3CFixedU32%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="struct" href="struct.FixedU32.html" title="struct fixed::FixedU32">FixedU32</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-9" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-9" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedU32.html" title="struct fixed::FixedU32">FixedU32</a><FracDst>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3CFixedU64%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3CFixedU64%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU64.html" title="trait fixed::types::extra::LeEqU64">LeEqU64</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="struct" href="struct.FixedU64.html" title="struct fixed::FixedU64">FixedU64</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-10" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-10" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedU64.html" title="struct fixed::FixedU64">FixedU64</a><FracDst>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3CFixedU8%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3CFixedU8%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU8.html" title="trait fixed::types::extra::LeEqU8">LeEqU8</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="struct" href="struct.FixedU8.html" title="struct fixed::FixedU8">FixedU8</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-7" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-7" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.FixedU8.html" title="struct fixed::FixedU8">FixedU8</a><FracDst>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3Cbf16%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3Cbf16%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="struct" href="../half/bfloat/struct.bf16.html" title="struct half::bfloat::bf16">bf16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-39" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-39" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../half/bfloat/struct.bf16.html" title="struct half::bfloat::bf16">half_bf16</a>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3Cf16%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3Cf16%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="struct" href="../half/binary16/struct.f16.html" title="struct half::binary16::f16">f16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-37" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-37" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../half/binary16/struct.f16.html" title="struct half::binary16::f16">half_f16</a>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3Cf32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3Cf32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f32.html">f32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-41" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-41" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f32.html">f32</a>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3Cf64%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3Cf64%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f64.html">f64</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-43" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-43" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f64.html">f64</a>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3Ci128%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3Ci128%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html">i128</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-21" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-21" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html">i128</a>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3Ci16%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3Ci16%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-15" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-15" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3Ci32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3Ci32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-17" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-17" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3Ci64%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3Ci64%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html">i64</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-19" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-19" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html">i64</a>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3Ci8%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3Ci8%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-13" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-13" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3Cisize%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3Cisize%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html">isize</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-23" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-23" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html">isize</a>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3Cu128%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3Cu128%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html">u128</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-33" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-33" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html">u128</a>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3Cu16%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3Cu16%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html">u16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-27" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-27" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html">u16</a>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3Cu32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3Cu32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-29" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-29" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3Cu64%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3Cu64%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html">u64</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-31" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-31" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html">u64</a>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3Cu8%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3Cu8%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-25" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-25" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-CheckedCast%3Cusize%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-CheckedCast%3Cusize%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.checked_cast-35" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.checked_cast-35" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCast.html#tymethod.checked_cast" class="fn">checked_cast</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</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'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Clone-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><a href="#impl-Clone-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><a href="#method.clone" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/clone/trait.Clone.html#tymethod.clone" class="fn">clone</a>(&self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Returns a copy of the value. <a href="https://doc.rust-lang.org/1.84.0/core/clone/trait.Clone.html#tymethod.clone">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_from" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/clone.rs.html#174">Source</a></span><a href="#method.clone_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/clone/trait.Clone.html#method.clone_from" class="fn">clone_from</a>(&mut self, source: &Self)</h4></section></summary><div class='docblock'>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/1.84.0/core/clone/trait.Clone.html#method.clone_from">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Contiguous-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/impl_bytemuck.rs.html#59">Source</a><a href="#impl-Contiguous-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: 'static> <a class="trait" href="../bytemuck/contiguous/trait.Contiguous.html" title="trait bytemuck::contiguous::Contiguous">Contiguous</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedconstant.MAX_VALUE" class="associatedconstant trait-impl"><a class="src rightside" href="../src/fixed/impl_bytemuck.rs.html#59">Source</a><a href="#associatedconstant.MAX_VALUE" class="anchor">§</a><h4 class="code-header">const <a href="../bytemuck/contiguous/trait.Contiguous.html#associatedconstant.MAX_VALUE" class="constant">MAX_VALUE</a>: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a> = 2_147_483_647i32</h4></section></summary><div class='docblock'>The upper <em>inclusive</em> bound for valid instances of this type.</div></details><details class="toggle" open><summary><section id="associatedconstant.MIN_VALUE" class="associatedconstant trait-impl"><a class="src rightside" href="../src/fixed/impl_bytemuck.rs.html#59">Source</a><a href="#associatedconstant.MIN_VALUE" class="anchor">§</a><h4 class="code-header">const <a href="../bytemuck/contiguous/trait.Contiguous.html#associatedconstant.MIN_VALUE" class="constant">MIN_VALUE</a>: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a> = -2_147_483_648i32</h4></section></summary><div class='docblock'>The lower <em>inclusive</em> bound for valid instances of this type.</div></details><details class="toggle" open><summary><section id="associatedtype.Int" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/impl_bytemuck.rs.html#59">Source</a><a href="#associatedtype.Int" class="anchor">§</a><h4 class="code-header">type <a href="../bytemuck/contiguous/trait.Contiguous.html#associatedtype.Int" class="associatedtype">Int</a> = <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a></h4></section></summary><div class='docblock'>The primitive integer type with an identical representation to this
|
||
type. <a href="../bytemuck/contiguous/trait.Contiguous.html#associatedtype.Int">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.from_integer" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/contiguous.rs.html#122">Source</a><a href="#method.from_integer" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/contiguous/trait.Contiguous.html#method.from_integer" class="fn">from_integer</a>(value: Self::<a class="associatedtype" href="../bytemuck/contiguous/trait.Contiguous.html#associatedtype.Int" title="type bytemuck::contiguous::Contiguous::Int">Int</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class='docblock'>If <code>value</code> is within the range for valid instances of this type,
|
||
returns <code>Some(converted_value)</code>, otherwise, returns <code>None</code>. <a href="../bytemuck/contiguous/trait.Contiguous.html#method.from_integer">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.into_integer" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/contiguous.rs.html#158">Source</a><a href="#method.into_integer" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/contiguous/trait.Contiguous.html#method.into_integer" class="fn">into_integer</a>(self) -> Self::<a class="associatedtype" href="../bytemuck/contiguous/trait.Contiguous.html#associatedtype.Int" title="type bytemuck::contiguous::Contiguous::Int">Int</a></h4></section></summary><div class='docblock'>Perform the conversion from <code>C</code> into the underlying integral type. This
|
||
mostly exists otherwise generic code would need unsafe for the <code>value as integer</code> <a href="../bytemuck/contiguous/trait.Contiguous.html#method.into_integer">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Debug-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/display.rs.html#784">Source</a><a href="#impl-Debug-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/display.rs.html#784">Source</a><a href="#method.fmt-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/1.84.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="type" href="https://doc.rust-lang.org/1.84.0/core/fmt/type.Result.html" title="type core::fmt::Result">FmtResult</a></h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Default-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><a href="#impl-Default-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.default" class="method trait-impl"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><a href="#method.default" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/default/trait.Default.html#tymethod.default" class="fn">default</a>() -> Self</h4></section></summary><div class='docblock'>Returns the “default value” for a type. <a href="https://doc.rust-lang.org/1.84.0/core/default/trait.Default.html#tymethod.default">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Display-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/display.rs.html#784">Source</a><a href="#impl-Display-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl"><a class="src rightside" href="../src/fixed/display.rs.html#784">Source</a><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.Display.html#tymethod.fmt" class="fn">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/1.84.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="type" href="https://doc.rust-lang.org/1.84.0/core/fmt/type.Result.html" title="type core::fmt::Result">FmtResult</a></h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.Display.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Div%3C%26FixedI32%3CFrac%3E%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Div%3C%26FixedI32%3CFrac%3E%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a><&<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-17" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-17" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Div.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>/</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.div-3" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.div-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Div.html#tymethod.div" class="fn">div</a>(self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>/</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Div.html#tymethod.div">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Div%3C%26FixedI32%3CFrac%3E%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Div%3C%26FixedI32%3CFrac%3E%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a><&<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-16" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-16" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Div.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>/</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.div-2" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.div-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Div.html#tymethod.div" class="fn">div</a>(self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>/</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Div.html#tymethod.div">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Div%3C%26i32%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Div%3C%26i32%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-47" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-47" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Div.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>/</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.div-7" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.div-7" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Div.html#tymethod.div" class="fn">div</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>/</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Div.html#tymethod.div">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Div%3C%26i32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Div%3C%26i32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-46" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-46" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Div.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>/</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.div-6" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.div-6" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Div.html#tymethod.div" class="fn">div</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>/</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Div.html#tymethod.div">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Div%3CFixedI32%3CFrac%3E%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Div%3CFixedI32%3CFrac%3E%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-15" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-15" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Div.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>/</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.div-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.div-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Div.html#tymethod.div" class="fn">div</a>(self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>/</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Div.html#tymethod.div">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Div%3Ci32%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Div%3Ci32%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-45" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-45" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Div.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>/</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.div-5" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.div-5" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Div.html#tymethod.div" class="fn">div</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>/</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Div.html#tymethod.div">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Div%3Ci32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Div%3Ci32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-44" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-44" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Div.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>/</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.div-4" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.div-4" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Div.html#tymethod.div" class="fn">div</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>/</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Div.html#tymethod.div">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Div-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Div-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Div.html" title="trait core::ops::arith::Div">Div</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-14" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-14" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Div.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>/</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.div" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.div" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Div.html#tymethod.div" class="fn">div</a>(self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>/</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Div.html#tymethod.div">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-DivAssign%3C%26FixedI32%3CFrac%3E%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-DivAssign%3C%26FixedI32%3CFrac%3E%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.DivAssign.html" title="trait core::ops::arith::DivAssign">DivAssign</a><&<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.div_assign-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.div_assign-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.DivAssign.html#tymethod.div_assign" class="fn">div_assign</a>(&mut self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>)</h4></section></summary><div class='docblock'>Performs the <code>/=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.DivAssign.html#tymethod.div_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-DivAssign%3C%26i32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-DivAssign%3C%26i32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.DivAssign.html" title="trait core::ops::arith::DivAssign">DivAssign</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.div_assign-3" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.div_assign-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.DivAssign.html#tymethod.div_assign" class="fn">div_assign</a>(&mut self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>)</h4></section></summary><div class='docblock'>Performs the <code>/=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.DivAssign.html#tymethod.div_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-DivAssign%3Ci32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-DivAssign%3Ci32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.DivAssign.html" title="trait core::ops::arith::DivAssign">DivAssign</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.div_assign-2" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.div_assign-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.DivAssign.html#tymethod.div_assign" class="fn">div_assign</a>(&mut self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>)</h4></section></summary><div class='docblock'>Performs the <code>/=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.DivAssign.html#tymethod.div_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-DivAssign-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-DivAssign-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.DivAssign.html" title="trait core::ops::arith::DivAssign">DivAssign</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.div_assign" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.div_assign" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.DivAssign.html#tymethod.div_assign" class="fn">div_assign</a>(&mut self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>)</h4></section></summary><div class='docblock'>Performs the <code>/=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.DivAssign.html#tymethod.div_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Fixed-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#impl-Fixed-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.Fixed.html" title="trait fixed::traits::Fixed">Fixed</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedconstant.ZERO-1" class="associatedconstant trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#associatedconstant.ZERO-1" class="anchor">§</a><h4 class="code-header">const <a href="traits/trait.Fixed.html#associatedconstant.ZERO" class="constant">ZERO</a>: Self = Self::ZERO</h4></section></summary><div class='docblock'>Zero. <a href="traits/trait.Fixed.html#associatedconstant.ZERO">Read more</a></div></details><details class="toggle" open><summary><section id="associatedconstant.TRY_ONE" class="associatedconstant trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#associatedconstant.TRY_ONE" class="anchor">§</a><h4 class="code-header">const <a href="traits/trait.Fixed.html#associatedconstant.TRY_ONE" class="constant">TRY_ONE</a>: <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self> = Self::TRY_ONE</h4></section></summary><div class='docblock'>One if the fixed-point number can represent it, otherwise <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a>.</div></details><details class="toggle" open><summary><section id="associatedconstant.DELTA-1" class="associatedconstant trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#associatedconstant.DELTA-1" class="anchor">§</a><h4 class="code-header">const <a href="traits/trait.Fixed.html#associatedconstant.DELTA" class="constant">DELTA</a>: Self = Self::DELTA</h4></section></summary><div class='docblock'>The difference between any two successive representable numbers, <i>Δ</i>. <a href="traits/trait.Fixed.html#associatedconstant.DELTA">Read more</a></div></details><details class="toggle" open><summary><section id="associatedconstant.MIN-1" class="associatedconstant trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#associatedconstant.MIN-1" class="anchor">§</a><h4 class="code-header">const <a href="traits/trait.Fixed.html#associatedconstant.MIN" class="constant">MIN</a>: Self = Self::MIN</h4></section></summary><div class='docblock'>The smallest value that can be represented. <a href="traits/trait.Fixed.html#associatedconstant.MIN">Read more</a></div></details><details class="toggle" open><summary><section id="associatedconstant.MAX-1" class="associatedconstant trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#associatedconstant.MAX-1" class="anchor">§</a><h4 class="code-header">const <a href="traits/trait.Fixed.html#associatedconstant.MAX" class="constant">MAX</a>: Self = Self::MAX</h4></section></summary><div class='docblock'>The largest value that can be represented. <a href="traits/trait.Fixed.html#associatedconstant.MAX">Read more</a></div></details><details class="toggle" open><summary><section id="associatedconstant.IS_SIGNED-1" class="associatedconstant trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#associatedconstant.IS_SIGNED-1" class="anchor">§</a><h4 class="code-header">const <a href="traits/trait.Fixed.html#associatedconstant.IS_SIGNED" class="constant">IS_SIGNED</a>: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a> = true</h4></section></summary><div class='docblock'><a href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html" title="primitive bool"><code>true</code></a> if the type is signed. <a href="traits/trait.Fixed.html#associatedconstant.IS_SIGNED">Read more</a></div></details><details class="toggle" open><summary><section id="associatedconstant.INT_NBITS-1" class="associatedconstant trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#associatedconstant.INT_NBITS-1" class="anchor">§</a><h4 class="code-header">const <a href="traits/trait.Fixed.html#associatedconstant.INT_NBITS" class="constant">INT_NBITS</a>: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a> = Self::INT_NBITS</h4></section></summary><div class='docblock'>The number of integer bits. <a href="traits/trait.Fixed.html#associatedconstant.INT_NBITS">Read more</a></div></details><details class="toggle" open><summary><section id="associatedconstant.FRAC_NBITS-1" class="associatedconstant trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#associatedconstant.FRAC_NBITS-1" class="anchor">§</a><h4 class="code-header">const <a href="traits/trait.Fixed.html#associatedconstant.FRAC_NBITS" class="constant">FRAC_NBITS</a>: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a> = Self::FRAC_NBITS</h4></section></summary><div class='docblock'>The number of fractional bits. <a href="traits/trait.Fixed.html#associatedconstant.FRAC_NBITS">Read more</a></div></details><details class="toggle" open><summary><section id="associatedtype.Bits" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#associatedtype.Bits" class="anchor">§</a><h4 class="code-header">type <a href="traits/trait.Fixed.html#associatedtype.Bits" class="associatedtype">Bits</a> = <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a></h4></section></summary><div class='docblock'>The primitive integer underlying type. <a href="traits/trait.Fixed.html#associatedtype.Bits">Read more</a></div></details><details class="toggle" open><summary><section id="associatedtype.NonZeroBits" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#associatedtype.NonZeroBits" class="anchor">§</a><h4 class="code-header">type <a href="traits/trait.Fixed.html#associatedtype.NonZeroBits" class="associatedtype">NonZeroBits</a> = <a class="struct" href="https://doc.rust-lang.org/1.84.0/core/num/nonzero/struct.NonZero.html" title="struct core::num::nonzero::NonZero">NonZero</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>></h4></section></summary><div class='docblock'>The non-zero wrapped version of <a href="traits/trait.Fixed.html#associatedtype.Bits" title="associated type fixed::traits::Fixed::Bits"><code>Bits</code></a>. <a href="traits/trait.Fixed.html#associatedtype.NonZeroBits">Read more</a></div></details><details class="toggle" open><summary><section id="associatedtype.Bytes" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#associatedtype.Bytes" class="anchor">§</a><h4 class="code-header">type <a href="traits/trait.Fixed.html#associatedtype.Bytes" class="associatedtype">Bytes</a> = [<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>; <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.array.html">4</a>]</h4></section></summary><div class='docblock'>A byte array with the same size as the type. <a href="traits/trait.Fixed.html#associatedtype.Bytes">Read more</a></div></details><details class="toggle" open><summary><section id="associatedtype.Frac" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#associatedtype.Frac" class="anchor">§</a><h4 class="code-header">type <a href="traits/trait.Fixed.html#associatedtype.Frac" class="associatedtype">Frac</a> = Frac</h4></section></summary><div class='docblock'>The number of fractional bits as a compile-time <a href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned"><code>Unsigned</code></a> as provided
|
||
by the <a href="https://crates.io/crates/typenum"><em>typenum</em> crate</a>. <a href="traits/trait.Fixed.html#associatedtype.Frac">Read more</a></div></details><details class="toggle" open><summary><section id="associatedtype.Signed" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#associatedtype.Signed" class="anchor">§</a><h4 class="code-header">type <a href="traits/trait.Fixed.html#associatedtype.Signed" class="associatedtype">Signed</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>A signed fixed-point number type with the same number of integer and
|
||
fractional bits as <code>Self</code>. <a href="traits/trait.Fixed.html#associatedtype.Signed">Read more</a></div></details><details class="toggle" open><summary><section id="associatedtype.Unsigned" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#associatedtype.Unsigned" class="anchor">§</a><h4 class="code-header">type <a href="traits/trait.Fixed.html#associatedtype.Unsigned" class="associatedtype">Unsigned</a> = <a class="struct" href="struct.FixedU32.html" title="struct fixed::FixedU32">FixedU32</a><Frac></h4></section></summary><div class='docblock'>An unsigned fixed-point number type with the same number of integer and
|
||
fractional bits as <code>Self</code>. <a href="traits/trait.Fixed.html#associatedtype.Unsigned">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.from_bits-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.from_bits-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.from_bits" class="fn">from_bits</a>(bits: Self::<a class="associatedtype" href="traits/trait.Fixed.html#associatedtype.Bits" title="type fixed::traits::Fixed::Bits">Bits</a>) -> Self</h4></section></summary><div class='docblock'>Creates a fixed-point number that has a bitwise representation
|
||
identical to the given integer. <a href="traits/trait.Fixed.html#tymethod.from_bits">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.to_bits-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.to_bits-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.to_bits" class="fn">to_bits</a>(self) -> Self::<a class="associatedtype" href="traits/trait.Fixed.html#associatedtype.Bits" title="type fixed::traits::Fixed::Bits">Bits</a></h4></section></summary><div class='docblock'>Creates an integer that has a bitwise representation identical
|
||
to the given fixed-point number. <a href="traits/trait.Fixed.html#tymethod.to_bits">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.from_be-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.from_be-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.from_be" class="fn">from_be</a>(fixed: Self) -> Self</h4></section></summary><div class='docblock'>Converts a fixed-point number from big endian to the target’s endianness. <a href="traits/trait.Fixed.html#tymethod.from_be">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.from_le-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.from_le-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.from_le" class="fn">from_le</a>(fixed: Self) -> Self</h4></section></summary><div class='docblock'>Converts a fixed-point number from little endian to the target’s endianness. <a href="traits/trait.Fixed.html#tymethod.from_le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.to_be-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.to_be-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.to_be" class="fn">to_be</a>(self) -> Self</h4></section></summary><div class='docblock'>Converts this fixed-point number to big endian from the target’s endianness. <a href="traits/trait.Fixed.html#tymethod.to_be">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.to_le-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.to_le-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.to_le" class="fn">to_le</a>(self) -> Self</h4></section></summary><div class='docblock'>Converts this fixed-point number to little endian from the target’s endianness. <a href="traits/trait.Fixed.html#tymethod.to_le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.swap_bytes-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.swap_bytes-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.swap_bytes" class="fn">swap_bytes</a>(self) -> Self</h4></section></summary><div class='docblock'>Reverses the byte order of the fixed-point number. <a href="traits/trait.Fixed.html#tymethod.swap_bytes">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.from_be_bytes-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.from_be_bytes-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.from_be_bytes" class="fn">from_be_bytes</a>(bits: Self::<a class="associatedtype" href="traits/trait.Fixed.html#associatedtype.Bytes" title="type fixed::traits::Fixed::Bytes">Bytes</a>) -> Self</h4></section></summary><div class='docblock'>Creates a fixed-point number from its representation as a byte
|
||
array in big endian. <a href="traits/trait.Fixed.html#tymethod.from_be_bytes">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.from_le_bytes-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.from_le_bytes-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.from_le_bytes" class="fn">from_le_bytes</a>(bits: Self::<a class="associatedtype" href="traits/trait.Fixed.html#associatedtype.Bytes" title="type fixed::traits::Fixed::Bytes">Bytes</a>) -> Self</h4></section></summary><div class='docblock'>Creates a fixed-point number from its representation as a byte
|
||
array in little endian. <a href="traits/trait.Fixed.html#tymethod.from_le_bytes">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.from_ne_bytes-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.from_ne_bytes-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.from_ne_bytes" class="fn">from_ne_bytes</a>(bits: Self::<a class="associatedtype" href="traits/trait.Fixed.html#associatedtype.Bytes" title="type fixed::traits::Fixed::Bytes">Bytes</a>) -> Self</h4></section></summary><div class='docblock'>Creates a fixed-point number from its representation as a byte
|
||
array in native endian. <a href="traits/trait.Fixed.html#tymethod.from_ne_bytes">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.to_be_bytes-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.to_be_bytes-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.to_be_bytes" class="fn">to_be_bytes</a>(self) -> Self::<a class="associatedtype" href="traits/trait.Fixed.html#associatedtype.Bytes" title="type fixed::traits::Fixed::Bytes">Bytes</a></h4></section></summary><div class='docblock'>Returns the memory representation of this fixed-point number
|
||
as a byte array in big-endian byte order. <a href="traits/trait.Fixed.html#tymethod.to_be_bytes">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.to_le_bytes-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.to_le_bytes-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.to_le_bytes" class="fn">to_le_bytes</a>(self) -> Self::<a class="associatedtype" href="traits/trait.Fixed.html#associatedtype.Bytes" title="type fixed::traits::Fixed::Bytes">Bytes</a></h4></section></summary><div class='docblock'>Returns the memory representation of this fixed-point number
|
||
as a byte array in little-endian byte order. <a href="traits/trait.Fixed.html#tymethod.to_le_bytes">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.to_ne_bytes-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.to_ne_bytes-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.to_ne_bytes" class="fn">to_ne_bytes</a>(self) -> Self::<a class="associatedtype" href="traits/trait.Fixed.html#associatedtype.Bytes" title="type fixed::traits::Fixed::Bytes">Bytes</a></h4></section></summary><div class='docblock'>Returns the memory representation of this fixed-point number
|
||
as a byte array in native byte order. <a href="traits/trait.Fixed.html#tymethod.to_ne_bytes">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.from_num-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.from_num-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.from_num" class="fn">from_num</a><Src: <a class="trait" href="traits/trait.ToFixed.html" title="trait fixed::traits::ToFixed">ToFixed</a>>(src: Src) -> Self</h4></section></summary><div class='docblock'>Creates a fixed-point number from another number. <a href="traits/trait.Fixed.html#tymethod.from_num">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.to_num-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.to_num-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.to_num" class="fn">to_num</a><Dst: <a class="trait" href="traits/trait.FromFixed.html" title="trait fixed::traits::FromFixed">FromFixed</a>>(self) -> Dst</h4></section></summary><div class='docblock'>Converts a fixed-point number to another number. <a href="traits/trait.Fixed.html#tymethod.to_num">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.checked_from_num-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.checked_from_num-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.checked_from_num" class="fn">checked_from_num</a><Src: <a class="trait" href="traits/trait.ToFixed.html" title="trait fixed::traits::ToFixed">ToFixed</a>>(val: Src) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class='docblock'>Creates a fixed-point number from another number if it fits,
|
||
otherwise returns <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a>. <a href="traits/trait.Fixed.html#tymethod.checked_from_num">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.checked_to_num-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.checked_to_num-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.checked_to_num" class="fn">checked_to_num</a><Dst: <a class="trait" href="traits/trait.FromFixed.html" title="trait fixed::traits::FromFixed">FromFixed</a>>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Dst></h4></section></summary><div class='docblock'>Converts a fixed-point number to another number if it fits,
|
||
otherwise returns <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a>. <a href="traits/trait.Fixed.html#tymethod.checked_to_num">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_from_num-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.saturating_from_num-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.saturating_from_num" class="fn">saturating_from_num</a><Src: <a class="trait" href="traits/trait.ToFixed.html" title="trait fixed::traits::ToFixed">ToFixed</a>>(val: Src) -> Self</h4></section></summary><div class='docblock'>Creates a fixed-point number from another number, saturating the
|
||
value if it does not fit. <a href="traits/trait.Fixed.html#tymethod.saturating_from_num">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_to_num-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.saturating_to_num-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.saturating_to_num" class="fn">saturating_to_num</a><Dst: <a class="trait" href="traits/trait.FromFixed.html" title="trait fixed::traits::FromFixed">FromFixed</a>>(self) -> Dst</h4></section></summary><div class='docblock'>Converts a fixed-point number to another number, saturating the
|
||
value if it does not fit. <a href="traits/trait.Fixed.html#tymethod.saturating_to_num">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_from_num-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.wrapping_from_num-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.wrapping_from_num" class="fn">wrapping_from_num</a><Src: <a class="trait" href="traits/trait.ToFixed.html" title="trait fixed::traits::ToFixed">ToFixed</a>>(val: Src) -> Self</h4></section></summary><div class='docblock'>Creates a fixed-point number from another number, wrapping the
|
||
value on overflow. <a href="traits/trait.Fixed.html#tymethod.wrapping_from_num">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_to_num-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.wrapping_to_num-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.wrapping_to_num" class="fn">wrapping_to_num</a><Dst: <a class="trait" href="traits/trait.FromFixed.html" title="trait fixed::traits::FromFixed">FromFixed</a>>(self) -> Dst</h4></section></summary><div class='docblock'>Converts a fixed-point number to another number, wrapping the
|
||
value on overflow. <a href="traits/trait.Fixed.html#tymethod.wrapping_to_num">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_from_num-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.unwrapped_from_num-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.unwrapped_from_num" class="fn">unwrapped_from_num</a><Src: <a class="trait" href="traits/trait.ToFixed.html" title="trait fixed::traits::ToFixed">ToFixed</a>>(val: Src) -> Self</h4></section></summary><div class='docblock'>Creates a fixed-point number from another number, panicking on overflow. <a href="traits/trait.Fixed.html#tymethod.unwrapped_from_num">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_to_num-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.unwrapped_to_num-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.unwrapped_to_num" class="fn">unwrapped_to_num</a><Dst: <a class="trait" href="traits/trait.FromFixed.html" title="trait fixed::traits::FromFixed">FromFixed</a>>(self) -> Dst</h4></section></summary><div class='docblock'>Converts a fixed-point number to another number, panicking on overflow. <a href="traits/trait.Fixed.html#tymethod.unwrapped_to_num">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_from_num-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.overflowing_from_num-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.overflowing_from_num" class="fn">overflowing_from_num</a><Src: <a class="trait" href="traits/trait.ToFixed.html" title="trait fixed::traits::ToFixed">ToFixed</a>>(val: Src) -> (Self, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Creates a fixed-point number from another number. <a href="traits/trait.Fixed.html#tymethod.overflowing_from_num">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_to_num-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.overflowing_to_num-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.overflowing_to_num" class="fn">overflowing_to_num</a><Dst: <a class="trait" href="traits/trait.FromFixed.html" title="trait fixed::traits::FromFixed">FromFixed</a>>(self) -> (Dst, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Converts a fixed-point number to another number. <a href="traits/trait.Fixed.html#tymethod.overflowing_to_num">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.from_str_binary-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.from_str_binary-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.from_str_binary" class="fn">from_str_binary</a>(src: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self, <a class="struct" href="struct.ParseFixedError.html" title="struct fixed::ParseFixedError">ParseFixedError</a>></h4></section></summary><div class='docblock'>Parses a string slice containing binary digits to return a fixed-point number. <a href="traits/trait.Fixed.html#tymethod.from_str_binary">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.from_str_octal-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.from_str_octal-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.from_str_octal" class="fn">from_str_octal</a>(src: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self, <a class="struct" href="struct.ParseFixedError.html" title="struct fixed::ParseFixedError">ParseFixedError</a>></h4></section></summary><div class='docblock'>Parses a string slice containing octal digits to return a fixed-point number. <a href="traits/trait.Fixed.html#tymethod.from_str_octal">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.from_str_hex-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.from_str_hex-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.from_str_hex" class="fn">from_str_hex</a>(src: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self, <a class="struct" href="struct.ParseFixedError.html" title="struct fixed::ParseFixedError">ParseFixedError</a>></h4></section></summary><div class='docblock'>Parses a string slice containing hexadecimal digits to return a fixed-point number. <a href="traits/trait.Fixed.html#tymethod.from_str_hex">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_from_str-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.saturating_from_str-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.saturating_from_str" class="fn">saturating_from_str</a>(src: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self, <a class="struct" href="struct.ParseFixedError.html" title="struct fixed::ParseFixedError">ParseFixedError</a>></h4></section></summary><div class='docblock'>Parses a string slice containing decimal digits to return a
|
||
fixed-point number, saturating on overflow. <a href="traits/trait.Fixed.html#tymethod.saturating_from_str">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_from_str_binary-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.saturating_from_str_binary-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.saturating_from_str_binary" class="fn">saturating_from_str_binary</a>(src: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self, <a class="struct" href="struct.ParseFixedError.html" title="struct fixed::ParseFixedError">ParseFixedError</a>></h4></section></summary><div class='docblock'>Parses a string slice containing binary digits to return a
|
||
fixed-point number, saturating on overflow. <a href="traits/trait.Fixed.html#tymethod.saturating_from_str_binary">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_from_str_octal-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.saturating_from_str_octal-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.saturating_from_str_octal" class="fn">saturating_from_str_octal</a>(src: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self, <a class="struct" href="struct.ParseFixedError.html" title="struct fixed::ParseFixedError">ParseFixedError</a>></h4></section></summary><div class='docblock'>Parses a string slice containing octal digits to return a
|
||
fixed-point number, saturating on overflow. <a href="traits/trait.Fixed.html#tymethod.saturating_from_str_octal">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_from_str_hex-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.saturating_from_str_hex-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.saturating_from_str_hex" class="fn">saturating_from_str_hex</a>(src: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self, <a class="struct" href="struct.ParseFixedError.html" title="struct fixed::ParseFixedError">ParseFixedError</a>></h4></section></summary><div class='docblock'>Parses a string slice containing hexadecimal digits to return a
|
||
fixed-point number, saturating on overflow. <a href="traits/trait.Fixed.html#tymethod.saturating_from_str_hex">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_from_str-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.wrapping_from_str-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.wrapping_from_str" class="fn">wrapping_from_str</a>(src: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self, <a class="struct" href="struct.ParseFixedError.html" title="struct fixed::ParseFixedError">ParseFixedError</a>></h4></section></summary><div class='docblock'>Parses a string slice containing decimal digits to return a
|
||
fixed-point number, wrapping on overflow. <a href="traits/trait.Fixed.html#tymethod.wrapping_from_str">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_from_str_binary-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.wrapping_from_str_binary-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.wrapping_from_str_binary" class="fn">wrapping_from_str_binary</a>(src: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self, <a class="struct" href="struct.ParseFixedError.html" title="struct fixed::ParseFixedError">ParseFixedError</a>></h4></section></summary><div class='docblock'>Parses a string slice containing binary digits to return a
|
||
fixed-point number, wrapping on overflow. <a href="traits/trait.Fixed.html#tymethod.wrapping_from_str_binary">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_from_str_octal-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.wrapping_from_str_octal-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.wrapping_from_str_octal" class="fn">wrapping_from_str_octal</a>(src: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self, <a class="struct" href="struct.ParseFixedError.html" title="struct fixed::ParseFixedError">ParseFixedError</a>></h4></section></summary><div class='docblock'>Parses a string slice containing octal digits to return a
|
||
fixed-point number, wrapping on overflow. <a href="traits/trait.Fixed.html#tymethod.wrapping_from_str_octal">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_from_str_hex-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.wrapping_from_str_hex-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.wrapping_from_str_hex" class="fn">wrapping_from_str_hex</a>(src: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self, <a class="struct" href="struct.ParseFixedError.html" title="struct fixed::ParseFixedError">ParseFixedError</a>></h4></section></summary><div class='docblock'>Parses a string slice containing hexadecimal digits to return a
|
||
fixed-point number, wrapping on overflow. <a href="traits/trait.Fixed.html#tymethod.wrapping_from_str_hex">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_from_str-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.unwrapped_from_str-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.unwrapped_from_str" class="fn">unwrapped_from_str</a>(src: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.str.html">str</a>) -> Self</h4></section></summary><div class='docblock'>Parses a string slice containing decimal digits to return a
|
||
fixed-point number, panicking on overflow. <a href="traits/trait.Fixed.html#tymethod.unwrapped_from_str">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_from_str_binary-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.unwrapped_from_str_binary-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.unwrapped_from_str_binary" class="fn">unwrapped_from_str_binary</a>(src: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.str.html">str</a>) -> Self</h4></section></summary><div class='docblock'>Parses a string slice containing binary digits to return a
|
||
fixed-point number, panicking on overflow. <a href="traits/trait.Fixed.html#tymethod.unwrapped_from_str_binary">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_from_str_octal-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.unwrapped_from_str_octal-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.unwrapped_from_str_octal" class="fn">unwrapped_from_str_octal</a>(src: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.str.html">str</a>) -> Self</h4></section></summary><div class='docblock'>Parses a string slice containing octal digits to return a
|
||
fixed-point number, panicking on overflow. <a href="traits/trait.Fixed.html#tymethod.unwrapped_from_str_octal">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_from_str_hex-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.unwrapped_from_str_hex-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.unwrapped_from_str_hex" class="fn">unwrapped_from_str_hex</a>(src: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.str.html">str</a>) -> Self</h4></section></summary><div class='docblock'>Parses a string slice containing hexadecimal digits to return a
|
||
fixed-point number, panicking on overflow. <a href="traits/trait.Fixed.html#tymethod.unwrapped_from_str_hex">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_from_str-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.overflowing_from_str-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.overflowing_from_str" class="fn">overflowing_from_str</a>(src: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><(Self, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>), <a class="struct" href="struct.ParseFixedError.html" title="struct fixed::ParseFixedError">ParseFixedError</a>></h4></section></summary><div class='docblock'>Parses a string slice containing decimal digits to return a
|
||
fixed-point number. <a href="traits/trait.Fixed.html#tymethod.overflowing_from_str">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_from_str_binary-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.overflowing_from_str_binary-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.overflowing_from_str_binary" class="fn">overflowing_from_str_binary</a>(
|
||
src: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.str.html">str</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><(Self, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>), <a class="struct" href="struct.ParseFixedError.html" title="struct fixed::ParseFixedError">ParseFixedError</a>></h4></section></summary><div class='docblock'>Parses a string slice containing binary digits to return a
|
||
fixed-point number. <a href="traits/trait.Fixed.html#tymethod.overflowing_from_str_binary">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_from_str_octal-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.overflowing_from_str_octal-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.overflowing_from_str_octal" class="fn">overflowing_from_str_octal</a>(
|
||
src: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.str.html">str</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><(Self, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>), <a class="struct" href="struct.ParseFixedError.html" title="struct fixed::ParseFixedError">ParseFixedError</a>></h4></section></summary><div class='docblock'>Parses a string slice containing octal digits to return a
|
||
fixed-point number. <a href="traits/trait.Fixed.html#tymethod.overflowing_from_str_octal">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_from_str_hex-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.overflowing_from_str_hex-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.overflowing_from_str_hex" class="fn">overflowing_from_str_hex</a>(src: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><(Self, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>), <a class="struct" href="struct.ParseFixedError.html" title="struct fixed::ParseFixedError">ParseFixedError</a>></h4></section></summary><div class='docblock'>Parses a string slice containing hexadecimal digits to return a
|
||
fixed-point number. <a href="traits/trait.Fixed.html#tymethod.overflowing_from_str_hex">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.int-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.int-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.int" class="fn">int</a>(self) -> Self</h4></section></summary><div class='docblock'>Returns the integer part. <a href="traits/trait.Fixed.html#tymethod.int">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.frac-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.frac-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.frac" class="fn">frac</a>(self) -> Self</h4></section></summary><div class='docblock'>Returns the fractional part. <a href="traits/trait.Fixed.html#tymethod.frac">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ceil-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.ceil-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.ceil" class="fn">ceil</a>(self) -> Self</h4></section></summary><div class='docblock'>Rounds to the next integer towards +∞. <a href="traits/trait.Fixed.html#tymethod.ceil">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.floor-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.floor-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.floor" class="fn">floor</a>(self) -> Self</h4></section></summary><div class='docblock'>Rounds to the next integer towards −∞. <a href="traits/trait.Fixed.html#tymethod.floor">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.round_to_zero-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.round_to_zero-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.round_to_zero" class="fn">round_to_zero</a>(self) -> Self</h4></section></summary><div class='docblock'>Rounds to the next integer towards 0. <a href="traits/trait.Fixed.html#tymethod.round_to_zero">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.round-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.round-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.round" class="fn">round</a>(self) -> Self</h4></section></summary><div class='docblock'>Rounds to the nearest integer, with ties rounded away from zero. <a href="traits/trait.Fixed.html#tymethod.round">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.round_ties_even-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.round_ties_even-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.round_ties_even" class="fn">round_ties_even</a>(self) -> Self</h4></section></summary><div class='docblock'>Rounds to the nearest integer, with ties rounded to even. <a href="traits/trait.Fixed.html#tymethod.round_ties_even">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.checked_ceil-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.checked_ceil-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.checked_ceil" class="fn">checked_ceil</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class='docblock'>Checked ceil. Rounds to the next integer towards +∞, returning
|
||
<a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> on overflow. <a href="traits/trait.Fixed.html#tymethod.checked_ceil">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.checked_floor-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.checked_floor-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.checked_floor" class="fn">checked_floor</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class='docblock'>Checked floor. Rounds to the next integer towards −∞, returning
|
||
<a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> on overflow. <a href="traits/trait.Fixed.html#tymethod.checked_floor">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.checked_round-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.checked_round-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.checked_round" class="fn">checked_round</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class='docblock'>Checked round. Rounds to the nearest integer, with ties
|
||
rounded away from zero, returning <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> on overflow. <a href="traits/trait.Fixed.html#tymethod.checked_round">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.checked_round_ties_even-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.checked_round_ties_even-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.checked_round_ties_even" class="fn">checked_round_ties_even</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class='docblock'>Checked round. Rounds to the nearest integer, with ties rounded to even,
|
||
returning <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> on overflow. <a href="traits/trait.Fixed.html#tymethod.checked_round_ties_even">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_ceil-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.saturating_ceil-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.saturating_ceil" class="fn">saturating_ceil</a>(self) -> Self</h4></section></summary><div class='docblock'>Saturating ceil. Rounds to the next integer towards +∞,
|
||
saturating on overflow. <a href="traits/trait.Fixed.html#tymethod.saturating_ceil">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_floor-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.saturating_floor-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.saturating_floor" class="fn">saturating_floor</a>(self) -> Self</h4></section></summary><div class='docblock'>Saturating floor. Rounds to the next integer towards −∞,
|
||
saturating on overflow. <a href="traits/trait.Fixed.html#tymethod.saturating_floor">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_round-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.saturating_round-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.saturating_round" class="fn">saturating_round</a>(self) -> Self</h4></section></summary><div class='docblock'>Saturating round. Rounds to the nearest integer, with ties
|
||
rounded away from zero, and saturating on overflow. <a href="traits/trait.Fixed.html#tymethod.saturating_round">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_round_ties_even-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.saturating_round_ties_even-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.saturating_round_ties_even" class="fn">saturating_round_ties_even</a>(self) -> Self</h4></section></summary><div class='docblock'>Saturating round. Rounds to the nearest integer, with ties rounded
|
||
to_even, and saturating on overflow. <a href="traits/trait.Fixed.html#tymethod.saturating_round_ties_even">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_ceil-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.wrapping_ceil-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.wrapping_ceil" class="fn">wrapping_ceil</a>(self) -> Self</h4></section></summary><div class='docblock'>Wrapping ceil. Rounds to the next integer towards +∞, wrapping
|
||
on overflow. <a href="traits/trait.Fixed.html#tymethod.wrapping_ceil">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_floor-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.wrapping_floor-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.wrapping_floor" class="fn">wrapping_floor</a>(self) -> Self</h4></section></summary><div class='docblock'>Wrapping floor. Rounds to the next integer towards −∞,
|
||
wrapping on overflow. <a href="traits/trait.Fixed.html#tymethod.wrapping_floor">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_round-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.wrapping_round-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.wrapping_round" class="fn">wrapping_round</a>(self) -> Self</h4></section></summary><div class='docblock'>Wrapping round. Rounds to the next integer to the nearest,
|
||
with ties rounded away from zero, and wrapping on overflow. <a href="traits/trait.Fixed.html#tymethod.wrapping_round">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_round_ties_even-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.wrapping_round_ties_even-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.wrapping_round_ties_even" class="fn">wrapping_round_ties_even</a>(self) -> Self</h4></section></summary><div class='docblock'>Wrapping round. Rounds to the next integer to the nearest, with ties
|
||
rounded to even, and wrapping on overflow. <a href="traits/trait.Fixed.html#tymethod.wrapping_round_ties_even">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_ceil-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.unwrapped_ceil-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.unwrapped_ceil" class="fn">unwrapped_ceil</a>(self) -> Self</h4></section></summary><div class='docblock'>Unwrapped ceil. Rounds to the next integer towards +∞,
|
||
panicking on overflow. <a href="traits/trait.Fixed.html#tymethod.unwrapped_ceil">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_floor-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.unwrapped_floor-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.unwrapped_floor" class="fn">unwrapped_floor</a>(self) -> Self</h4></section></summary><div class='docblock'>Unwrapped floor. Rounds to the next integer towards −∞,
|
||
panicking on overflow. <a href="traits/trait.Fixed.html#tymethod.unwrapped_floor">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_round-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.unwrapped_round-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.unwrapped_round" class="fn">unwrapped_round</a>(self) -> Self</h4></section></summary><div class='docblock'>Unwrapped round. Rounds to the next integer to the nearest,
|
||
with ties rounded away from zero, and panicking on overflow. <a href="traits/trait.Fixed.html#tymethod.unwrapped_round">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_round_ties_even-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.unwrapped_round_ties_even-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.unwrapped_round_ties_even" class="fn">unwrapped_round_ties_even</a>(self) -> Self</h4></section></summary><div class='docblock'>Unwrapped round. Rounds to the next integer to the nearest, with ties
|
||
rounded to even, and panicking on overflow. <a href="traits/trait.Fixed.html#tymethod.unwrapped_round_ties_even">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_ceil-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.overflowing_ceil-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.overflowing_ceil" class="fn">overflowing_ceil</a>(self) -> (Self, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Overflowing ceil. Rounds to the next integer towards +∞. <a href="traits/trait.Fixed.html#tymethod.overflowing_ceil">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_floor-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.overflowing_floor-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.overflowing_floor" class="fn">overflowing_floor</a>(self) -> (Self, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Overflowing floor. Rounds to the next integer towards −∞. <a href="traits/trait.Fixed.html#tymethod.overflowing_floor">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_round-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.overflowing_round-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.overflowing_round" class="fn">overflowing_round</a>(self) -> (Self, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Overflowing round. Rounds to the next integer to the nearest,
|
||
with ties rounded away from zero. <a href="traits/trait.Fixed.html#tymethod.overflowing_round">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_round_ties_even-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.overflowing_round_ties_even-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.overflowing_round_ties_even" class="fn">overflowing_round_ties_even</a>(self) -> (Self, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Overflowing round. Rounds to the next integer to the nearest, with ties
|
||
rounded to even. <a href="traits/trait.Fixed.html#tymethod.overflowing_round_ties_even">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.count_ones-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.count_ones-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.count_ones" class="fn">count_ones</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a></h4></section></summary><div class='docblock'>Returns the number of ones in the binary representation. <a href="traits/trait.Fixed.html#tymethod.count_ones">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.count_zeros-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.count_zeros-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.count_zeros" class="fn">count_zeros</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a></h4></section></summary><div class='docblock'>Returns the number of zeros in the binary representation. <a href="traits/trait.Fixed.html#tymethod.count_zeros">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.leading_ones-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.leading_ones-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.leading_ones" class="fn">leading_ones</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a></h4></section></summary><div class='docblock'>Returns the number of leading ones in the binary representation. <a href="traits/trait.Fixed.html#tymethod.leading_ones">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.leading_zeros-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.leading_zeros-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.leading_zeros" class="fn">leading_zeros</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a></h4></section></summary><div class='docblock'>Returns the number of leading zeros in the binary representation. <a href="traits/trait.Fixed.html#tymethod.leading_zeros">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.trailing_ones-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.trailing_ones-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.trailing_ones" class="fn">trailing_ones</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a></h4></section></summary><div class='docblock'>Returns the number of trailing ones in the binary representation. <a href="traits/trait.Fixed.html#tymethod.trailing_ones">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.trailing_zeros-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.trailing_zeros-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.trailing_zeros" class="fn">trailing_zeros</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a></h4></section></summary><div class='docblock'>Returns the number of trailing zeros in the binary representation. <a href="traits/trait.Fixed.html#tymethod.trailing_zeros">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.int_log2-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.int_log2-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.int_log2" class="fn">int_log2</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a></h4></section></summary><div class='docblock'>Integer base-2 logarithm, rounded down. <a href="traits/trait.Fixed.html#tymethod.int_log2">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.int_log10-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.int_log10-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.int_log10" class="fn">int_log10</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a></h4></section></summary><div class='docblock'>Integer base-10 logarithm, rounded down. <a href="traits/trait.Fixed.html#tymethod.int_log10">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.int_log-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.int_log-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.int_log" class="fn">int_log</a>(self, base: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a></h4></section></summary><div class='docblock'>Integer logarithm to the specified base, rounded down. <a href="traits/trait.Fixed.html#tymethod.int_log">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.checked_int_log2-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.checked_int_log2-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.checked_int_log2" class="fn">checked_int_log2</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>></h4></section></summary><div class='docblock'>Checked integer base-2 logarithm, rounded down. Returns the
|
||
logarithm or <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> if the fixed-point number is ≤ 0. <a href="traits/trait.Fixed.html#tymethod.checked_int_log2">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.checked_int_log10-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.checked_int_log10-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.checked_int_log10" class="fn">checked_int_log10</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>></h4></section></summary><div class='docblock'>Checked integer base-10 logarithm, rounded down. Returns the
|
||
logarithm or <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> if the fixed-point number is ≤ 0. <a href="traits/trait.Fixed.html#tymethod.checked_int_log10">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.checked_int_log-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.checked_int_log-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.checked_int_log" class="fn">checked_int_log</a>(self, base: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>></h4></section></summary><div class='docblock'>Checked integer logarithm to the specified base, rounded down. Returns
|
||
the logarithm, or <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> if the fixed-point number is ≤ 0 or if
|
||
the base is < 2. <a href="traits/trait.Fixed.html#tymethod.checked_int_log">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.reverse_bits-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.reverse_bits-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.reverse_bits" class="fn">reverse_bits</a>(self) -> Self</h4></section></summary><div class='docblock'>Reverses the order of the bits of the fixed-point number. <a href="traits/trait.Fixed.html#tymethod.reverse_bits">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.rotate_left-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.rotate_left-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.rotate_left" class="fn">rotate_left</a>(self, n: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>) -> Self</h4></section></summary><div class='docblock'>Shifts to the left by <code>n</code> bits, wrapping the truncated bits to the right end. <a href="traits/trait.Fixed.html#tymethod.rotate_left">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.rotate_right-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.rotate_right-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.rotate_right" class="fn">rotate_right</a>(self, n: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>) -> Self</h4></section></summary><div class='docblock'>Shifts to the right by <code>n</code> bits, wrapping the truncated bits to the left end. <a href="traits/trait.Fixed.html#tymethod.rotate_right">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.is_zero-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.is_zero-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.is_zero" class="fn">is_zero</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns <a href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html" title="primitive bool"><code>true</code></a> if the number is zero. <a href="traits/trait.Fixed.html#tymethod.is_zero">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.dist-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.dist-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.dist" class="fn">dist</a>(self, other: Self) -> Self</h4></section></summary><div class='docblock'>Returns the distance from <code>self</code> to <code>other</code>. <a href="traits/trait.Fixed.html#tymethod.dist">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.abs_diff-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.abs_diff-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.abs_diff" class="fn">abs_diff</a>(self, other: Self) -> Self::<a class="associatedtype" href="traits/trait.Fixed.html#associatedtype.Unsigned" title="type fixed::traits::Fixed::Unsigned">Unsigned</a></h4></section></summary><div class='docblock'>Returns the absolute value of the difference between <code>self</code> and <code>other</code>
|
||
using an unsigned type without any wrapping or panicking. <a href="traits/trait.Fixed.html#tymethod.abs_diff">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.mean-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.mean-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.mean" class="fn">mean</a>(self, other: Self) -> Self</h4></section></summary><div class='docblock'>Returns the mean of <code>self</code> and <code>other</code>. <a href="traits/trait.Fixed.html#tymethod.mean">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.hypot-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.hypot-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.hypot" class="fn">hypot</a>(self, other: Self) -> Self</h4></section></summary><div class='docblock'>Compute the hypotenuse of a right triange. <a href="traits/trait.Fixed.html#tymethod.hypot">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.recip-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.recip-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.recip" class="fn">recip</a>(self) -> Self</h4></section></summary><div class='docblock'>Returns the reciprocal. <a href="traits/trait.Fixed.html#tymethod.recip">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.next_multiple_of-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.next_multiple_of-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.next_multiple_of" class="fn">next_multiple_of</a>(self, other: Self) -> Self</h4></section></summary><div class='docblock'>Returns the next multiple of <code>other</code>. <a href="traits/trait.Fixed.html#tymethod.next_multiple_of">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.mul_add-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.mul_add-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.mul_add" class="fn">mul_add</a>(self, mul: Self, add: Self) -> Self</h4></section></summary><div class='docblock'>Multiply and add. Returns <code>self</code> × <code>mul</code> + <code>add</code>. <a href="traits/trait.Fixed.html#tymethod.mul_add">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.add_prod-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.add_prod-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.add_prod" class="fn">add_prod</a>(self, a: Self, b: Self) -> Self</h4></section></summary><div class='docblock'>Adds <code>self</code> to the product <code>a</code> × <code>b</code>. <a href="traits/trait.Fixed.html#tymethod.add_prod">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.mul_acc-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.mul_acc-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.mul_acc" class="fn">mul_acc</a>(&mut self, a: Self, b: Self)</h4></section></summary><div class='docblock'>Multiply and accumulate. Adds (<code>a</code> × <code>b</code>) to <code>self</code>. <a href="traits/trait.Fixed.html#tymethod.mul_acc">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.div_euclid-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.div_euclid-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.div_euclid" class="fn">div_euclid</a>(self, rhs: Self) -> Self</h4></section></summary><div class='docblock'>Euclidean division by an integer. <a href="traits/trait.Fixed.html#tymethod.div_euclid">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.rem_euclid-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.rem_euclid-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.rem_euclid" class="fn">rem_euclid</a>(self, rhs: Self) -> Self</h4></section></summary><div class='docblock'>Remainder for Euclidean division. <a href="traits/trait.Fixed.html#tymethod.rem_euclid">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.div_euclid_int-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.div_euclid_int-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.div_euclid_int" class="fn">div_euclid_int</a>(self, rhs: Self::<a class="associatedtype" href="traits/trait.Fixed.html#associatedtype.Bits" title="type fixed::traits::Fixed::Bits">Bits</a>) -> Self</h4></section></summary><div class='docblock'>Euclidean division by an integer. <a href="traits/trait.Fixed.html#tymethod.div_euclid_int">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.rem_euclid_int-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.rem_euclid_int-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.rem_euclid_int" class="fn">rem_euclid_int</a>(self, rhs: Self::<a class="associatedtype" href="traits/trait.Fixed.html#associatedtype.Bits" title="type fixed::traits::Fixed::Bits">Bits</a>) -> Self</h4></section></summary><div class='docblock'>Remainder for Euclidean division by an integer. <a href="traits/trait.Fixed.html#tymethod.rem_euclid_int">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.sqrt-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.sqrt-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.sqrt" class="fn">sqrt</a>(self) -> Self</h4></section></summary><div class='docblock'>Returns the square root. <a href="traits/trait.Fixed.html#tymethod.sqrt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lerp-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.lerp-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.lerp" class="fn">lerp</a>(self, start: Self, end: Self) -> Self</h4></section></summary><div class='docblock'>Linear interpolation between <code>start</code> and <code>end</code>. <a href="traits/trait.Fixed.html#tymethod.lerp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.inv_lerp-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.inv_lerp-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.inv_lerp" class="fn">inv_lerp</a>(self, start: Self, end: Self) -> Self</h4></section></summary><div class='docblock'>Inverse linear interpolation between <code>start</code> and <code>end</code>. <a href="traits/trait.Fixed.html#tymethod.inv_lerp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.checked_neg-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.checked_neg-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.checked_neg" class="fn">checked_neg</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class='docblock'>Checked negation. Returns the negated value, or <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> on overflow. <a href="traits/trait.Fixed.html#tymethod.checked_neg">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.checked_add-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.checked_add-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.checked_add" class="fn">checked_add</a>(self, rhs: Self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class='docblock'>Checked addition. Returns the sum, or <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> on overflow. <a href="traits/trait.Fixed.html#tymethod.checked_add">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.checked_sub-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.checked_sub-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.checked_sub" class="fn">checked_sub</a>(self, rhs: Self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class='docblock'>Checked subtraction. Returns the difference, or <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> on overflow. <a href="traits/trait.Fixed.html#tymethod.checked_sub">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.checked_mul-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.checked_mul-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.checked_mul" class="fn">checked_mul</a>(self, rhs: Self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class='docblock'>Checked multiplication. Returns the product, or <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> on overflow. <a href="traits/trait.Fixed.html#tymethod.checked_mul">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.checked_div-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.checked_div-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.checked_div" class="fn">checked_div</a>(self, rhs: Self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class='docblock'>Checked division. Returns the quotient, or <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> if the
|
||
divisor is zero or on overflow. <a href="traits/trait.Fixed.html#tymethod.checked_div">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.checked_rem-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.checked_rem-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.checked_rem" class="fn">checked_rem</a>(self, rhs: Self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class='docblock'>Checked remainder. Returns the remainder, or <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> if the
|
||
divisor is zero. <a href="traits/trait.Fixed.html#tymethod.checked_rem">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.checked_recip-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.checked_recip-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.checked_recip" class="fn">checked_recip</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class='docblock'>Checked reciprocal. Returns the reciprocal, or <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> if
|
||
<code>self</code> is zero or on overflow. <a href="traits/trait.Fixed.html#tymethod.checked_recip">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.checked_next_multiple_of-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.checked_next_multiple_of-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.checked_next_multiple_of" class="fn">checked_next_multiple_of</a>(self, other: Self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class='docblock'>Checked next multiple of <code>other</code>. Returns the next multiple, or <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a>
|
||
if <code>other</code> is zero or on overflow. <a href="traits/trait.Fixed.html#tymethod.checked_next_multiple_of">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.checked_mul_add-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.checked_mul_add-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.checked_mul_add" class="fn">checked_mul_add</a>(self, mul: Self, add: Self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class='docblock'>Checked multiply and add. Returns <code>self</code> × <code>mul</code> + <code>add</code>, or <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> on overflow. <a href="traits/trait.Fixed.html#tymethod.checked_mul_add">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.checked_add_prod-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.checked_add_prod-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.checked_add_prod" class="fn">checked_add_prod</a>(self, a: Self, b: Self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class='docblock'>Adds <code>self</code> to the product <code>a</code> × <code>b</code>, returning <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> on overflow. <a href="traits/trait.Fixed.html#tymethod.checked_add_prod">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.checked_mul_acc-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.checked_mul_acc-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.checked_mul_acc" class="fn">checked_mul_acc</a>(&mut self, a: Self, b: Self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.unit.html">()</a>></h4></section></summary><div class='docblock'>Checked multiply and accumulate. Adds (<code>a</code> × <code>b</code>) to <code>self</code>, or returns
|
||
<a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> on overflow. <a href="traits/trait.Fixed.html#tymethod.checked_mul_acc">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.checked_div_euclid-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.checked_div_euclid-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.checked_div_euclid" class="fn">checked_div_euclid</a>(self, rhs: Self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class='docblock'>Checked remainder for Euclidean division. Returns the
|
||
remainder, or <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> if the divisor is zero or the division
|
||
results in overflow. <a href="traits/trait.Fixed.html#tymethod.checked_div_euclid">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.checked_rem_euclid-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.checked_rem_euclid-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.checked_rem_euclid" class="fn">checked_rem_euclid</a>(self, rhs: Self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class='docblock'>Checked remainder for Euclidean division. Returns the
|
||
remainder, or <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> if the divisor is zero. <a href="traits/trait.Fixed.html#tymethod.checked_rem_euclid">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.checked_mul_int-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.checked_mul_int-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.checked_mul_int" class="fn">checked_mul_int</a>(self, rhs: Self::<a class="associatedtype" href="traits/trait.Fixed.html#associatedtype.Bits" title="type fixed::traits::Fixed::Bits">Bits</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class='docblock'>Checked multiplication by an integer. Returns the product, or
|
||
<a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> on overflow. <a href="traits/trait.Fixed.html#tymethod.checked_mul_int">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.checked_div_int-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.checked_div_int-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.checked_div_int" class="fn">checked_div_int</a>(self, rhs: Self::<a class="associatedtype" href="traits/trait.Fixed.html#associatedtype.Bits" title="type fixed::traits::Fixed::Bits">Bits</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class='docblock'>Checked division by an integer. Returns the quotient, or
|
||
<a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> if the divisor is zero or if the division results in
|
||
overflow. <a href="traits/trait.Fixed.html#tymethod.checked_div_int">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.checked_rem_int-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.checked_rem_int-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.checked_rem_int" class="fn">checked_rem_int</a>(self, rhs: Self::<a class="associatedtype" href="traits/trait.Fixed.html#associatedtype.Bits" title="type fixed::traits::Fixed::Bits">Bits</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class='docblock'>Checked fixed-point remainder for division by an integer.
|
||
Returns the remainder, or <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> if the divisor is zero or
|
||
if the division results in overflow. <a href="traits/trait.Fixed.html#tymethod.checked_rem_int">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.checked_div_euclid_int-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.checked_div_euclid_int-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.checked_div_euclid_int" class="fn">checked_div_euclid_int</a>(self, rhs: Self::<a class="associatedtype" href="traits/trait.Fixed.html#associatedtype.Bits" title="type fixed::traits::Fixed::Bits">Bits</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class='docblock'>Checked Euclidean division by an integer. Returns the
|
||
quotient, or <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> if the divisor is zero or if the
|
||
division results in overflow. <a href="traits/trait.Fixed.html#tymethod.checked_div_euclid_int">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.checked_rem_euclid_int-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.checked_rem_euclid_int-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.checked_rem_euclid_int" class="fn">checked_rem_euclid_int</a>(self, rhs: Self::<a class="associatedtype" href="traits/trait.Fixed.html#associatedtype.Bits" title="type fixed::traits::Fixed::Bits">Bits</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class='docblock'>Checked remainder for Euclidean division by an integer.
|
||
Returns the remainder, or <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> if the divisor is zero or
|
||
if the remainder results in overflow. <a href="traits/trait.Fixed.html#tymethod.checked_rem_euclid_int">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.checked_shl-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.checked_shl-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.checked_shl" class="fn">checked_shl</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class='docblock'>Checked shift left. Returns the shifted number, or <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> if
|
||
<code>rhs</code> ≥ the number of bits. <a href="traits/trait.Fixed.html#tymethod.checked_shl">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.checked_shr-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.checked_shr-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.checked_shr" class="fn">checked_shr</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class='docblock'>Checked shift right. Returns the shifted number, or <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a>
|
||
if <code>rhs</code> ≥ the number of bits. <a href="traits/trait.Fixed.html#tymethod.checked_shr">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.checked_dist-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.checked_dist-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.checked_dist" class="fn">checked_dist</a>(self, other: Self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class='docblock'>Checked distance. Returns the distance from <code>self</code> to <code>other</code>, or
|
||
<a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> on overflow. <a href="traits/trait.Fixed.html#tymethod.checked_dist">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.checked_hypot-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.checked_hypot-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.checked_hypot" class="fn">checked_hypot</a>(self, other: Self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class='docblock'>Compute the hypotenuse of a right triange, returning <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> on
|
||
overflow. <a href="traits/trait.Fixed.html#tymethod.checked_hypot">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.checked_sqrt-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.checked_sqrt-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.checked_sqrt" class="fn">checked_sqrt</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class='docblock'>Checked square root. Returns <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> for negative numbers or on overflow. <a href="traits/trait.Fixed.html#tymethod.checked_sqrt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.checked_lerp-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.checked_lerp-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.checked_lerp" class="fn">checked_lerp</a>(self, start: Self, end: Self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class='docblock'>Checked linear interpolation between <code>start</code> and <code>end</code>. Returns <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a>
|
||
on overflow. <a href="traits/trait.Fixed.html#tymethod.checked_lerp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.checked_inv_lerp-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.checked_inv_lerp-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.checked_inv_lerp" class="fn">checked_inv_lerp</a>(self, start: Self, end: Self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class='docblock'>Checked inverse linear interpolation between <code>start</code> and <code>end</code>. Returns
|
||
<a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> when <code>start</code> = <code>end</code> or on overflow. <a href="traits/trait.Fixed.html#tymethod.checked_inv_lerp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_neg-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.saturating_neg-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.saturating_neg" class="fn">saturating_neg</a>(self) -> Self</h4></section></summary><div class='docblock'>Saturated negation. Returns the negated value, saturating on overflow. <a href="traits/trait.Fixed.html#tymethod.saturating_neg">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_add-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.saturating_add-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.saturating_add" class="fn">saturating_add</a>(self, rhs: Self) -> Self</h4></section></summary><div class='docblock'>Saturating addition. Returns the sum, saturating on overflow. <a href="traits/trait.Fixed.html#tymethod.saturating_add">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_sub-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.saturating_sub-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.saturating_sub" class="fn">saturating_sub</a>(self, rhs: Self) -> Self</h4></section></summary><div class='docblock'>Saturating subtraction. Returns the difference, saturating on overflow. <a href="traits/trait.Fixed.html#tymethod.saturating_sub">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_mul-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.saturating_mul-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.saturating_mul" class="fn">saturating_mul</a>(self, rhs: Self) -> Self</h4></section></summary><div class='docblock'>Saturating multiplication. Returns the product, saturating on overflow. <a href="traits/trait.Fixed.html#tymethod.saturating_mul">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_div-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.saturating_div-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.saturating_div" class="fn">saturating_div</a>(self, rhs: Self) -> Self</h4></section></summary><div class='docblock'>Saturating division. Returns the quotient, saturating on overflow. <a href="traits/trait.Fixed.html#tymethod.saturating_div">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_recip-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.saturating_recip-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.saturating_recip" class="fn">saturating_recip</a>(self) -> Self</h4></section></summary><div class='docblock'>Saturating reciprocal. <a href="traits/trait.Fixed.html#tymethod.saturating_recip">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_next_multiple_of-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.saturating_next_multiple_of-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.saturating_next_multiple_of" class="fn">saturating_next_multiple_of</a>(self, other: Self) -> Self</h4></section></summary><div class='docblock'>Saturating next multiple of <code>other</code>. <a href="traits/trait.Fixed.html#tymethod.saturating_next_multiple_of">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_mul_add-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.saturating_mul_add-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.saturating_mul_add" class="fn">saturating_mul_add</a>(self, mul: Self, add: Self) -> Self</h4></section></summary><div class='docblock'>Saturating multiply and add. Returns <code>self</code> × <code>mul</code> + <code>add</code>, saturating on overflow. <a href="traits/trait.Fixed.html#tymethod.saturating_mul_add">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_add_prod-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.saturating_add_prod-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.saturating_add_prod" class="fn">saturating_add_prod</a>(self, a: Self, b: Self) -> Self</h4></section></summary><div class='docblock'>Adds <code>self</code> to the product <code>a</code> × <code>b</code>, saturating on overflow. <a href="traits/trait.Fixed.html#tymethod.saturating_add_prod">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_mul_acc-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.saturating_mul_acc-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.saturating_mul_acc" class="fn">saturating_mul_acc</a>(&mut self, a: Self, b: Self)</h4></section></summary><div class='docblock'>Saturating multiply and add. Adds (<code>a</code> × <code>b</code>) to <code>self</code>, saturating on overflow. <a href="traits/trait.Fixed.html#tymethod.saturating_mul_acc">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_div_euclid-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.saturating_div_euclid-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.saturating_div_euclid" class="fn">saturating_div_euclid</a>(self, rhs: Self) -> Self</h4></section></summary><div class='docblock'>Saturating Euclidean division. Returns the quotient, saturating on overflow. <a href="traits/trait.Fixed.html#tymethod.saturating_div_euclid">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_mul_int-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.saturating_mul_int-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.saturating_mul_int" class="fn">saturating_mul_int</a>(self, rhs: Self::<a class="associatedtype" href="traits/trait.Fixed.html#associatedtype.Bits" title="type fixed::traits::Fixed::Bits">Bits</a>) -> Self</h4></section></summary><div class='docblock'>Saturating multiplication by an integer. Returns the product, saturating on overflow. <a href="traits/trait.Fixed.html#tymethod.saturating_mul_int">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_div_int-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.saturating_div_int-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.saturating_div_int" class="fn">saturating_div_int</a>(self, rhs: Self::<a class="associatedtype" href="traits/trait.Fixed.html#associatedtype.Bits" title="type fixed::traits::Fixed::Bits">Bits</a>) -> Self</h4></section></summary><div class='docblock'>Saturating division by an integer. Returns the quotient, saturating on overflow. <a href="traits/trait.Fixed.html#tymethod.saturating_div_int">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_div_euclid_int-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.saturating_div_euclid_int-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.saturating_div_euclid_int" class="fn">saturating_div_euclid_int</a>(self, rhs: Self::<a class="associatedtype" href="traits/trait.Fixed.html#associatedtype.Bits" title="type fixed::traits::Fixed::Bits">Bits</a>) -> Self</h4></section></summary><div class='docblock'>Saturating Euclidean division by an integer. Returns the
|
||
quotient, saturating on overflow. <a href="traits/trait.Fixed.html#tymethod.saturating_div_euclid_int">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_rem_euclid_int-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.saturating_rem_euclid_int-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.saturating_rem_euclid_int" class="fn">saturating_rem_euclid_int</a>(self, rhs: Self::<a class="associatedtype" href="traits/trait.Fixed.html#associatedtype.Bits" title="type fixed::traits::Fixed::Bits">Bits</a>) -> Self</h4></section></summary><div class='docblock'>Saturating remainder for Euclidean division by an integer.
|
||
Returns the remainder, saturating on overflow. <a href="traits/trait.Fixed.html#tymethod.saturating_rem_euclid_int">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_dist-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.saturating_dist-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.saturating_dist" class="fn">saturating_dist</a>(self, other: Self) -> Self</h4></section></summary><div class='docblock'>Saturating distance. Returns the distance from <code>self</code> to <code>other</code>,
|
||
saturating on overflow. <a href="traits/trait.Fixed.html#tymethod.saturating_dist">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_hypot-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.saturating_hypot-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.saturating_hypot" class="fn">saturating_hypot</a>(self, other: Self) -> Self</h4></section></summary><div class='docblock'>Compute the hypotenuse of a right triange, saturating on overflow. <a href="traits/trait.Fixed.html#tymethod.saturating_hypot">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_sqrt-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.saturating_sqrt-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.saturating_sqrt" class="fn">saturating_sqrt</a>(self) -> Self</h4></section></summary><div class='docblock'>Returns the square root, saturating on overflow. <a href="traits/trait.Fixed.html#tymethod.saturating_sqrt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_lerp-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.saturating_lerp-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.saturating_lerp" class="fn">saturating_lerp</a>(self, start: Self, end: Self) -> Self</h4></section></summary><div class='docblock'>Linear interpolation between <code>start</code> and <code>end</code>, saturating on overflow. <a href="traits/trait.Fixed.html#tymethod.saturating_lerp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_inv_lerp-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.saturating_inv_lerp-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.saturating_inv_lerp" class="fn">saturating_inv_lerp</a>(self, start: Self, end: Self) -> Self</h4></section></summary><div class='docblock'>Inverse linear interpolation between <code>start</code> and <code>end</code>, saturating on overflow. <a href="traits/trait.Fixed.html#tymethod.saturating_inv_lerp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_neg-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.wrapping_neg-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.wrapping_neg" class="fn">wrapping_neg</a>(self) -> Self</h4></section></summary><div class='docblock'>Wrapping negation. Returns the negated value, wrapping on overflow. <a href="traits/trait.Fixed.html#tymethod.wrapping_neg">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_add-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.wrapping_add-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.wrapping_add" class="fn">wrapping_add</a>(self, rhs: Self) -> Self</h4></section></summary><div class='docblock'>Wrapping addition. Returns the sum, wrapping on overflow. <a href="traits/trait.Fixed.html#tymethod.wrapping_add">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_sub-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.wrapping_sub-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.wrapping_sub" class="fn">wrapping_sub</a>(self, rhs: Self) -> Self</h4></section></summary><div class='docblock'>Wrapping subtraction. Returns the difference, wrapping on overflow. <a href="traits/trait.Fixed.html#tymethod.wrapping_sub">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_mul-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.wrapping_mul-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.wrapping_mul" class="fn">wrapping_mul</a>(self, rhs: Self) -> Self</h4></section></summary><div class='docblock'>Wrapping multiplication. Returns the product, wrapping on overflow. <a href="traits/trait.Fixed.html#tymethod.wrapping_mul">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_div-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.wrapping_div-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.wrapping_div" class="fn">wrapping_div</a>(self, rhs: Self) -> Self</h4></section></summary><div class='docblock'>Wrapping division. Returns the quotient, wrapping on overflow. <a href="traits/trait.Fixed.html#tymethod.wrapping_div">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_recip-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.wrapping_recip-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.wrapping_recip" class="fn">wrapping_recip</a>(self) -> Self</h4></section></summary><div class='docblock'>Wrapping reciprocal. <a href="traits/trait.Fixed.html#tymethod.wrapping_recip">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_next_multiple_of-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.wrapping_next_multiple_of-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.wrapping_next_multiple_of" class="fn">wrapping_next_multiple_of</a>(self, other: Self) -> Self</h4></section></summary><div class='docblock'>Wrapping next multiple of <code>other</code>. <a href="traits/trait.Fixed.html#tymethod.wrapping_next_multiple_of">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_mul_add-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.wrapping_mul_add-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.wrapping_mul_add" class="fn">wrapping_mul_add</a>(self, mul: Self, add: Self) -> Self</h4></section></summary><div class='docblock'>Wrapping multiply and add. Returns <code>self</code> × <code>mul</code> + <code>add</code>, wrapping on overflow. <a href="traits/trait.Fixed.html#tymethod.wrapping_mul_add">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_add_prod-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.wrapping_add_prod-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.wrapping_add_prod" class="fn">wrapping_add_prod</a>(self, a: Self, b: Self) -> Self</h4></section></summary><div class='docblock'>Adds <code>self</code> to the product <code>a</code> × <code>b</code>, wrapping on overflow. <a href="traits/trait.Fixed.html#tymethod.wrapping_add_prod">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_mul_acc-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.wrapping_mul_acc-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.wrapping_mul_acc" class="fn">wrapping_mul_acc</a>(&mut self, a: Self, b: Self)</h4></section></summary><div class='docblock'>Wrapping multiply and accumulate. Adds (<code>a</code> × <code>b</code>) to <code>self</code>, wrapping on overflow. <a href="traits/trait.Fixed.html#tymethod.wrapping_mul_acc">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_div_euclid-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.wrapping_div_euclid-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.wrapping_div_euclid" class="fn">wrapping_div_euclid</a>(self, rhs: Self) -> Self</h4></section></summary><div class='docblock'>Wrapping Euclidean division. Returns the quotient, wrapping on overflow. <a href="traits/trait.Fixed.html#tymethod.wrapping_div_euclid">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_mul_int-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.wrapping_mul_int-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.wrapping_mul_int" class="fn">wrapping_mul_int</a>(self, rhs: Self::<a class="associatedtype" href="traits/trait.Fixed.html#associatedtype.Bits" title="type fixed::traits::Fixed::Bits">Bits</a>) -> Self</h4></section></summary><div class='docblock'>Wrapping multiplication by an integer. Returns the product, wrapping on overflow. <a href="traits/trait.Fixed.html#tymethod.wrapping_mul_int">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_div_int-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.wrapping_div_int-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.wrapping_div_int" class="fn">wrapping_div_int</a>(self, rhs: Self::<a class="associatedtype" href="traits/trait.Fixed.html#associatedtype.Bits" title="type fixed::traits::Fixed::Bits">Bits</a>) -> Self</h4></section></summary><div class='docblock'>Wrapping division by an integer. Returns the quotient, wrapping on overflow. <a href="traits/trait.Fixed.html#tymethod.wrapping_div_int">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_div_euclid_int-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.wrapping_div_euclid_int-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.wrapping_div_euclid_int" class="fn">wrapping_div_euclid_int</a>(self, rhs: Self::<a class="associatedtype" href="traits/trait.Fixed.html#associatedtype.Bits" title="type fixed::traits::Fixed::Bits">Bits</a>) -> Self</h4></section></summary><div class='docblock'>Wrapping Euclidean division by an integer. Returns the
|
||
quotient, wrapping on overflow. <a href="traits/trait.Fixed.html#tymethod.wrapping_div_euclid_int">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_rem_euclid_int-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.wrapping_rem_euclid_int-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.wrapping_rem_euclid_int" class="fn">wrapping_rem_euclid_int</a>(self, rhs: Self::<a class="associatedtype" href="traits/trait.Fixed.html#associatedtype.Bits" title="type fixed::traits::Fixed::Bits">Bits</a>) -> Self</h4></section></summary><div class='docblock'>Wrapping remainder for Euclidean division by an integer.
|
||
Returns the remainder, wrapping on overflow. <a href="traits/trait.Fixed.html#tymethod.wrapping_rem_euclid_int">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_shl-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.wrapping_shl-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.wrapping_shl" class="fn">wrapping_shl</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>) -> Self</h4></section></summary><div class='docblock'>Wrapping shift left. Wraps <code>rhs</code> if <code>rhs</code> ≥ the number of
|
||
bits, then shifts and returns the number. <a href="traits/trait.Fixed.html#tymethod.wrapping_shl">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_shr-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.wrapping_shr-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.wrapping_shr" class="fn">wrapping_shr</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>) -> Self</h4></section></summary><div class='docblock'>Wrapping shift right. Wraps <code>rhs</code> if <code>rhs</code> ≥ the number of
|
||
bits, then shifts and returns the number. <a href="traits/trait.Fixed.html#tymethod.wrapping_shr">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_dist-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.wrapping_dist-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.wrapping_dist" class="fn">wrapping_dist</a>(self, other: Self) -> Self</h4></section></summary><div class='docblock'>Wrapping distance. Returns the distance from <code>self</code> to <code>other</code>, wrapping
|
||
on overflow. <a href="traits/trait.Fixed.html#tymethod.wrapping_dist">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_hypot-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.wrapping_hypot-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.wrapping_hypot" class="fn">wrapping_hypot</a>(self, other: Self) -> Self</h4></section></summary><div class='docblock'>Compute the hypotenuse of a right triange, wrapping on overflow. <a href="traits/trait.Fixed.html#tymethod.wrapping_hypot">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_sqrt-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.wrapping_sqrt-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.wrapping_sqrt" class="fn">wrapping_sqrt</a>(self) -> Self</h4></section></summary><div class='docblock'>Returns the square root, wrapping on overflow. <a href="traits/trait.Fixed.html#tymethod.wrapping_sqrt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_lerp-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.wrapping_lerp-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.wrapping_lerp" class="fn">wrapping_lerp</a>(self, start: Self, end: Self) -> Self</h4></section></summary><div class='docblock'>Linear interpolation between <code>start</code> and <code>end</code>, wrapping on overflow. <a href="traits/trait.Fixed.html#tymethod.wrapping_lerp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_inv_lerp-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.wrapping_inv_lerp-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.wrapping_inv_lerp" class="fn">wrapping_inv_lerp</a>(self, start: Self, end: Self) -> Self</h4></section></summary><div class='docblock'>Inverse linear interpolation between <code>start</code> and <code>end</code>, wrapping on
|
||
overflow. <a href="traits/trait.Fixed.html#tymethod.wrapping_inv_lerp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_neg-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.unwrapped_neg-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.unwrapped_neg" class="fn">unwrapped_neg</a>(self) -> Self</h4></section></summary><div class='docblock'>Unwrapped negation. Returns the negated value, panicking on overflow. <a href="traits/trait.Fixed.html#tymethod.unwrapped_neg">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_add-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.unwrapped_add-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.unwrapped_add" class="fn">unwrapped_add</a>(self, rhs: Self) -> Self</h4></section></summary><div class='docblock'>Unwrapped addition. Returns the sum, panicking on overflow. <a href="traits/trait.Fixed.html#tymethod.unwrapped_add">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_sub-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.unwrapped_sub-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.unwrapped_sub" class="fn">unwrapped_sub</a>(self, rhs: Self) -> Self</h4></section></summary><div class='docblock'>Unwrapped subtraction. Returns the difference, panicking on overflow. <a href="traits/trait.Fixed.html#tymethod.unwrapped_sub">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_mul-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.unwrapped_mul-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.unwrapped_mul" class="fn">unwrapped_mul</a>(self, rhs: Self) -> Self</h4></section></summary><div class='docblock'>Unwrapped multiplication. Returns the product, panicking on overflow. <a href="traits/trait.Fixed.html#tymethod.unwrapped_mul">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_div-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.unwrapped_div-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.unwrapped_div" class="fn">unwrapped_div</a>(self, rhs: Self) -> Self</h4></section></summary><div class='docblock'>Unwrapped division. Returns the quotient, panicking on overflow. <a href="traits/trait.Fixed.html#tymethod.unwrapped_div">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_rem-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.unwrapped_rem-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.unwrapped_rem" class="fn">unwrapped_rem</a>(self, rhs: Self) -> Self</h4></section></summary><div class='docblock'>Unwrapped remainder. Returns the quotient, panicking if the divisor is zero. <a href="traits/trait.Fixed.html#tymethod.unwrapped_rem">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_recip-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.unwrapped_recip-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.unwrapped_recip" class="fn">unwrapped_recip</a>(self) -> Self</h4></section></summary><div class='docblock'>Unwrapped reciprocal. Returns reciprocal, panicking on overflow. <a href="traits/trait.Fixed.html#tymethod.unwrapped_recip">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_next_multiple_of-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.unwrapped_next_multiple_of-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.unwrapped_next_multiple_of" class="fn">unwrapped_next_multiple_of</a>(self, other: Self) -> Self</h4></section></summary><div class='docblock'>Unwrapped next multiple of <code>other</code>. Returns the next multiple, panicking
|
||
on overflow. <a href="traits/trait.Fixed.html#tymethod.unwrapped_next_multiple_of">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_mul_add-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.unwrapped_mul_add-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.unwrapped_mul_add" class="fn">unwrapped_mul_add</a>(self, mul: Self, add: Self) -> Self</h4></section></summary><div class='docblock'>Unwrapped multiply and add. Returns <code>self</code> × <code>mul</code> + <code>add</code>, panicking on overflow. <a href="traits/trait.Fixed.html#tymethod.unwrapped_mul_add">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_add_prod-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.unwrapped_add_prod-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.unwrapped_add_prod" class="fn">unwrapped_add_prod</a>(self, a: Self, b: Self) -> Self</h4></section></summary><div class='docblock'>Adds <code>self</code> to the product <code>a</code> × <code>b</code>, panicking on overflow. <a href="traits/trait.Fixed.html#tymethod.unwrapped_add_prod">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_mul_acc-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.unwrapped_mul_acc-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.unwrapped_mul_acc" class="fn">unwrapped_mul_acc</a>(&mut self, a: Self, b: Self)</h4></section></summary><div class='docblock'>Unwrapped multiply and accumulate. Adds (<code>a</code> × <code>b</code>) to <code>self</code>, panicking on overflow. <a href="traits/trait.Fixed.html#tymethod.unwrapped_mul_acc">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_div_euclid-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.unwrapped_div_euclid-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.unwrapped_div_euclid" class="fn">unwrapped_div_euclid</a>(self, rhs: Self) -> Self</h4></section></summary><div class='docblock'>Unwrapped Euclidean division. Returns the quotient, panicking on overflow. <a href="traits/trait.Fixed.html#tymethod.unwrapped_div_euclid">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_rem_euclid-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.unwrapped_rem_euclid-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.unwrapped_rem_euclid" class="fn">unwrapped_rem_euclid</a>(self, rhs: Self) -> Self</h4></section></summary><div class='docblock'>Unwrapped remainder for Euclidean division. Returns the
|
||
remainder, panicking if the divisor is zero. <a href="traits/trait.Fixed.html#tymethod.unwrapped_rem_euclid">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_mul_int-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.unwrapped_mul_int-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.unwrapped_mul_int" class="fn">unwrapped_mul_int</a>(self, rhs: Self::<a class="associatedtype" href="traits/trait.Fixed.html#associatedtype.Bits" title="type fixed::traits::Fixed::Bits">Bits</a>) -> Self</h4></section></summary><div class='docblock'>Unwrapped multiplication by an integer. Returns the product, panicking on overflow. <a href="traits/trait.Fixed.html#tymethod.unwrapped_mul_int">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_div_int-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.unwrapped_div_int-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.unwrapped_div_int" class="fn">unwrapped_div_int</a>(self, rhs: Self::<a class="associatedtype" href="traits/trait.Fixed.html#associatedtype.Bits" title="type fixed::traits::Fixed::Bits">Bits</a>) -> Self</h4></section></summary><div class='docblock'>Unwrapped division by an integer. Returns the quotient, panicking on overflow. <a href="traits/trait.Fixed.html#tymethod.unwrapped_div_int">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_rem_int-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.unwrapped_rem_int-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.unwrapped_rem_int" class="fn">unwrapped_rem_int</a>(self, rhs: Self::<a class="associatedtype" href="traits/trait.Fixed.html#associatedtype.Bits" title="type fixed::traits::Fixed::Bits">Bits</a>) -> Self</h4></section></summary><div class='docblock'>Unwrapped remainder for division by an integer. Returns the
|
||
remainder, panicking if the divisor is zero. <a href="traits/trait.Fixed.html#tymethod.unwrapped_rem_int">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_div_euclid_int-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.unwrapped_div_euclid_int-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.unwrapped_div_euclid_int" class="fn">unwrapped_div_euclid_int</a>(self, rhs: Self::<a class="associatedtype" href="traits/trait.Fixed.html#associatedtype.Bits" title="type fixed::traits::Fixed::Bits">Bits</a>) -> Self</h4></section></summary><div class='docblock'>Unwrapped Euclidean division by an integer. Returns the
|
||
quotient, panicking on overflow. <a href="traits/trait.Fixed.html#tymethod.unwrapped_div_euclid_int">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_rem_euclid_int-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.unwrapped_rem_euclid_int-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.unwrapped_rem_euclid_int" class="fn">unwrapped_rem_euclid_int</a>(self, rhs: Self::<a class="associatedtype" href="traits/trait.Fixed.html#associatedtype.Bits" title="type fixed::traits::Fixed::Bits">Bits</a>) -> Self</h4></section></summary><div class='docblock'>Unwrapped remainder for Euclidean division by an integer.
|
||
Returns the remainder, panicking on overflow. <a href="traits/trait.Fixed.html#tymethod.unwrapped_rem_euclid_int">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_shl-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.unwrapped_shl-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.unwrapped_shl" class="fn">unwrapped_shl</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>) -> Self</h4></section></summary><div class='docblock'>Unwrapped shift left. Panics if <code>rhs</code> ≥ the number of bits. <a href="traits/trait.Fixed.html#tymethod.unwrapped_shl">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_shr-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.unwrapped_shr-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.unwrapped_shr" class="fn">unwrapped_shr</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>) -> Self</h4></section></summary><div class='docblock'>Unwrapped shift right. Panics if <code>rhs</code> ≥ the number of bits. <a href="traits/trait.Fixed.html#tymethod.unwrapped_shr">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_dist-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.unwrapped_dist-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.unwrapped_dist" class="fn">unwrapped_dist</a>(self, other: Self) -> Self</h4></section></summary><div class='docblock'>Unwrapped distance. Returns the distance from <code>self</code> to <code>other</code>,
|
||
panicking on overflow. <a href="traits/trait.Fixed.html#tymethod.unwrapped_dist">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_hypot-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.unwrapped_hypot-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.unwrapped_hypot" class="fn">unwrapped_hypot</a>(self, other: Self) -> Self</h4></section></summary><div class='docblock'>Compute the hypotenuse of a right triange, panicking on overflow. <a href="traits/trait.Fixed.html#tymethod.unwrapped_hypot">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_sqrt-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.unwrapped_sqrt-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.unwrapped_sqrt" class="fn">unwrapped_sqrt</a>(self) -> Self</h4></section></summary><div class='docblock'>Returns the square root, panicking if the number is negative or on overflow. <a href="traits/trait.Fixed.html#tymethod.unwrapped_sqrt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_lerp-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.unwrapped_lerp-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.unwrapped_lerp" class="fn">unwrapped_lerp</a>(self, start: Self, end: Self) -> Self</h4></section></summary><div class='docblock'>Linear interpolation between <code>start</code> and <code>end</code>, panicking on overflow. <a href="traits/trait.Fixed.html#tymethod.unwrapped_lerp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_inv_lerp-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.unwrapped_inv_lerp-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.unwrapped_inv_lerp" class="fn">unwrapped_inv_lerp</a>(self, start: Self, end: Self) -> Self</h4></section></summary><div class='docblock'>Inverse linear interpolation between <code>start</code> and <code>end</code>, panicking on overflow. <a href="traits/trait.Fixed.html#tymethod.unwrapped_inv_lerp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_neg-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.overflowing_neg-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.overflowing_neg" class="fn">overflowing_neg</a>(self) -> (Self, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Overflowing negation. <a href="traits/trait.Fixed.html#tymethod.overflowing_neg">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_add-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.overflowing_add-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.overflowing_add" class="fn">overflowing_add</a>(self, rhs: Self) -> (Self, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Overflowing addition. <a href="traits/trait.Fixed.html#tymethod.overflowing_add">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_sub-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.overflowing_sub-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.overflowing_sub" class="fn">overflowing_sub</a>(self, rhs: Self) -> (Self, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Overflowing subtraction. <a href="traits/trait.Fixed.html#tymethod.overflowing_sub">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_mul-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.overflowing_mul-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.overflowing_mul" class="fn">overflowing_mul</a>(self, rhs: Self) -> (Self, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Overflowing multiplication. <a href="traits/trait.Fixed.html#tymethod.overflowing_mul">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_div-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.overflowing_div-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.overflowing_div" class="fn">overflowing_div</a>(self, rhs: Self) -> (Self, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Overflowing division. <a href="traits/trait.Fixed.html#tymethod.overflowing_div">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_recip-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.overflowing_recip-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.overflowing_recip" class="fn">overflowing_recip</a>(self) -> (Self, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Overflowing reciprocal. <a href="traits/trait.Fixed.html#tymethod.overflowing_recip">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_next_multiple_of-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.overflowing_next_multiple_of-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.overflowing_next_multiple_of" class="fn">overflowing_next_multiple_of</a>(self, other: Self) -> (Self, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Overflowing next multiple of <code>other</code>. <a href="traits/trait.Fixed.html#tymethod.overflowing_next_multiple_of">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_mul_add-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.overflowing_mul_add-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.overflowing_mul_add" class="fn">overflowing_mul_add</a>(self, mul: Self, add: Self) -> (Self, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Overflowing multiply and add. <a href="traits/trait.Fixed.html#tymethod.overflowing_mul_add">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_add_prod-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.overflowing_add_prod-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.overflowing_add_prod" class="fn">overflowing_add_prod</a>(self, a: Self, b: Self) -> (Self, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Adds <code>self</code> to the product <code>a</code> × <code>b</code>. <a href="traits/trait.Fixed.html#tymethod.overflowing_add_prod">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_mul_acc-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.overflowing_mul_acc-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.overflowing_mul_acc" class="fn">overflowing_mul_acc</a>(&mut self, a: Self, b: Self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Overflowing multiply and accumulate. Adds (<code>a</code> × <code>b</code>) to <code>self</code>,
|
||
wrapping and returning <a href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html" title="primitive bool"><code>true</code></a> if overflow occurs. <a href="traits/trait.Fixed.html#tymethod.overflowing_mul_acc">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_div_euclid-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.overflowing_div_euclid-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.overflowing_div_euclid" class="fn">overflowing_div_euclid</a>(self, rhs: Self) -> (Self, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Overflowing Euclidean division. <a href="traits/trait.Fixed.html#tymethod.overflowing_div_euclid">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_mul_int-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.overflowing_mul_int-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.overflowing_mul_int" class="fn">overflowing_mul_int</a>(self, rhs: Self::<a class="associatedtype" href="traits/trait.Fixed.html#associatedtype.Bits" title="type fixed::traits::Fixed::Bits">Bits</a>) -> (Self, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Overflowing multiplication by an integer. <a href="traits/trait.Fixed.html#tymethod.overflowing_mul_int">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_div_int-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.overflowing_div_int-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.overflowing_div_int" class="fn">overflowing_div_int</a>(self, rhs: Self::<a class="associatedtype" href="traits/trait.Fixed.html#associatedtype.Bits" title="type fixed::traits::Fixed::Bits">Bits</a>) -> (Self, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Overflowing division by an integer. <a href="traits/trait.Fixed.html#tymethod.overflowing_div_int">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_div_euclid_int-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.overflowing_div_euclid_int-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.overflowing_div_euclid_int" class="fn">overflowing_div_euclid_int</a>(self, rhs: Self::<a class="associatedtype" href="traits/trait.Fixed.html#associatedtype.Bits" title="type fixed::traits::Fixed::Bits">Bits</a>) -> (Self, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Overflowing Euclidean division by an integer. <a href="traits/trait.Fixed.html#tymethod.overflowing_div_euclid_int">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_rem_euclid_int-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.overflowing_rem_euclid_int-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.overflowing_rem_euclid_int" class="fn">overflowing_rem_euclid_int</a>(self, rhs: Self::<a class="associatedtype" href="traits/trait.Fixed.html#associatedtype.Bits" title="type fixed::traits::Fixed::Bits">Bits</a>) -> (Self, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Overflowing remainder for Euclidean division by an integer. <a href="traits/trait.Fixed.html#tymethod.overflowing_rem_euclid_int">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_shl-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.overflowing_shl-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.overflowing_shl" class="fn">overflowing_shl</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>) -> (Self, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Overflowing shift left. <a href="traits/trait.Fixed.html#tymethod.overflowing_shl">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_shr-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.overflowing_shr-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.overflowing_shr" class="fn">overflowing_shr</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>) -> (Self, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Overflowing shift right. <a href="traits/trait.Fixed.html#tymethod.overflowing_shr">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_dist-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.overflowing_dist-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.overflowing_dist" class="fn">overflowing_dist</a>(self, other: Self) -> (Self, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Overflowing distance. <a href="traits/trait.Fixed.html#tymethod.overflowing_dist">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_hypot-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.overflowing_hypot-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.overflowing_hypot" class="fn">overflowing_hypot</a>(self, other: Self) -> (Self, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Compute the hypotenuse of a right triange. <a href="traits/trait.Fixed.html#tymethod.overflowing_hypot">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_sqrt-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.overflowing_sqrt-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.overflowing_sqrt" class="fn">overflowing_sqrt</a>(self) -> (Self, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Compute the square root. <a href="traits/trait.Fixed.html#tymethod.overflowing_sqrt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_lerp-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.overflowing_lerp-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.overflowing_lerp" class="fn">overflowing_lerp</a>(self, start: Self, end: Self) -> (Self, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Overflowing linear interpolation between <code>start</code> and <code>end</code>. <a href="traits/trait.Fixed.html#tymethod.overflowing_lerp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_inv_lerp-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.overflowing_inv_lerp-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#tymethod.overflowing_inv_lerp" class="fn">overflowing_inv_lerp</a>(self, start: Self, end: Self) -> (Self, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Overflowing inverse linear interpolation between <code>start</code> and <code>end</code>. <a href="traits/trait.Fixed.html#tymethod.overflowing_inv_lerp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.unchecked_add-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.unchecked_add-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="traits/trait.Fixed.html#tymethod.unchecked_add" class="fn">unchecked_add</a>(self, rhs: Self) -> Self</h4></section></summary><div class='docblock'>Unchecked addition. Computes <code>self</code> + <code>rhs</code>, assuming
|
||
overflow cannot occur. <a href="traits/trait.Fixed.html#tymethod.unchecked_add">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.unchecked_sub-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.unchecked_sub-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="traits/trait.Fixed.html#tymethod.unchecked_sub" class="fn">unchecked_sub</a>(self, rhs: Self) -> Self</h4></section></summary><div class='docblock'>Unchecked subtraction. Computes <code>self</code> − <code>rhs</code>, assuming
|
||
overflow cannot occur. <a href="traits/trait.Fixed.html#tymethod.unchecked_sub">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.unchecked_mul_int-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.unchecked_mul_int-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="traits/trait.Fixed.html#tymethod.unchecked_mul_int" class="fn">unchecked_mul_int</a>(self, rhs: Self::<a class="associatedtype" href="traits/trait.Fixed.html#associatedtype.Bits" title="type fixed::traits::Fixed::Bits">Bits</a>) -> Self</h4></section></summary><div class='docblock'>Unchecked multiplication by an integer. Computes
|
||
<code>self</code> × <code>rhs</code>, assuming overflow cannot occur. <a href="traits/trait.Fixed.html#tymethod.unchecked_mul_int">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.get_signed" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#573-579">Source</a><a href="#method.get_signed" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#method.get_signed" class="fn">get_signed</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&Self::<a class="associatedtype" href="traits/trait.Fixed.html#associatedtype.Signed" title="type fixed::traits::Fixed::Signed">Signed</a>></h4></section></summary><div class='docblock'>Returns a reference to <code>self</code> as <a href="traits/trait.FixedSigned.html" title="trait fixed::traits::FixedSigned"><code>FixedSigned</code></a> if the type is signed,
|
||
or <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> if it is unsigned. <a href="traits/trait.Fixed.html#method.get_signed">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.get_unsigned" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#602-608">Source</a><a href="#method.get_unsigned" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#method.get_unsigned" class="fn">get_unsigned</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&Self::<a class="associatedtype" href="traits/trait.Fixed.html#associatedtype.Unsigned" title="type fixed::traits::Fixed::Unsigned">Unsigned</a>></h4></section></summary><div class='docblock'>Returns a reference to <code>self</code> as <a href="traits/trait.FixedUnsigned.html" title="trait fixed::traits::FixedUnsigned"><code>FixedUnsigned</code></a> if the type is
|
||
unsigned, or <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> if it is signed. <a href="traits/trait.Fixed.html#method.get_unsigned">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.get_signed_mut" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#632-638">Source</a><a href="#method.get_signed_mut" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#method.get_signed_mut" class="fn">get_signed_mut</a>(&mut self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&mut Self::<a class="associatedtype" href="traits/trait.Fixed.html#associatedtype.Signed" title="type fixed::traits::Fixed::Signed">Signed</a>></h4></section></summary><div class='docblock'>Returns a mutable reference to <code>self</code> as <a href="traits/trait.FixedSigned.html" title="trait fixed::traits::FixedSigned"><code>FixedSigned</code></a> if the type is
|
||
signed, or <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> if it is unsigned. <a href="traits/trait.Fixed.html#method.get_signed_mut">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.get_unsigned_mut" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#662-668">Source</a><a href="#method.get_unsigned_mut" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#method.get_unsigned_mut" class="fn">get_unsigned_mut</a>(&mut self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&mut Self::<a class="associatedtype" href="traits/trait.Fixed.html#associatedtype.Unsigned" title="type fixed::traits::Fixed::Unsigned">Unsigned</a>></h4></section></summary><div class='docblock'>Returns a mutable reference to <code>self</code> as <a href="traits/trait.FixedUnsigned.html" title="trait fixed::traits::FixedUnsigned"><code>FixedUnsigned</code></a> if the type
|
||
is unsigned, or <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> if it is signed. <a href="traits/trait.Fixed.html#method.get_unsigned_mut">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.round_ties_to_even-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#3083-3085">Source</a><a href="#method.round_ties_to_even-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#method.round_ties_to_even" class="fn">round_ties_to_even</a>(self) -> Self</h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 1.28.0: renamed to <code>round_ties_even</code></span></div></span><div class='docblock'>Rounds to the nearest integer, with ties rounded to even.</div></details><details class="toggle method-toggle" open><summary><section id="method.checked_round_ties_to_even-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#3090-3092">Source</a><a href="#method.checked_round_ties_to_even-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#method.checked_round_ties_to_even" class="fn">checked_round_ties_to_even</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 1.28.0: renamed to <code>checked_round_ties_even</code></span></div></span><div class='docblock'>Checked round. Rounds to the nearest integer, with ties rounded to even,
|
||
returning <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> on overflow.</div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_round_ties_to_even-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#3098-3100">Source</a><a href="#method.saturating_round_ties_to_even-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#method.saturating_round_ties_to_even" class="fn">saturating_round_ties_to_even</a>(self) -> Self</h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 1.28.0: renamed to <code>saturating_round_ties_even</code></span></div></span><div class='docblock'>Saturating round. Rounds to the nearest integer, with ties rounded
|
||
to_even, and saturating on overflow.</div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_round_ties_to_even-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#3106-3108">Source</a><a href="#method.wrapping_round_ties_to_even-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#method.wrapping_round_ties_to_even" class="fn">wrapping_round_ties_to_even</a>(self) -> Self</h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 1.28.0: renamed to <code>wrapping_round_ties_even</code></span></div></span><div class='docblock'>Wrapping round. Rounds to the next integer to the nearest, with ties
|
||
rounded to even, and wrapping on overflow.</div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_round_ties_to_even-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#3119-3121">Source</a><a href="#method.unwrapped_round_ties_to_even-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#method.unwrapped_round_ties_to_even" class="fn">unwrapped_round_ties_to_even</a>(self) -> Self</h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 1.28.0: renamed to <code>unwrapped_round_ties_even</code></span></div></span><div class='docblock'>Unwrapped round. Rounds to the next integer to the nearest, with ties
|
||
rounded to even, and panicking on overflow. <a href="traits/trait.Fixed.html#method.unwrapped_round_ties_to_even">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_round_ties_to_even-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#3130-3132">Source</a><a href="#method.overflowing_round_ties_to_even-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.Fixed.html#method.overflowing_round_ties_to_even" class="fn">overflowing_round_ties_to_even</a>(self) -> (Self, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated since 1.28.0: renamed to <code>overflowing_round_ties_even</code></span></div></span><div class='docblock'>Overflowing round. Rounds to the next integer to the nearest, with ties
|
||
rounded to even. <a href="traits/trait.Fixed.html#method.overflowing_round_ties_to_even">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-FixedSigned-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#impl-FixedSigned-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.FixedSigned.html" title="trait fixed::traits::FixedSigned">FixedSigned</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedconstant.TRY_NEG_ONE" class="associatedconstant trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#associatedconstant.TRY_NEG_ONE" class="anchor">§</a><h4 class="code-header">const <a href="traits/trait.FixedSigned.html#associatedconstant.TRY_NEG_ONE" class="constant">TRY_NEG_ONE</a>: <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self> = Self::TRY_NEG_ONE</h4></section></summary><div class='docblock'>Negative one if the fixed-point number can represent it, otherwise
|
||
<a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.signed_bits-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.signed_bits-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.FixedSigned.html#tymethod.signed_bits" class="fn">signed_bits</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a></h4></section></summary><div class='docblock'>Returns the number of bits required to represent the value. <a href="traits/trait.FixedSigned.html#tymethod.signed_bits">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.is_positive-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.is_positive-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.FixedSigned.html#tymethod.is_positive" class="fn">is_positive</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns <a href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html" title="primitive bool"><code>true</code></a> if the number is > 0. <a href="traits/trait.FixedSigned.html#tymethod.is_positive">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.is_negative-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.is_negative-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.FixedSigned.html#tymethod.is_negative" class="fn">is_negative</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Returns <a href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html" title="primitive bool"><code>true</code></a> if the number is < 0. <a href="traits/trait.FixedSigned.html#tymethod.is_negative">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.abs-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.abs-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.FixedSigned.html#tymethod.abs" class="fn">abs</a>(self) -> Self</h4></section></summary><div class='docblock'>Returns the absolute value. <a href="traits/trait.FixedSigned.html#tymethod.abs">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.unsigned_abs-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.unsigned_abs-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.FixedSigned.html#tymethod.unsigned_abs" class="fn">unsigned_abs</a>(self) -> Self::<a class="associatedtype" href="traits/trait.Fixed.html#associatedtype.Unsigned" title="type fixed::traits::Fixed::Unsigned">Unsigned</a></h4></section></summary><div class='docblock'>Returns the absolute value using an unsigned type without any
|
||
wrapping or panicking. <a href="traits/trait.FixedSigned.html#tymethod.unsigned_abs">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.unsigned_dist-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.unsigned_dist-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.FixedSigned.html#tymethod.unsigned_dist" class="fn">unsigned_dist</a>(self, other: Self) -> Self::<a class="associatedtype" href="traits/trait.Fixed.html#associatedtype.Unsigned" title="type fixed::traits::Fixed::Unsigned">Unsigned</a></h4></section></summary><div class='docblock'>Returns the distance from <code>self</code> to <code>other</code> using an unsigned type
|
||
without any wrapping or panicking. <a href="traits/trait.FixedSigned.html#tymethod.unsigned_dist">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.signum-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.signum-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.FixedSigned.html#tymethod.signum" class="fn">signum</a>(self) -> Self</h4></section></summary><div class='docblock'>Returns a number representing the sign of <code>self</code>. <a href="traits/trait.FixedSigned.html#tymethod.signum">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.add_unsigned-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.add_unsigned-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.FixedSigned.html#tymethod.add_unsigned" class="fn">add_unsigned</a>(self, rhs: Self::<a class="associatedtype" href="traits/trait.Fixed.html#associatedtype.Unsigned" title="type fixed::traits::Fixed::Unsigned">Unsigned</a>) -> Self</h4></section></summary><div class='docblock'>Addition with an unsigned fixed-point number. <a href="traits/trait.FixedSigned.html#tymethod.add_unsigned">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.sub_unsigned-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.sub_unsigned-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.FixedSigned.html#tymethod.sub_unsigned" class="fn">sub_unsigned</a>(self, rhs: Self::<a class="associatedtype" href="traits/trait.Fixed.html#associatedtype.Unsigned" title="type fixed::traits::Fixed::Unsigned">Unsigned</a>) -> Self</h4></section></summary><div class='docblock'>Subtraction with an unsigned fixed-point number. <a href="traits/trait.FixedSigned.html#tymethod.sub_unsigned">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.checked_abs-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.checked_abs-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.FixedSigned.html#tymethod.checked_abs" class="fn">checked_abs</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class='docblock'>Checked absolute value. Returns the absolute value, or <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> on overflow. <a href="traits/trait.FixedSigned.html#tymethod.checked_abs">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.checked_signum-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.checked_signum-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.FixedSigned.html#tymethod.checked_signum" class="fn">checked_signum</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class='docblock'>Checked signum. Returns a number representing the sign of
|
||
<code>self</code>, or <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> on overflow. <a href="traits/trait.FixedSigned.html#tymethod.checked_signum">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.checked_add_unsigned-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.checked_add_unsigned-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.FixedSigned.html#tymethod.checked_add_unsigned" class="fn">checked_add_unsigned</a>(self, rhs: Self::<a class="associatedtype" href="traits/trait.Fixed.html#associatedtype.Unsigned" title="type fixed::traits::Fixed::Unsigned">Unsigned</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class='docblock'>Checked addition with an unsigned fixed-point number. Returns the sum,
|
||
or <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> on overflow. <a href="traits/trait.FixedSigned.html#tymethod.checked_add_unsigned">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.checked_sub_unsigned-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.checked_sub_unsigned-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.FixedSigned.html#tymethod.checked_sub_unsigned" class="fn">checked_sub_unsigned</a>(self, rhs: Self::<a class="associatedtype" href="traits/trait.Fixed.html#associatedtype.Unsigned" title="type fixed::traits::Fixed::Unsigned">Unsigned</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class='docblock'>Checked subtraction with an unsigned fixed-point number. Returns the
|
||
difference, or <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a> on overflow. <a href="traits/trait.FixedSigned.html#tymethod.checked_sub_unsigned">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_abs-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.saturating_abs-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.FixedSigned.html#tymethod.saturating_abs" class="fn">saturating_abs</a>(self) -> Self</h4></section></summary><div class='docblock'>Saturating absolute value. Returns the absolute value, saturating on overflow. <a href="traits/trait.FixedSigned.html#tymethod.saturating_abs">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_signum-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.saturating_signum-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.FixedSigned.html#tymethod.saturating_signum" class="fn">saturating_signum</a>(self) -> Self</h4></section></summary><div class='docblock'>Saturating signum. Returns a number representing the sign of
|
||
<code>self</code>, saturating on overflow. <a href="traits/trait.FixedSigned.html#tymethod.saturating_signum">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_add_unsigned-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.saturating_add_unsigned-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.FixedSigned.html#tymethod.saturating_add_unsigned" class="fn">saturating_add_unsigned</a>(self, rhs: Self::<a class="associatedtype" href="traits/trait.Fixed.html#associatedtype.Unsigned" title="type fixed::traits::Fixed::Unsigned">Unsigned</a>) -> Self</h4></section></summary><div class='docblock'>Saturating addition with an unsigned fixed-point number. Returns the
|
||
sum, saturating on overflow. <a href="traits/trait.FixedSigned.html#tymethod.saturating_add_unsigned">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_sub_unsigned-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.saturating_sub_unsigned-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.FixedSigned.html#tymethod.saturating_sub_unsigned" class="fn">saturating_sub_unsigned</a>(self, rhs: Self::<a class="associatedtype" href="traits/trait.Fixed.html#associatedtype.Unsigned" title="type fixed::traits::Fixed::Unsigned">Unsigned</a>) -> Self</h4></section></summary><div class='docblock'>Saturating subtraction with an unsigned fixed-point number. Returns the
|
||
difference, saturating on overflow. <a href="traits/trait.FixedSigned.html#tymethod.saturating_sub_unsigned">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_abs-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.wrapping_abs-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.FixedSigned.html#tymethod.wrapping_abs" class="fn">wrapping_abs</a>(self) -> Self</h4></section></summary><div class='docblock'>Wrapping absolute value. Returns the absolute value, wrapping on overflow. <a href="traits/trait.FixedSigned.html#tymethod.wrapping_abs">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_signum-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.wrapping_signum-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.FixedSigned.html#tymethod.wrapping_signum" class="fn">wrapping_signum</a>(self) -> Self</h4></section></summary><div class='docblock'>Wrapping signum. Returns a number representing the sign of
|
||
<code>self</code>, wrapping on overflow. <a href="traits/trait.FixedSigned.html#tymethod.wrapping_signum">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_add_unsigned-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.wrapping_add_unsigned-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.FixedSigned.html#tymethod.wrapping_add_unsigned" class="fn">wrapping_add_unsigned</a>(self, rhs: Self::<a class="associatedtype" href="traits/trait.Fixed.html#associatedtype.Unsigned" title="type fixed::traits::Fixed::Unsigned">Unsigned</a>) -> Self</h4></section></summary><div class='docblock'>Wrapping addition with an unsigned fixed-point number. Returns the sum,
|
||
wrapping on overflow. <a href="traits/trait.FixedSigned.html#tymethod.wrapping_add_unsigned">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_sub_unsigned-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.wrapping_sub_unsigned-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.FixedSigned.html#tymethod.wrapping_sub_unsigned" class="fn">wrapping_sub_unsigned</a>(self, rhs: Self::<a class="associatedtype" href="traits/trait.Fixed.html#associatedtype.Unsigned" title="type fixed::traits::Fixed::Unsigned">Unsigned</a>) -> Self</h4></section></summary><div class='docblock'>Wrapping subtraction with an unsigned fixed-point number. Returns the
|
||
difference, wrapping on overflow. <a href="traits/trait.FixedSigned.html#tymethod.wrapping_sub_unsigned">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_abs-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.unwrapped_abs-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.FixedSigned.html#tymethod.unwrapped_abs" class="fn">unwrapped_abs</a>(self) -> Self</h4></section></summary><div class='docblock'>Unwrapped absolute value. Returns the absolute value, panicking on overflow. <a href="traits/trait.FixedSigned.html#tymethod.unwrapped_abs">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_signum-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.unwrapped_signum-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.FixedSigned.html#tymethod.unwrapped_signum" class="fn">unwrapped_signum</a>(self) -> Self</h4></section></summary><div class='docblock'>Unwrapped signum. Returns a number representing the sign of
|
||
<code>self</code>, panicking on overflow. <a href="traits/trait.FixedSigned.html#tymethod.unwrapped_signum">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_add_unsigned-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.unwrapped_add_unsigned-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.FixedSigned.html#tymethod.unwrapped_add_unsigned" class="fn">unwrapped_add_unsigned</a>(self, rhs: Self::<a class="associatedtype" href="traits/trait.Fixed.html#associatedtype.Unsigned" title="type fixed::traits::Fixed::Unsigned">Unsigned</a>) -> Self</h4></section></summary><div class='docblock'>Unwrapped addition with an unsigned fixed-point number. Returns the sum,
|
||
panicking on overflow. <a href="traits/trait.FixedSigned.html#tymethod.unwrapped_add_unsigned">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_sub_unsigned-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.unwrapped_sub_unsigned-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.FixedSigned.html#tymethod.unwrapped_sub_unsigned" class="fn">unwrapped_sub_unsigned</a>(self, rhs: Self::<a class="associatedtype" href="traits/trait.Fixed.html#associatedtype.Unsigned" title="type fixed::traits::Fixed::Unsigned">Unsigned</a>) -> Self</h4></section></summary><div class='docblock'>Unwrapped subtraction with an unsigned fixed-point number. Returns the
|
||
difference, panicking on overflow. <a href="traits/trait.FixedSigned.html#tymethod.unwrapped_sub_unsigned">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_abs-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.overflowing_abs-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.FixedSigned.html#tymethod.overflowing_abs" class="fn">overflowing_abs</a>(self) -> (Self, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Overflowing absolute value. <a href="traits/trait.FixedSigned.html#tymethod.overflowing_abs">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_signum-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.overflowing_signum-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.FixedSigned.html#tymethod.overflowing_signum" class="fn">overflowing_signum</a>(self) -> (Self, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Overflowing signum. <a href="traits/trait.FixedSigned.html#tymethod.overflowing_signum">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_add_unsigned-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.overflowing_add_unsigned-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.FixedSigned.html#tymethod.overflowing_add_unsigned" class="fn">overflowing_add_unsigned</a>(self, rhs: Self::<a class="associatedtype" href="traits/trait.Fixed.html#associatedtype.Unsigned" title="type fixed::traits::Fixed::Unsigned">Unsigned</a>) -> (Self, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Overflowing addition with an unsigned fixed-point number. <a href="traits/trait.FixedSigned.html#tymethod.overflowing_add_unsigned">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_sub_unsigned-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.overflowing_sub_unsigned-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.FixedSigned.html#tymethod.overflowing_sub_unsigned" class="fn">overflowing_sub_unsigned</a>(self, rhs: Self::<a class="associatedtype" href="traits/trait.Fixed.html#associatedtype.Unsigned" title="type fixed::traits::Fixed::Unsigned">Unsigned</a>) -> (Self, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Overflowing subtraction with an unsigned fixed-point number. <a href="traits/trait.FixedSigned.html#tymethod.overflowing_sub_unsigned">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CFixedI16%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#216">Source</a><a href="#impl-From%3CFixedI16%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="struct.FixedI16.html" title="struct fixed::FixedI16">FixedI16</a><FracSrc>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst><div class="where">where
|
||
FracSrc: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><FracDst, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>> + <a class="trait" href="types/extra/trait.LeEqU16.html" title="trait fixed::types::extra::LeEqU16">LeEqU16</a>,
|
||
<a class="type" href="types/extra/type.U16.html" title="type fixed::types::extra::U16">U16</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracSrc>,
|
||
<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracDst>,
|
||
<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U16.html" title="type fixed::types::extra::U16">U16</a>, FracSrc>: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>, FracDst>, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-2" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#216">Source</a><a href="#method.from-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(src: <a class="struct" href="struct.FixedI16.html" title="struct fixed::FixedI16">FixedI16</a><FracSrc>) -> Self</h4></section></summary><div class="docblock"><p>Converts a fixed-pint number.</p>
|
||
<p>This conversion never fails (infallible) and does not
|
||
lose any precision (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CFixedI32%3CFrac%3E%3E-for-F128" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#748">Source</a><a href="#impl-From%3CFixedI32%3CFrac%3E%3E-for-F128" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="struct.F128.html" title="struct fixed::F128">F128</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-16" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#748">Source</a><a href="#method.from-16" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(src: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.F128.html" title="struct fixed::F128">F128</a></h4></section></summary><div class="docblock"><p>Converts a fixed-point number to a floating-point number.</p>
|
||
<p>This conversion never fails (infallible) and does not
|
||
lose any precision (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CFixedI32%3CFrac%3E%3E-for-F128Bits" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#756">Source</a><a href="#impl-From%3CFixedI32%3CFrac%3E%3E-for-F128Bits" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="struct.F128Bits.html" title="struct fixed::F128Bits">F128Bits</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-17" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#756">Source</a><a href="#method.from-17" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(src: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.F128Bits.html" title="struct fixed::F128Bits">F128Bits</a></h4></section></summary><div class="docblock"><p>Converts a fixed-point number to a floating-point number.</p>
|
||
<p>This conversion never fails (infallible) and does not
|
||
lose any precision (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CFixedI32%3CFrac%3E%3E-for-f64" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#742">Source</a><a href="#impl-From%3CFixedI32%3CFrac%3E%3E-for-f64" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f64.html">f64</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-15" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#742">Source</a><a href="#method.from-15" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(src: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f64.html">f64</a></h4></section></summary><div class="docblock"><p>Converts a fixed-point number to a floating-point number.</p>
|
||
<p>This conversion never fails (infallible) and does not
|
||
lose any precision (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CFixedI32%3CFracSrc%3E%3E-for-FixedI128%3CFracDst%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#221">Source</a><a href="#impl-From%3CFixedI32%3CFracSrc%3E%3E-for-FixedI128%3CFracDst%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc, FracDst: <a class="trait" href="types/extra/trait.LeEqU128.html" title="trait fixed::types::extra::LeEqU128">LeEqU128</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc>> for <a class="struct" href="struct.FixedI128.html" title="struct fixed::FixedI128">FixedI128</a><FracDst><div class="where">where
|
||
FracSrc: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><FracDst, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>> + <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>,
|
||
<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracSrc>,
|
||
<a class="type" href="types/extra/type.U128.html" title="type fixed::types::extra::U128">U128</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracDst>,
|
||
<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>, FracSrc>: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U128.html" title="type fixed::types::extra::U128">U128</a>, FracDst>, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-5" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#221">Source</a><a href="#method.from-5" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(src: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc>) -> Self</h4></section></summary><div class="docblock"><p>Converts a fixed-pint number.</p>
|
||
<p>This conversion never fails (infallible) and does not
|
||
lose any precision (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CFixedI32%3CFracSrc%3E%3E-for-FixedI64%3CFracDst%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#220">Source</a><a href="#impl-From%3CFixedI32%3CFracSrc%3E%3E-for-FixedI64%3CFracDst%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc, FracDst: <a class="trait" href="types/extra/trait.LeEqU64.html" title="trait fixed::types::extra::LeEqU64">LeEqU64</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc>> for <a class="struct" href="struct.FixedI64.html" title="struct fixed::FixedI64">FixedI64</a><FracDst><div class="where">where
|
||
FracSrc: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><FracDst, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>> + <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>,
|
||
<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracSrc>,
|
||
<a class="type" href="types/extra/type.U64.html" title="type fixed::types::extra::U64">U64</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracDst>,
|
||
<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>, FracSrc>: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U64.html" title="type fixed::types::extra::U64">U64</a>, FracDst>, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-4" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#220">Source</a><a href="#method.from-4" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(src: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc>) -> Self</h4></section></summary><div class="docblock"><p>Converts a fixed-pint number.</p>
|
||
<p>This conversion never fails (infallible) and does not
|
||
lose any precision (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CFixedI32%3CUTerm%3E%3E-for-i128" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#549">Source</a><a href="#impl-From%3CFixedI32%3CUTerm%3E%3E-for-i128" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><<a class="struct" href="../typenum/uint/struct.UTerm.html" title="struct typenum::uint::UTerm">UTerm</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"><details class="toggle method-toggle" open><summary><section id="method.from-14" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#549">Source</a><a href="#method.from-14" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(src: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><<a class="type" href="types/extra/type.U0.html" title="type fixed::types::extra::U0">U0</a>>) -> Self</h4></section></summary><div class="docblock"><p>Converts a fixed-point number with no fractional bits to an integer.</p>
|
||
<p>This conversion never fails (infallible) and cannot
|
||
lose any fractional bits (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CFixedI32%3CUTerm%3E%3E-for-i32" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#547">Source</a><a href="#impl-From%3CFixedI32%3CUTerm%3E%3E-for-i32" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><<a class="struct" href="../typenum/uint/struct.UTerm.html" title="struct typenum::uint::UTerm">UTerm</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"><details class="toggle method-toggle" open><summary><section id="method.from-12" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#547">Source</a><a href="#method.from-12" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(src: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><<a class="type" href="types/extra/type.U0.html" title="type fixed::types::extra::U0">U0</a>>) -> Self</h4></section></summary><div class="docblock"><p>Converts a fixed-point number with no fractional bits to an integer.</p>
|
||
<p>This conversion never fails (infallible) and cannot
|
||
lose any fractional bits (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CFixedI32%3CUTerm%3E%3E-for-i64" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#548">Source</a><a href="#impl-From%3CFixedI32%3CUTerm%3E%3E-for-i64" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><<a class="struct" href="../typenum/uint/struct.UTerm.html" title="struct typenum::uint::UTerm">UTerm</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"><details class="toggle method-toggle" open><summary><section id="method.from-13" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#548">Source</a><a href="#method.from-13" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(src: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><<a class="type" href="types/extra/type.U0.html" title="type fixed::types::extra::U0">U0</a>>) -> Self</h4></section></summary><div class="docblock"><p>Converts a fixed-point number with no fractional bits to an integer.</p>
|
||
<p>This conversion never fails (infallible) and cannot
|
||
lose any fractional bits (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CFixedI8%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#212">Source</a><a href="#impl-From%3CFixedI8%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="struct.FixedI8.html" title="struct fixed::FixedI8">FixedI8</a><FracSrc>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst><div class="where">where
|
||
FracSrc: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><FracDst, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>> + <a class="trait" href="types/extra/trait.LeEqU8.html" title="trait fixed::types::extra::LeEqU8">LeEqU8</a>,
|
||
<a class="type" href="types/extra/type.U8.html" title="type fixed::types::extra::U8">U8</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracSrc>,
|
||
<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracDst>,
|
||
<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U8.html" title="type fixed::types::extra::U8">U8</a>, FracSrc>: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>, FracDst>, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#212">Source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(src: <a class="struct" href="struct.FixedI8.html" title="struct fixed::FixedI8">FixedI8</a><FracSrc>) -> Self</h4></section></summary><div class="docblock"><p>Converts a fixed-pint number.</p>
|
||
<p>This conversion never fails (infallible) and does not
|
||
lose any precision (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CFixedU16%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#216">Source</a><a href="#impl-From%3CFixedU16%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="struct.FixedU16.html" title="struct fixed::FixedU16">FixedU16</a><FracSrc>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst><div class="where">where
|
||
FracSrc: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><FracDst, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>> + <a class="trait" href="types/extra/trait.LeEqU16.html" title="trait fixed::types::extra::LeEqU16">LeEqU16</a>,
|
||
<a class="type" href="types/extra/type.U16.html" title="type fixed::types::extra::U16">U16</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracSrc>,
|
||
<a class="type" href="types/extra/type.U31.html" title="type fixed::types::extra::U31">U31</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracDst>,
|
||
<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U16.html" title="type fixed::types::extra::U16">U16</a>, FracSrc>: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U31.html" title="type fixed::types::extra::U31">U31</a>, FracDst>, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-3" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#216">Source</a><a href="#method.from-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(src: <a class="struct" href="struct.FixedU16.html" title="struct fixed::FixedU16">FixedU16</a><FracSrc>) -> Self</h4></section></summary><div class="docblock"><p>Converts a fixed-pint number.</p>
|
||
<p>This conversion never fails (infallible) and does not
|
||
lose any precision (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3CFixedU8%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#212">Source</a><a href="#impl-From%3CFixedU8%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="struct" href="struct.FixedU8.html" title="struct fixed::FixedU8">FixedU8</a><FracSrc>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst><div class="where">where
|
||
FracSrc: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><FracDst, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>> + <a class="trait" href="types/extra/trait.LeEqU8.html" title="trait fixed::types::extra::LeEqU8">LeEqU8</a>,
|
||
<a class="type" href="types/extra/type.U8.html" title="type fixed::types::extra::U8">U8</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracSrc>,
|
||
<a class="type" href="types/extra/type.U31.html" title="type fixed::types::extra::U31">U31</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracDst>,
|
||
<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U8.html" title="type fixed::types::extra::U8">U8</a>, FracSrc>: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U31.html" title="type fixed::types::extra::U31">U31</a>, FracDst>, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#212">Source</a><a href="#method.from-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(src: <a class="struct" href="struct.FixedU8.html" title="struct fixed::FixedU8">FixedU8</a><FracSrc>) -> Self</h4></section></summary><div class="docblock"><p>Converts a fixed-pint number.</p>
|
||
<p>This conversion never fails (infallible) and does not
|
||
lose any precision (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3Cbool%3E-for-FixedI32%3CFracDst%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#490">Source</a><a href="#impl-From%3Cbool%3E-for-FixedI32%3CFracDst%3E" class="anchor">§</a><h3 class="code-header">impl<FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst><div class="where">where
|
||
<a class="type" href="types/extra/type.U31.html" title="type fixed::types::extra::U31">U31</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracDst>,
|
||
<a class="type" href="types/extra/type.U1.html" title="type fixed::types::extra::U1">U1</a>: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U31.html" title="type fixed::types::extra::U31">U31</a>, FracDst>, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-11" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#490">Source</a><a href="#method.from-11" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(src: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>) -> Self</h4></section></summary><div class="docblock"><p>Converts a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html" title="primitive bool"><code>bool</code></a> to a fixed-point number.</p>
|
||
<p>This conversion never fails (infallible) and cannot
|
||
lose any fractional bits (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3Ci16%3E-for-FixedI32%3CFracDst%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#413">Source</a><a href="#impl-From%3Ci16%3E-for-FixedI32%3CFracDst%3E" class="anchor">§</a><h3 class="code-header">impl<FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst><div class="where">where
|
||
<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracDst>,
|
||
<a class="type" href="types/extra/type.U16.html" title="type fixed::types::extra::U16">U16</a>: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>, FracDst>, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-9" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#413">Source</a><a href="#method.from-9" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(src: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a>) -> Self</h4></section></summary><div class="docblock"><p>Converts an integer to a fixed-point number.</p>
|
||
<p>This conversion never fails (infallible) and cannot
|
||
lose any fractional bits, so it is actually lossless.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3Ci32%3E-for-FixedI32%3CUTerm%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#295">Source</a><a href="#impl-From%3Ci32%3E-for-FixedI32%3CUTerm%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><<a class="type" href="types/extra/type.U0.html" title="type fixed::types::extra::U0">U0</a>></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-6" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#295">Source</a><a href="#method.from-6" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(src: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> Self</h4></section></summary><div class="docblock"><p>Converts an integer to a fixed-point number.</p>
|
||
<p>This conversion never fails (infallible) and cannot
|
||
lose any fractional bits (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3Ci8%3E-for-FixedI32%3CFracDst%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#410">Source</a><a href="#impl-From%3Ci8%3E-for-FixedI32%3CFracDst%3E" class="anchor">§</a><h3 class="code-header">impl<FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst><div class="where">where
|
||
<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracDst>,
|
||
<a class="type" href="types/extra/type.U8.html" title="type fixed::types::extra::U8">U8</a>: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>, FracDst>, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-7" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#410">Source</a><a href="#method.from-7" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(src: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a>) -> Self</h4></section></summary><div class="docblock"><p>Converts an integer to a fixed-point number.</p>
|
||
<p>This conversion never fails (infallible) and cannot
|
||
lose any fractional bits, so it is actually lossless.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3Cu16%3E-for-FixedI32%3CFracDst%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#413">Source</a><a href="#impl-From%3Cu16%3E-for-FixedI32%3CFracDst%3E" class="anchor">§</a><h3 class="code-header">impl<FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html">u16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst><div class="where">where
|
||
<a class="type" href="types/extra/type.U31.html" title="type fixed::types::extra::U31">U31</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracDst>,
|
||
<a class="type" href="types/extra/type.U16.html" title="type fixed::types::extra::U16">U16</a>: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U31.html" title="type fixed::types::extra::U31">U31</a>, FracDst>, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-10" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#413">Source</a><a href="#method.from-10" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(src: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html">u16</a>) -> Self</h4></section></summary><div class="docblock"><p>Converts an integer to a fixed-point number.</p>
|
||
<p>This conversion never fails (infallible) and cannot
|
||
lose any fractional bits, so it is actually lossless.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-From%3Cu8%3E-for-FixedI32%3CFracDst%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#410">Source</a><a href="#impl-From%3Cu8%3E-for-FixedI32%3CFracDst%3E" class="anchor">§</a><h3 class="code-header">impl<FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst><div class="where">where
|
||
<a class="type" href="types/extra/type.U31.html" title="type fixed::types::extra::U31">U31</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracDst>,
|
||
<a class="type" href="types/extra/type.U8.html" title="type fixed::types::extra::U8">U8</a>: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U31.html" title="type fixed::types::extra::U31">U31</a>, FracDst>, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-8" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#410">Source</a><a href="#method.from-8" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(src: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>) -> Self</h4></section></summary><div class="docblock"><p>Converts an integer to a fixed-point number.</p>
|
||
<p>This conversion never fails (infallible) and cannot
|
||
lose any fractional bits, so it is actually lossless.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-FromFixed-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#impl-FromFixed-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.FromFixed.html" title="trait fixed::traits::FromFixed">FromFixed</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from_fixed" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.from_fixed" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.FromFixed.html#tymethod.from_fixed" class="fn">from_fixed</a><F: <a class="trait" href="traits/trait.Fixed.html" title="trait fixed::traits::Fixed">Fixed</a>>(src: F) -> Self</h4></section></summary><div class="docblock"><p>Converts a fixed-point number.</p>
|
||
<p>Any extra fractional bits are discarded, which rounds towards −∞.</p>
|
||
<h5 id="panics-100"><a class="doc-anchor" href="#panics-100">§</a>Panics</h5>
|
||
<p>When debug assertions are enabled, panics if the value
|
||
does not fit. When debug assertions are not enabled,
|
||
the wrapped value can be returned, but it is not
|
||
considered a breaking change if in the future it
|
||
panics; if wrapping is required use
|
||
<a href="traits/trait.FromFixed.html#tymethod.wrapping_from_fixed" title="associated function fixed::traits::FromFixed::wrapping_from_fixed"><code>wrapping_from_fixed</code></a> instead.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.checked_from_fixed" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.checked_from_fixed" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.FromFixed.html#tymethod.checked_from_fixed" class="fn">checked_from_fixed</a><F: <a class="trait" href="traits/trait.Fixed.html" title="trait fixed::traits::Fixed">Fixed</a>>(src: F) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class="docblock"><p>Converts a fixed-point number if it fits, otherwise returns <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a>.</p>
|
||
<p>Any extra fractional bits are discarded, which rounds towards −∞.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_from_fixed" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.saturating_from_fixed" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.FromFixed.html#tymethod.saturating_from_fixed" class="fn">saturating_from_fixed</a><F: <a class="trait" href="traits/trait.Fixed.html" title="trait fixed::traits::Fixed">Fixed</a>>(src: F) -> Self</h4></section></summary><div class="docblock"><p>Converts a fixed-point number, saturating if it does not fit.</p>
|
||
<p>Any extra fractional bits are discarded, which rounds towards −∞.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_from_fixed" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.wrapping_from_fixed" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.FromFixed.html#tymethod.wrapping_from_fixed" class="fn">wrapping_from_fixed</a><F: <a class="trait" href="traits/trait.Fixed.html" title="trait fixed::traits::Fixed">Fixed</a>>(src: F) -> Self</h4></section></summary><div class="docblock"><p>Converts a fixed-point number, wrapping if it does not fit.</p>
|
||
<p>Any extra fractional bits are discarded, which rounds towards −∞.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_from_fixed" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.overflowing_from_fixed" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.FromFixed.html#tymethod.overflowing_from_fixed" class="fn">overflowing_from_fixed</a><F: <a class="trait" href="traits/trait.Fixed.html" title="trait fixed::traits::Fixed">Fixed</a>>(src: F) -> (Self, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class="docblock"><p>Converts a fixed-point number.</p>
|
||
<p>Returns a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.tuple.html" title="primitive tuple">tuple</a> of the value and a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html" title="primitive bool"><code>bool</code></a>
|
||
indicating whether an overflow has occurred. On
|
||
overflow, the wrapped value is returned.</p>
|
||
<p>Any extra fractional bits are discarded, which rounds towards −∞.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_from_fixed" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.unwrapped_from_fixed" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.FromFixed.html#method.unwrapped_from_fixed" class="fn">unwrapped_from_fixed</a><F: <a class="trait" href="traits/trait.Fixed.html" title="trait fixed::traits::Fixed">Fixed</a>>(src: F) -> Self</h4></section></summary><div class="docblock"><p>Converts a fixed-point number, panicking if it does not fit.</p>
|
||
<p>Any extra fractional bits are discarded, which rounds towards −∞.</p>
|
||
<h5 id="panics-101"><a class="doc-anchor" href="#panics-101">§</a>Panics</h5>
|
||
<p>Panics if the value does not fit, even when debug
|
||
assertions are not enabled.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-FromStr-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/from_str.rs.html#1303">Source</a><a href="#impl-FromStr-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/str/traits/trait.FromStr.html" title="trait core::str::traits::FromStr">FromStr</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from_str-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/from_str.rs.html#1303">Source</a><a href="#method.from_str-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/str/traits/trait.FromStr.html#tymethod.from_str" class="fn">from_str</a>(s: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self, Self::<a class="associatedtype" href="https://doc.rust-lang.org/1.84.0/core/str/traits/trait.FromStr.html#associatedtype.Err" title="type core::str::traits::FromStr::Err">Err</a>></h4></section></summary><div class="docblock"><p>Parses a string slice to return a fixed-point number.</p>
|
||
<p>Rounding is to the nearest, with ties rounded to even.</p>
|
||
</div></details><details class="toggle" open><summary><section id="associatedtype.Err" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/from_str.rs.html#1303">Source</a><a href="#associatedtype.Err" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/str/traits/trait.FromStr.html#associatedtype.Err" class="associatedtype">Err</a> = <a class="struct" href="struct.ParseFixedError.html" title="struct fixed::ParseFixedError">ParseFixedError</a></h4></section></summary><div class='docblock'>The associated error which can be returned from parsing.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Hash-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><a href="#impl-Hash-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.hash" class="method trait-impl"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><a href="#method.hash" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/hash/trait.Hash.html#tymethod.hash" class="fn">hash</a><H: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>>(&self, state: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&mut H</a>)</h4></section></summary><div class='docblock'>Feeds this value into the given <a href="https://doc.rust-lang.org/1.84.0/core/hash/trait.Hasher.html" title="trait core::hash::Hasher"><code>Hasher</code></a>. <a href="https://doc.rust-lang.org/1.84.0/core/hash/trait.Hash.html#tymethod.hash">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.hash_slice" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.3.0">1.3.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/hash/mod.rs.html#235-237">Source</a></span><a href="#method.hash_slice" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/hash/trait.Hash.html#method.hash_slice" class="fn">hash_slice</a><H>(data: &[Self], state: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&mut H</a>)<div class="where">where
|
||
H: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>,
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Feeds a slice of this type into the given <a href="https://doc.rust-lang.org/1.84.0/core/hash/trait.Hasher.html" title="trait core::hash::Hasher"><code>Hasher</code></a>. <a href="https://doc.rust-lang.org/1.84.0/core/hash/trait.Hash.html#method.hash_slice">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LosslessTryFrom%3CFixedI128%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#229">Source</a><a href="#impl-LosslessTryFrom%3CFixedI128%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LosslessTryFrom.html" title="trait fixed::traits::LosslessTryFrom">LosslessTryFrom</a><<a class="struct" href="struct.FixedI128.html" title="struct fixed::FixedI128">FixedI128</a><FracSrc>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst><div class="where">where
|
||
FracSrc: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><FracDst, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>> + <a class="trait" href="types/extra/trait.LeEqU128.html" title="trait fixed::types::extra::LeEqU128">LeEqU128</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossless_try_from-13" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#229">Source</a><a href="#method.lossless_try_from-13" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LosslessTryFrom.html#tymethod.lossless_try_from" class="fn">lossless_try_from</a>(src: <a class="struct" href="struct.FixedI128.html" title="struct fixed::FixedI128">FixedI128</a><FracSrc>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class="docblock"><p>Converts a fixed-pint number.</p>
|
||
<p>This conversion may fail (fallible) but does not lose
|
||
precision (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LosslessTryFrom%3CFixedI16%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#226">Source</a><a href="#impl-LosslessTryFrom%3CFixedI16%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LosslessTryFrom.html" title="trait fixed::traits::LosslessTryFrom">LosslessTryFrom</a><<a class="struct" href="struct.FixedI16.html" title="struct fixed::FixedI16">FixedI16</a><FracSrc>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst><div class="where">where
|
||
FracSrc: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><FracDst, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>> + <a class="trait" href="types/extra/trait.LeEqU16.html" title="trait fixed::types::extra::LeEqU16">LeEqU16</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossless_try_from-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#226">Source</a><a href="#method.lossless_try_from-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LosslessTryFrom.html#tymethod.lossless_try_from" class="fn">lossless_try_from</a>(src: <a class="struct" href="struct.FixedI16.html" title="struct fixed::FixedI16">FixedI16</a><FracSrc>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class="docblock"><p>Converts a fixed-pint number.</p>
|
||
<p>This conversion may fail (fallible) but does not lose
|
||
precision (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LosslessTryFrom%3CFixedI32%3CFrac%3E%3E-for-F128" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#748">Source</a><a href="#impl-LosslessTryFrom%3CFixedI32%3CFrac%3E%3E-for-F128" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LosslessTryFrom.html" title="trait fixed::traits::LosslessTryFrom">LosslessTryFrom</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="struct.F128.html" title="struct fixed::F128">F128</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossless_try_from-46" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#748">Source</a><a href="#method.lossless_try_from-46" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LosslessTryFrom.html#tymethod.lossless_try_from" class="fn">lossless_try_from</a>(src: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.F128.html" title="struct fixed::F128">F128</a>></h4></section></summary><div class="docblock"><p>Converts a fixed-point number to a floating-point number.</p>
|
||
<p>This conversion actually never fails (infallible) but
|
||
does not lose any precision (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LosslessTryFrom%3CFixedI32%3CFrac%3E%3E-for-F128Bits" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#756">Source</a><a href="#impl-LosslessTryFrom%3CFixedI32%3CFrac%3E%3E-for-F128Bits" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LosslessTryFrom.html" title="trait fixed::traits::LosslessTryFrom">LosslessTryFrom</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="struct.F128Bits.html" title="struct fixed::F128Bits">F128Bits</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossless_try_from-47" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#756">Source</a><a href="#method.lossless_try_from-47" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LosslessTryFrom.html#tymethod.lossless_try_from" class="fn">lossless_try_from</a>(src: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="struct.F128Bits.html" title="struct fixed::F128Bits">F128Bits</a>></h4></section></summary><div class="docblock"><p>Converts a fixed-point number to a floating-point number.</p>
|
||
<p>This conversion actually never fails (infallible) but
|
||
does not lose any precision (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LosslessTryFrom%3CFixedI32%3CFrac%3E%3E-for-f64" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#742">Source</a><a href="#impl-LosslessTryFrom%3CFixedI32%3CFrac%3E%3E-for-f64" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LosslessTryFrom.html" title="trait fixed::traits::LosslessTryFrom">LosslessTryFrom</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f64.html">f64</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossless_try_from-45" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#742">Source</a><a href="#method.lossless_try_from-45" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LosslessTryFrom.html#tymethod.lossless_try_from" class="fn">lossless_try_from</a>(src: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f64.html">f64</a>></h4></section></summary><div class="docblock"><p>Converts a fixed-point number to a floating-point number.</p>
|
||
<p>This conversion actually never fails (infallible) but
|
||
does not lose any precision (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LosslessTryFrom%3CFixedI32%3CFracSrc%3E%3E-for-FixedI128%3CFracDst%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#227">Source</a><a href="#impl-LosslessTryFrom%3CFixedI32%3CFracSrc%3E%3E-for-FixedI128%3CFracDst%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc, FracDst: <a class="trait" href="types/extra/trait.LeEqU128.html" title="trait fixed::types::extra::LeEqU128">LeEqU128</a>> <a class="trait" href="traits/trait.LosslessTryFrom.html" title="trait fixed::traits::LosslessTryFrom">LosslessTryFrom</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc>> for <a class="struct" href="struct.FixedI128.html" title="struct fixed::FixedI128">FixedI128</a><FracDst><div class="where">where
|
||
FracSrc: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><FracDst, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>> + <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossless_try_from-6" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#227">Source</a><a href="#method.lossless_try_from-6" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LosslessTryFrom.html#tymethod.lossless_try_from" class="fn">lossless_try_from</a>(src: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class="docblock"><p>Converts a fixed-pint number.</p>
|
||
<p>This conversion may fail (fallible) but does not lose
|
||
precision (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LosslessTryFrom%3CFixedI32%3CFracSrc%3E%3E-for-FixedI16%3CFracDst%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#227">Source</a><a href="#impl-LosslessTryFrom%3CFixedI32%3CFracSrc%3E%3E-for-FixedI16%3CFracDst%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc, FracDst: <a class="trait" href="types/extra/trait.LeEqU16.html" title="trait fixed::types::extra::LeEqU16">LeEqU16</a>> <a class="trait" href="traits/trait.LosslessTryFrom.html" title="trait fixed::traits::LosslessTryFrom">LosslessTryFrom</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc>> for <a class="struct" href="struct.FixedI16.html" title="struct fixed::FixedI16">FixedI16</a><FracDst><div class="where">where
|
||
FracSrc: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><FracDst, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>> + <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossless_try_from-3" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#227">Source</a><a href="#method.lossless_try_from-3" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LosslessTryFrom.html#tymethod.lossless_try_from" class="fn">lossless_try_from</a>(src: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class="docblock"><p>Converts a fixed-pint number.</p>
|
||
<p>This conversion may fail (fallible) but does not lose
|
||
precision (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LosslessTryFrom%3CFixedI32%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#227">Source</a><a href="#impl-LosslessTryFrom%3CFixedI32%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LosslessTryFrom.html" title="trait fixed::traits::LosslessTryFrom">LosslessTryFrom</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst><div class="where">where
|
||
FracSrc: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><FracDst, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>> + <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossless_try_from-4" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#227">Source</a><a href="#method.lossless_try_from-4" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LosslessTryFrom.html#tymethod.lossless_try_from" class="fn">lossless_try_from</a>(src: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class="docblock"><p>Converts a fixed-pint number.</p>
|
||
<p>This conversion may fail (fallible) but does not lose
|
||
precision (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LosslessTryFrom%3CFixedI32%3CFracSrc%3E%3E-for-FixedI64%3CFracDst%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#227">Source</a><a href="#impl-LosslessTryFrom%3CFixedI32%3CFracSrc%3E%3E-for-FixedI64%3CFracDst%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc, FracDst: <a class="trait" href="types/extra/trait.LeEqU64.html" title="trait fixed::types::extra::LeEqU64">LeEqU64</a>> <a class="trait" href="traits/trait.LosslessTryFrom.html" title="trait fixed::traits::LosslessTryFrom">LosslessTryFrom</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc>> for <a class="struct" href="struct.FixedI64.html" title="struct fixed::FixedI64">FixedI64</a><FracDst><div class="where">where
|
||
FracSrc: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><FracDst, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>> + <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossless_try_from-5" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#227">Source</a><a href="#method.lossless_try_from-5" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LosslessTryFrom.html#tymethod.lossless_try_from" class="fn">lossless_try_from</a>(src: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class="docblock"><p>Converts a fixed-pint number.</p>
|
||
<p>This conversion may fail (fallible) but does not lose
|
||
precision (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LosslessTryFrom%3CFixedI32%3CFracSrc%3E%3E-for-FixedI8%3CFracDst%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#227">Source</a><a href="#impl-LosslessTryFrom%3CFixedI32%3CFracSrc%3E%3E-for-FixedI8%3CFracDst%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc, FracDst: <a class="trait" href="types/extra/trait.LeEqU8.html" title="trait fixed::types::extra::LeEqU8">LeEqU8</a>> <a class="trait" href="traits/trait.LosslessTryFrom.html" title="trait fixed::traits::LosslessTryFrom">LosslessTryFrom</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc>> for <a class="struct" href="struct.FixedI8.html" title="struct fixed::FixedI8">FixedI8</a><FracDst><div class="where">where
|
||
FracSrc: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><FracDst, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>> + <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossless_try_from-2" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#227">Source</a><a href="#method.lossless_try_from-2" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LosslessTryFrom.html#tymethod.lossless_try_from" class="fn">lossless_try_from</a>(src: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class="docblock"><p>Converts a fixed-pint number.</p>
|
||
<p>This conversion may fail (fallible) but does not lose
|
||
precision (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LosslessTryFrom%3CFixedI32%3CFracSrc%3E%3E-for-FixedU128%3CFracDst%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#227">Source</a><a href="#impl-LosslessTryFrom%3CFixedI32%3CFracSrc%3E%3E-for-FixedU128%3CFracDst%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc, FracDst: <a class="trait" href="types/extra/trait.LeEqU128.html" title="trait fixed::types::extra::LeEqU128">LeEqU128</a>> <a class="trait" href="traits/trait.LosslessTryFrom.html" title="trait fixed::traits::LosslessTryFrom">LosslessTryFrom</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc>> for <a class="struct" href="struct.FixedU128.html" title="struct fixed::FixedU128">FixedU128</a><FracDst><div class="where">where
|
||
FracSrc: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><FracDst, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>> + <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossless_try_from-11" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#227">Source</a><a href="#method.lossless_try_from-11" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LosslessTryFrom.html#tymethod.lossless_try_from" class="fn">lossless_try_from</a>(src: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class="docblock"><p>Converts a fixed-pint number.</p>
|
||
<p>This conversion may fail (fallible) but does not lose
|
||
precision (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LosslessTryFrom%3CFixedI32%3CFracSrc%3E%3E-for-FixedU16%3CFracDst%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#227">Source</a><a href="#impl-LosslessTryFrom%3CFixedI32%3CFracSrc%3E%3E-for-FixedU16%3CFracDst%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc, FracDst: <a class="trait" href="types/extra/trait.LeEqU16.html" title="trait fixed::types::extra::LeEqU16">LeEqU16</a>> <a class="trait" href="traits/trait.LosslessTryFrom.html" title="trait fixed::traits::LosslessTryFrom">LosslessTryFrom</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc>> for <a class="struct" href="struct.FixedU16.html" title="struct fixed::FixedU16">FixedU16</a><FracDst><div class="where">where
|
||
FracSrc: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><FracDst, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>> + <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossless_try_from-8" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#227">Source</a><a href="#method.lossless_try_from-8" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LosslessTryFrom.html#tymethod.lossless_try_from" class="fn">lossless_try_from</a>(src: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class="docblock"><p>Converts a fixed-pint number.</p>
|
||
<p>This conversion may fail (fallible) but does not lose
|
||
precision (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LosslessTryFrom%3CFixedI32%3CFracSrc%3E%3E-for-FixedU32%3CFracDst%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#227">Source</a><a href="#impl-LosslessTryFrom%3CFixedI32%3CFracSrc%3E%3E-for-FixedU32%3CFracDst%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LosslessTryFrom.html" title="trait fixed::traits::LosslessTryFrom">LosslessTryFrom</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc>> for <a class="struct" href="struct.FixedU32.html" title="struct fixed::FixedU32">FixedU32</a><FracDst><div class="where">where
|
||
FracSrc: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><FracDst, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>> + <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossless_try_from-9" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#227">Source</a><a href="#method.lossless_try_from-9" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LosslessTryFrom.html#tymethod.lossless_try_from" class="fn">lossless_try_from</a>(src: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class="docblock"><p>Converts a fixed-pint number.</p>
|
||
<p>This conversion may fail (fallible) but does not lose
|
||
precision (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LosslessTryFrom%3CFixedI32%3CFracSrc%3E%3E-for-FixedU64%3CFracDst%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#227">Source</a><a href="#impl-LosslessTryFrom%3CFixedI32%3CFracSrc%3E%3E-for-FixedU64%3CFracDst%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc, FracDst: <a class="trait" href="types/extra/trait.LeEqU64.html" title="trait fixed::types::extra::LeEqU64">LeEqU64</a>> <a class="trait" href="traits/trait.LosslessTryFrom.html" title="trait fixed::traits::LosslessTryFrom">LosslessTryFrom</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc>> for <a class="struct" href="struct.FixedU64.html" title="struct fixed::FixedU64">FixedU64</a><FracDst><div class="where">where
|
||
FracSrc: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><FracDst, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>> + <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossless_try_from-10" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#227">Source</a><a href="#method.lossless_try_from-10" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LosslessTryFrom.html#tymethod.lossless_try_from" class="fn">lossless_try_from</a>(src: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class="docblock"><p>Converts a fixed-pint number.</p>
|
||
<p>This conversion may fail (fallible) but does not lose
|
||
precision (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LosslessTryFrom%3CFixedI32%3CFracSrc%3E%3E-for-FixedU8%3CFracDst%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#227">Source</a><a href="#impl-LosslessTryFrom%3CFixedI32%3CFracSrc%3E%3E-for-FixedU8%3CFracDst%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc, FracDst: <a class="trait" href="types/extra/trait.LeEqU8.html" title="trait fixed::types::extra::LeEqU8">LeEqU8</a>> <a class="trait" href="traits/trait.LosslessTryFrom.html" title="trait fixed::traits::LosslessTryFrom">LosslessTryFrom</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc>> for <a class="struct" href="struct.FixedU8.html" title="struct fixed::FixedU8">FixedU8</a><FracDst><div class="where">where
|
||
FracSrc: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><FracDst, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>> + <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossless_try_from-7" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#227">Source</a><a href="#method.lossless_try_from-7" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LosslessTryFrom.html#tymethod.lossless_try_from" class="fn">lossless_try_from</a>(src: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class="docblock"><p>Converts a fixed-pint number.</p>
|
||
<p>This conversion may fail (fallible) but does not lose
|
||
precision (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LosslessTryFrom%3CFixedI32%3CUTerm%3E%3E-for-i128" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#588">Source</a><a href="#impl-LosslessTryFrom%3CFixedI32%3CUTerm%3E%3E-for-i128" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="traits/trait.LosslessTryFrom.html" title="trait fixed::traits::LosslessTryFrom">LosslessTryFrom</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><<a class="struct" href="../typenum/uint/struct.UTerm.html" title="struct typenum::uint::UTerm">UTerm</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"><details class="toggle method-toggle" open><summary><section id="method.lossless_try_from-36" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#588">Source</a><a href="#method.lossless_try_from-36" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LosslessTryFrom.html#tymethod.lossless_try_from" class="fn">lossless_try_from</a>(src: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><<a class="type" href="types/extra/type.U0.html" title="type fixed::types::extra::U0">U0</a>>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class="docblock"><p>Converts a fixed-point number to an integer.</p>
|
||
<p>This conversion may fail (fallible) but cannot lose
|
||
any fractional bits (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LosslessTryFrom%3CFixedI32%3CUTerm%3E%3E-for-i16" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#588">Source</a><a href="#impl-LosslessTryFrom%3CFixedI32%3CUTerm%3E%3E-for-i16" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="traits/trait.LosslessTryFrom.html" title="trait fixed::traits::LosslessTryFrom">LosslessTryFrom</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><<a class="struct" href="../typenum/uint/struct.UTerm.html" title="struct typenum::uint::UTerm">UTerm</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"><details class="toggle method-toggle" open><summary><section id="method.lossless_try_from-33" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#588">Source</a><a href="#method.lossless_try_from-33" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LosslessTryFrom.html#tymethod.lossless_try_from" class="fn">lossless_try_from</a>(src: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><<a class="type" href="types/extra/type.U0.html" title="type fixed::types::extra::U0">U0</a>>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class="docblock"><p>Converts a fixed-point number to an integer.</p>
|
||
<p>This conversion may fail (fallible) but cannot lose
|
||
any fractional bits (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LosslessTryFrom%3CFixedI32%3CUTerm%3E%3E-for-i32" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#588">Source</a><a href="#impl-LosslessTryFrom%3CFixedI32%3CUTerm%3E%3E-for-i32" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="traits/trait.LosslessTryFrom.html" title="trait fixed::traits::LosslessTryFrom">LosslessTryFrom</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><<a class="struct" href="../typenum/uint/struct.UTerm.html" title="struct typenum::uint::UTerm">UTerm</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"><details class="toggle method-toggle" open><summary><section id="method.lossless_try_from-34" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#588">Source</a><a href="#method.lossless_try_from-34" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LosslessTryFrom.html#tymethod.lossless_try_from" class="fn">lossless_try_from</a>(src: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><<a class="type" href="types/extra/type.U0.html" title="type fixed::types::extra::U0">U0</a>>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class="docblock"><p>Converts a fixed-point number to an integer.</p>
|
||
<p>This conversion may fail (fallible) but cannot lose
|
||
any fractional bits (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LosslessTryFrom%3CFixedI32%3CUTerm%3E%3E-for-i64" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#588">Source</a><a href="#impl-LosslessTryFrom%3CFixedI32%3CUTerm%3E%3E-for-i64" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="traits/trait.LosslessTryFrom.html" title="trait fixed::traits::LosslessTryFrom">LosslessTryFrom</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><<a class="struct" href="../typenum/uint/struct.UTerm.html" title="struct typenum::uint::UTerm">UTerm</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"><details class="toggle method-toggle" open><summary><section id="method.lossless_try_from-35" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#588">Source</a><a href="#method.lossless_try_from-35" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LosslessTryFrom.html#tymethod.lossless_try_from" class="fn">lossless_try_from</a>(src: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><<a class="type" href="types/extra/type.U0.html" title="type fixed::types::extra::U0">U0</a>>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class="docblock"><p>Converts a fixed-point number to an integer.</p>
|
||
<p>This conversion may fail (fallible) but cannot lose
|
||
any fractional bits (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LosslessTryFrom%3CFixedI32%3CUTerm%3E%3E-for-i8" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#588">Source</a><a href="#impl-LosslessTryFrom%3CFixedI32%3CUTerm%3E%3E-for-i8" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="traits/trait.LosslessTryFrom.html" title="trait fixed::traits::LosslessTryFrom">LosslessTryFrom</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><<a class="struct" href="../typenum/uint/struct.UTerm.html" title="struct typenum::uint::UTerm">UTerm</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"><details class="toggle method-toggle" open><summary><section id="method.lossless_try_from-32" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#588">Source</a><a href="#method.lossless_try_from-32" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LosslessTryFrom.html#tymethod.lossless_try_from" class="fn">lossless_try_from</a>(src: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><<a class="type" href="types/extra/type.U0.html" title="type fixed::types::extra::U0">U0</a>>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class="docblock"><p>Converts a fixed-point number to an integer.</p>
|
||
<p>This conversion may fail (fallible) but cannot lose
|
||
any fractional bits (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LosslessTryFrom%3CFixedI32%3CUTerm%3E%3E-for-isize" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#588">Source</a><a href="#impl-LosslessTryFrom%3CFixedI32%3CUTerm%3E%3E-for-isize" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="traits/trait.LosslessTryFrom.html" title="trait fixed::traits::LosslessTryFrom">LosslessTryFrom</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><<a class="struct" href="../typenum/uint/struct.UTerm.html" title="struct typenum::uint::UTerm">UTerm</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"><details class="toggle method-toggle" open><summary><section id="method.lossless_try_from-37" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#588">Source</a><a href="#method.lossless_try_from-37" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LosslessTryFrom.html#tymethod.lossless_try_from" class="fn">lossless_try_from</a>(src: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><<a class="type" href="types/extra/type.U0.html" title="type fixed::types::extra::U0">U0</a>>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class="docblock"><p>Converts a fixed-point number to an integer.</p>
|
||
<p>This conversion may fail (fallible) but cannot lose
|
||
any fractional bits (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LosslessTryFrom%3CFixedI32%3CUTerm%3E%3E-for-u128" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#588">Source</a><a href="#impl-LosslessTryFrom%3CFixedI32%3CUTerm%3E%3E-for-u128" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="traits/trait.LosslessTryFrom.html" title="trait fixed::traits::LosslessTryFrom">LosslessTryFrom</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><<a class="struct" href="../typenum/uint/struct.UTerm.html" title="struct typenum::uint::UTerm">UTerm</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"><details class="toggle method-toggle" open><summary><section id="method.lossless_try_from-42" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#588">Source</a><a href="#method.lossless_try_from-42" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LosslessTryFrom.html#tymethod.lossless_try_from" class="fn">lossless_try_from</a>(src: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><<a class="type" href="types/extra/type.U0.html" title="type fixed::types::extra::U0">U0</a>>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class="docblock"><p>Converts a fixed-point number to an integer.</p>
|
||
<p>This conversion may fail (fallible) but cannot lose
|
||
any fractional bits (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LosslessTryFrom%3CFixedI32%3CUTerm%3E%3E-for-u16" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#588">Source</a><a href="#impl-LosslessTryFrom%3CFixedI32%3CUTerm%3E%3E-for-u16" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="traits/trait.LosslessTryFrom.html" title="trait fixed::traits::LosslessTryFrom">LosslessTryFrom</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><<a class="struct" href="../typenum/uint/struct.UTerm.html" title="struct typenum::uint::UTerm">UTerm</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"><details class="toggle method-toggle" open><summary><section id="method.lossless_try_from-39" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#588">Source</a><a href="#method.lossless_try_from-39" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LosslessTryFrom.html#tymethod.lossless_try_from" class="fn">lossless_try_from</a>(src: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><<a class="type" href="types/extra/type.U0.html" title="type fixed::types::extra::U0">U0</a>>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class="docblock"><p>Converts a fixed-point number to an integer.</p>
|
||
<p>This conversion may fail (fallible) but cannot lose
|
||
any fractional bits (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LosslessTryFrom%3CFixedI32%3CUTerm%3E%3E-for-u32" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#588">Source</a><a href="#impl-LosslessTryFrom%3CFixedI32%3CUTerm%3E%3E-for-u32" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="traits/trait.LosslessTryFrom.html" title="trait fixed::traits::LosslessTryFrom">LosslessTryFrom</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><<a class="struct" href="../typenum/uint/struct.UTerm.html" title="struct typenum::uint::UTerm">UTerm</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"><details class="toggle method-toggle" open><summary><section id="method.lossless_try_from-40" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#588">Source</a><a href="#method.lossless_try_from-40" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LosslessTryFrom.html#tymethod.lossless_try_from" class="fn">lossless_try_from</a>(src: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><<a class="type" href="types/extra/type.U0.html" title="type fixed::types::extra::U0">U0</a>>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class="docblock"><p>Converts a fixed-point number to an integer.</p>
|
||
<p>This conversion may fail (fallible) but cannot lose
|
||
any fractional bits (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LosslessTryFrom%3CFixedI32%3CUTerm%3E%3E-for-u64" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#588">Source</a><a href="#impl-LosslessTryFrom%3CFixedI32%3CUTerm%3E%3E-for-u64" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="traits/trait.LosslessTryFrom.html" title="trait fixed::traits::LosslessTryFrom">LosslessTryFrom</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><<a class="struct" href="../typenum/uint/struct.UTerm.html" title="struct typenum::uint::UTerm">UTerm</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"><details class="toggle method-toggle" open><summary><section id="method.lossless_try_from-41" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#588">Source</a><a href="#method.lossless_try_from-41" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LosslessTryFrom.html#tymethod.lossless_try_from" class="fn">lossless_try_from</a>(src: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><<a class="type" href="types/extra/type.U0.html" title="type fixed::types::extra::U0">U0</a>>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class="docblock"><p>Converts a fixed-point number to an integer.</p>
|
||
<p>This conversion may fail (fallible) but cannot lose
|
||
any fractional bits (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LosslessTryFrom%3CFixedI32%3CUTerm%3E%3E-for-u8" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#588">Source</a><a href="#impl-LosslessTryFrom%3CFixedI32%3CUTerm%3E%3E-for-u8" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="traits/trait.LosslessTryFrom.html" title="trait fixed::traits::LosslessTryFrom">LosslessTryFrom</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><<a class="struct" href="../typenum/uint/struct.UTerm.html" title="struct typenum::uint::UTerm">UTerm</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"><details class="toggle method-toggle" open><summary><section id="method.lossless_try_from-38" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#588">Source</a><a href="#method.lossless_try_from-38" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LosslessTryFrom.html#tymethod.lossless_try_from" class="fn">lossless_try_from</a>(src: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><<a class="type" href="types/extra/type.U0.html" title="type fixed::types::extra::U0">U0</a>>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class="docblock"><p>Converts a fixed-point number to an integer.</p>
|
||
<p>This conversion may fail (fallible) but cannot lose
|
||
any fractional bits (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LosslessTryFrom%3CFixedI32%3CUTerm%3E%3E-for-usize" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#588">Source</a><a href="#impl-LosslessTryFrom%3CFixedI32%3CUTerm%3E%3E-for-usize" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="traits/trait.LosslessTryFrom.html" title="trait fixed::traits::LosslessTryFrom">LosslessTryFrom</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><<a class="struct" href="../typenum/uint/struct.UTerm.html" title="struct typenum::uint::UTerm">UTerm</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"><details class="toggle method-toggle" open><summary><section id="method.lossless_try_from-43" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#588">Source</a><a href="#method.lossless_try_from-43" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LosslessTryFrom.html#tymethod.lossless_try_from" class="fn">lossless_try_from</a>(src: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><<a class="type" href="types/extra/type.U0.html" title="type fixed::types::extra::U0">U0</a>>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class="docblock"><p>Converts a fixed-point number to an integer.</p>
|
||
<p>This conversion may fail (fallible) but cannot lose
|
||
any fractional bits (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LosslessTryFrom%3CFixedI64%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#228">Source</a><a href="#impl-LosslessTryFrom%3CFixedI64%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LosslessTryFrom.html" title="trait fixed::traits::LosslessTryFrom">LosslessTryFrom</a><<a class="struct" href="struct.FixedI64.html" title="struct fixed::FixedI64">FixedI64</a><FracSrc>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst><div class="where">where
|
||
FracSrc: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><FracDst, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>> + <a class="trait" href="types/extra/trait.LeEqU64.html" title="trait fixed::types::extra::LeEqU64">LeEqU64</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossless_try_from-12" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#228">Source</a><a href="#method.lossless_try_from-12" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LosslessTryFrom.html#tymethod.lossless_try_from" class="fn">lossless_try_from</a>(src: <a class="struct" href="struct.FixedI64.html" title="struct fixed::FixedI64">FixedI64</a><FracSrc>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class="docblock"><p>Converts a fixed-pint number.</p>
|
||
<p>This conversion may fail (fallible) but does not lose
|
||
precision (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LosslessTryFrom%3CFixedI8%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#225">Source</a><a href="#impl-LosslessTryFrom%3CFixedI8%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LosslessTryFrom.html" title="trait fixed::traits::LosslessTryFrom">LosslessTryFrom</a><<a class="struct" href="struct.FixedI8.html" title="struct fixed::FixedI8">FixedI8</a><FracSrc>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst><div class="where">where
|
||
FracSrc: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><FracDst, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>> + <a class="trait" href="types/extra/trait.LeEqU8.html" title="trait fixed::types::extra::LeEqU8">LeEqU8</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossless_try_from" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#225">Source</a><a href="#method.lossless_try_from" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LosslessTryFrom.html#tymethod.lossless_try_from" class="fn">lossless_try_from</a>(src: <a class="struct" href="struct.FixedI8.html" title="struct fixed::FixedI8">FixedI8</a><FracSrc>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class="docblock"><p>Converts a fixed-pint number.</p>
|
||
<p>This conversion may fail (fallible) but does not lose
|
||
precision (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LosslessTryFrom%3CFixedU128%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#234">Source</a><a href="#impl-LosslessTryFrom%3CFixedU128%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LosslessTryFrom.html" title="trait fixed::traits::LosslessTryFrom">LosslessTryFrom</a><<a class="struct" href="struct.FixedU128.html" title="struct fixed::FixedU128">FixedU128</a><FracSrc>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst><div class="where">where
|
||
FracSrc: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><FracDst, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>> + <a class="trait" href="types/extra/trait.LeEqU128.html" title="trait fixed::types::extra::LeEqU128">LeEqU128</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossless_try_from-18" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#234">Source</a><a href="#method.lossless_try_from-18" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LosslessTryFrom.html#tymethod.lossless_try_from" class="fn">lossless_try_from</a>(src: <a class="struct" href="struct.FixedU128.html" title="struct fixed::FixedU128">FixedU128</a><FracSrc>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class="docblock"><p>Converts a fixed-pint number.</p>
|
||
<p>This conversion may fail (fallible) but does not lose
|
||
precision (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LosslessTryFrom%3CFixedU16%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#231">Source</a><a href="#impl-LosslessTryFrom%3CFixedU16%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LosslessTryFrom.html" title="trait fixed::traits::LosslessTryFrom">LosslessTryFrom</a><<a class="struct" href="struct.FixedU16.html" title="struct fixed::FixedU16">FixedU16</a><FracSrc>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst><div class="where">where
|
||
FracSrc: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><FracDst, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>> + <a class="trait" href="types/extra/trait.LeEqU16.html" title="trait fixed::types::extra::LeEqU16">LeEqU16</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossless_try_from-15" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#231">Source</a><a href="#method.lossless_try_from-15" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LosslessTryFrom.html#tymethod.lossless_try_from" class="fn">lossless_try_from</a>(src: <a class="struct" href="struct.FixedU16.html" title="struct fixed::FixedU16">FixedU16</a><FracSrc>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class="docblock"><p>Converts a fixed-pint number.</p>
|
||
<p>This conversion may fail (fallible) but does not lose
|
||
precision (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LosslessTryFrom%3CFixedU32%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#232">Source</a><a href="#impl-LosslessTryFrom%3CFixedU32%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LosslessTryFrom.html" title="trait fixed::traits::LosslessTryFrom">LosslessTryFrom</a><<a class="struct" href="struct.FixedU32.html" title="struct fixed::FixedU32">FixedU32</a><FracSrc>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst><div class="where">where
|
||
FracSrc: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><FracDst, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>> + <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossless_try_from-16" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#232">Source</a><a href="#method.lossless_try_from-16" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LosslessTryFrom.html#tymethod.lossless_try_from" class="fn">lossless_try_from</a>(src: <a class="struct" href="struct.FixedU32.html" title="struct fixed::FixedU32">FixedU32</a><FracSrc>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class="docblock"><p>Converts a fixed-pint number.</p>
|
||
<p>This conversion may fail (fallible) but does not lose
|
||
precision (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LosslessTryFrom%3CFixedU64%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#233">Source</a><a href="#impl-LosslessTryFrom%3CFixedU64%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LosslessTryFrom.html" title="trait fixed::traits::LosslessTryFrom">LosslessTryFrom</a><<a class="struct" href="struct.FixedU64.html" title="struct fixed::FixedU64">FixedU64</a><FracSrc>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst><div class="where">where
|
||
FracSrc: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><FracDst, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>> + <a class="trait" href="types/extra/trait.LeEqU64.html" title="trait fixed::types::extra::LeEqU64">LeEqU64</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossless_try_from-17" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#233">Source</a><a href="#method.lossless_try_from-17" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LosslessTryFrom.html#tymethod.lossless_try_from" class="fn">lossless_try_from</a>(src: <a class="struct" href="struct.FixedU64.html" title="struct fixed::FixedU64">FixedU64</a><FracSrc>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class="docblock"><p>Converts a fixed-pint number.</p>
|
||
<p>This conversion may fail (fallible) but does not lose
|
||
precision (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LosslessTryFrom%3CFixedU8%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#230">Source</a><a href="#impl-LosslessTryFrom%3CFixedU8%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LosslessTryFrom.html" title="trait fixed::traits::LosslessTryFrom">LosslessTryFrom</a><<a class="struct" href="struct.FixedU8.html" title="struct fixed::FixedU8">FixedU8</a><FracSrc>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst><div class="where">where
|
||
FracSrc: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><FracDst, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>> + <a class="trait" href="types/extra/trait.LeEqU8.html" title="trait fixed::types::extra::LeEqU8">LeEqU8</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossless_try_from-14" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#230">Source</a><a href="#method.lossless_try_from-14" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LosslessTryFrom.html#tymethod.lossless_try_from" class="fn">lossless_try_from</a>(src: <a class="struct" href="struct.FixedU8.html" title="struct fixed::FixedU8">FixedU8</a><FracSrc>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class="docblock"><p>Converts a fixed-pint number.</p>
|
||
<p>This conversion may fail (fallible) but does not lose
|
||
precision (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LosslessTryFrom%3Cbool%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#292">Source</a><a href="#impl-LosslessTryFrom%3Cbool%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LosslessTryFrom.html" title="trait fixed::traits::LosslessTryFrom">LosslessTryFrom</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossless_try_from-19" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#292">Source</a><a href="#method.lossless_try_from-19" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LosslessTryFrom.html#tymethod.lossless_try_from" class="fn">lossless_try_from</a>(src: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class="docblock"><p>Converts an integer to a fixed-point number.</p>
|
||
<p>This conversion may fail (fallible) but cannot lose
|
||
any fractional bits (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LosslessTryFrom%3Cf16%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#704">Source</a><a href="#impl-LosslessTryFrom%3Cf16%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LosslessTryFrom.html" title="trait fixed::traits::LosslessTryFrom">LosslessTryFrom</a><<a class="struct" href="../half/binary16/struct.f16.html" title="struct half::binary16::f16">f16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac><div class="where">where
|
||
<a class="type" href="types/extra/type.U24.html" title="type fixed::types::extra::U24">U24</a>: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><Frac, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossless_try_from-44" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#704">Source</a><a href="#method.lossless_try_from-44" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LosslessTryFrom.html#tymethod.lossless_try_from" class="fn">lossless_try_from</a>(src: <a class="struct" href="../half/binary16/struct.f16.html" title="struct half::binary16::f16">half_f16</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class="docblock"><p>Converts a floating-point number to a fixed-point
|
||
number.</p>
|
||
<p>This conversion may fail (fallible) but cannot lose
|
||
any fractional bits (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LosslessTryFrom%3Ci128%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#297">Source</a><a href="#impl-LosslessTryFrom%3Ci128%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LosslessTryFrom.html" title="trait fixed::traits::LosslessTryFrom">LosslessTryFrom</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html">i128</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossless_try_from-24" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#297">Source</a><a href="#method.lossless_try_from-24" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LosslessTryFrom.html#tymethod.lossless_try_from" class="fn">lossless_try_from</a>(src: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html">i128</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class="docblock"><p>Converts an integer to a fixed-point number.</p>
|
||
<p>This conversion may fail (fallible) but cannot lose
|
||
any fractional bits (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LosslessTryFrom%3Ci16%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#294">Source</a><a href="#impl-LosslessTryFrom%3Ci16%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LosslessTryFrom.html" title="trait fixed::traits::LosslessTryFrom">LosslessTryFrom</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossless_try_from-21" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#294">Source</a><a href="#method.lossless_try_from-21" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LosslessTryFrom.html#tymethod.lossless_try_from" class="fn">lossless_try_from</a>(src: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class="docblock"><p>Converts an integer to a fixed-point number.</p>
|
||
<p>This conversion may fail (fallible) but cannot lose
|
||
any fractional bits (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LosslessTryFrom%3Ci32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#295">Source</a><a href="#impl-LosslessTryFrom%3Ci32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LosslessTryFrom.html" title="trait fixed::traits::LosslessTryFrom">LosslessTryFrom</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossless_try_from-22" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#295">Source</a><a href="#method.lossless_try_from-22" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LosslessTryFrom.html#tymethod.lossless_try_from" class="fn">lossless_try_from</a>(src: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class="docblock"><p>Converts an integer to a fixed-point number.</p>
|
||
<p>This conversion may fail (fallible) but cannot lose
|
||
any fractional bits (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LosslessTryFrom%3Ci64%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#296">Source</a><a href="#impl-LosslessTryFrom%3Ci64%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LosslessTryFrom.html" title="trait fixed::traits::LosslessTryFrom">LosslessTryFrom</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html">i64</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossless_try_from-23" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#296">Source</a><a href="#method.lossless_try_from-23" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LosslessTryFrom.html#tymethod.lossless_try_from" class="fn">lossless_try_from</a>(src: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html">i64</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class="docblock"><p>Converts an integer to a fixed-point number.</p>
|
||
<p>This conversion may fail (fallible) but cannot lose
|
||
any fractional bits (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LosslessTryFrom%3Ci8%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#293">Source</a><a href="#impl-LosslessTryFrom%3Ci8%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LosslessTryFrom.html" title="trait fixed::traits::LosslessTryFrom">LosslessTryFrom</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossless_try_from-20" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#293">Source</a><a href="#method.lossless_try_from-20" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LosslessTryFrom.html#tymethod.lossless_try_from" class="fn">lossless_try_from</a>(src: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class="docblock"><p>Converts an integer to a fixed-point number.</p>
|
||
<p>This conversion may fail (fallible) but cannot lose
|
||
any fractional bits (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LosslessTryFrom%3Cisize%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#298">Source</a><a href="#impl-LosslessTryFrom%3Cisize%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LosslessTryFrom.html" title="trait fixed::traits::LosslessTryFrom">LosslessTryFrom</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html">isize</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossless_try_from-25" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#298">Source</a><a href="#method.lossless_try_from-25" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LosslessTryFrom.html#tymethod.lossless_try_from" class="fn">lossless_try_from</a>(src: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html">isize</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class="docblock"><p>Converts an integer to a fixed-point number.</p>
|
||
<p>This conversion may fail (fallible) but cannot lose
|
||
any fractional bits (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LosslessTryFrom%3Cu128%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#303">Source</a><a href="#impl-LosslessTryFrom%3Cu128%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LosslessTryFrom.html" title="trait fixed::traits::LosslessTryFrom">LosslessTryFrom</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html">u128</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossless_try_from-30" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#303">Source</a><a href="#method.lossless_try_from-30" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LosslessTryFrom.html#tymethod.lossless_try_from" class="fn">lossless_try_from</a>(src: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html">u128</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class="docblock"><p>Converts an integer to a fixed-point number.</p>
|
||
<p>This conversion may fail (fallible) but cannot lose
|
||
any fractional bits (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LosslessTryFrom%3Cu16%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#300">Source</a><a href="#impl-LosslessTryFrom%3Cu16%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LosslessTryFrom.html" title="trait fixed::traits::LosslessTryFrom">LosslessTryFrom</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html">u16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossless_try_from-27" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#300">Source</a><a href="#method.lossless_try_from-27" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LosslessTryFrom.html#tymethod.lossless_try_from" class="fn">lossless_try_from</a>(src: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html">u16</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class="docblock"><p>Converts an integer to a fixed-point number.</p>
|
||
<p>This conversion may fail (fallible) but cannot lose
|
||
any fractional bits (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LosslessTryFrom%3Cu32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#301">Source</a><a href="#impl-LosslessTryFrom%3Cu32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LosslessTryFrom.html" title="trait fixed::traits::LosslessTryFrom">LosslessTryFrom</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossless_try_from-28" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#301">Source</a><a href="#method.lossless_try_from-28" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LosslessTryFrom.html#tymethod.lossless_try_from" class="fn">lossless_try_from</a>(src: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class="docblock"><p>Converts an integer to a fixed-point number.</p>
|
||
<p>This conversion may fail (fallible) but cannot lose
|
||
any fractional bits (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LosslessTryFrom%3Cu64%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#302">Source</a><a href="#impl-LosslessTryFrom%3Cu64%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LosslessTryFrom.html" title="trait fixed::traits::LosslessTryFrom">LosslessTryFrom</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html">u64</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossless_try_from-29" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#302">Source</a><a href="#method.lossless_try_from-29" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LosslessTryFrom.html#tymethod.lossless_try_from" class="fn">lossless_try_from</a>(src: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html">u64</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class="docblock"><p>Converts an integer to a fixed-point number.</p>
|
||
<p>This conversion may fail (fallible) but cannot lose
|
||
any fractional bits (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LosslessTryFrom%3Cu8%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#299">Source</a><a href="#impl-LosslessTryFrom%3Cu8%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LosslessTryFrom.html" title="trait fixed::traits::LosslessTryFrom">LosslessTryFrom</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossless_try_from-26" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#299">Source</a><a href="#method.lossless_try_from-26" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LosslessTryFrom.html#tymethod.lossless_try_from" class="fn">lossless_try_from</a>(src: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class="docblock"><p>Converts an integer to a fixed-point number.</p>
|
||
<p>This conversion may fail (fallible) but cannot lose
|
||
any fractional bits (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LosslessTryFrom%3Cusize%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#304">Source</a><a href="#impl-LosslessTryFrom%3Cusize%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LosslessTryFrom.html" title="trait fixed::traits::LosslessTryFrom">LosslessTryFrom</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossless_try_from-31" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#304">Source</a><a href="#method.lossless_try_from-31" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LosslessTryFrom.html#tymethod.lossless_try_from" class="fn">lossless_try_from</a>(src: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self></h4></section></summary><div class="docblock"><p>Converts an integer to a fixed-point number.</p>
|
||
<p>This conversion may fail (fallible) but cannot lose
|
||
any fractional bits (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LossyFrom%3CFixedI128%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#240">Source</a><a href="#impl-LossyFrom%3CFixedI128%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU128.html" title="trait fixed::types::extra::LeEqU128">LeEqU128</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LossyFrom.html" title="trait fixed::traits::LossyFrom">LossyFrom</a><<a class="struct" href="struct.FixedI128.html" title="struct fixed::FixedI128">FixedI128</a><FracSrc>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst><div class="where">where
|
||
<a class="type" href="types/extra/type.U128.html" title="type fixed::types::extra::U128">U128</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracSrc>,
|
||
<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracDst>,
|
||
<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U128.html" title="type fixed::types::extra::U128">U128</a>, FracSrc>: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>, FracDst>, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossy_from-12" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#240">Source</a><a href="#method.lossy_from-12" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LossyFrom.html#tymethod.lossy_from" class="fn">lossy_from</a>(src: <a class="struct" href="struct.FixedI128.html" title="struct fixed::FixedI128">FixedI128</a><FracSrc>) -> Self</h4></section></summary><div class="docblock"><p>Converts a fixed-pint number.</p>
|
||
<p>This conversion never fails (infallible) but may lose
|
||
precision (lossy). Any fractional bits in the source
|
||
that cannot be represented in the destination are
|
||
discarded, which rounds towards −∞.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LossyFrom%3CFixedI16%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#237">Source</a><a href="#impl-LossyFrom%3CFixedI16%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU16.html" title="trait fixed::types::extra::LeEqU16">LeEqU16</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LossyFrom.html" title="trait fixed::traits::LossyFrom">LossyFrom</a><<a class="struct" href="struct.FixedI16.html" title="struct fixed::FixedI16">FixedI16</a><FracSrc>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst><div class="where">where
|
||
<a class="type" href="types/extra/type.U16.html" title="type fixed::types::extra::U16">U16</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracSrc>,
|
||
<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracDst>,
|
||
<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U16.html" title="type fixed::types::extra::U16">U16</a>, FracSrc>: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>, FracDst>, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossy_from-2" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#237">Source</a><a href="#method.lossy_from-2" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LossyFrom.html#tymethod.lossy_from" class="fn">lossy_from</a>(src: <a class="struct" href="struct.FixedI16.html" title="struct fixed::FixedI16">FixedI16</a><FracSrc>) -> Self</h4></section></summary><div class="docblock"><p>Converts a fixed-pint number.</p>
|
||
<p>This conversion never fails (infallible) but may lose
|
||
precision (lossy). Any fractional bits in the source
|
||
that cannot be represented in the destination are
|
||
discarded, which rounds towards −∞.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LossyFrom%3CFixedI32%3CFrac%3E%3E-for-F128" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#793">Source</a><a href="#impl-LossyFrom%3CFixedI32%3CFrac%3E%3E-for-F128" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LossyFrom.html" title="trait fixed::traits::LossyFrom">LossyFrom</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="struct.F128.html" title="struct fixed::F128">F128</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossy_from-30" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#793">Source</a><a href="#method.lossy_from-30" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LossyFrom.html#tymethod.lossy_from" class="fn">lossy_from</a>(src: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.F128.html" title="struct fixed::F128">F128</a></h4></section></summary><div class="docblock"><p>Converts a fixed-point number to a floating-point number.</p>
|
||
<p>This conversion never fails (infallible) but may lose
|
||
precision (lossy). Rounding is to the nearest, with
|
||
ties rounded to even.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LossyFrom%3CFixedI32%3CFrac%3E%3E-for-F128Bits" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#793">Source</a><a href="#impl-LossyFrom%3CFixedI32%3CFrac%3E%3E-for-F128Bits" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LossyFrom.html" title="trait fixed::traits::LossyFrom">LossyFrom</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="struct.F128Bits.html" title="struct fixed::F128Bits">F128Bits</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossy_from-31" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#793">Source</a><a href="#method.lossy_from-31" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LossyFrom.html#tymethod.lossy_from" class="fn">lossy_from</a>(src: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.F128Bits.html" title="struct fixed::F128Bits">F128Bits</a></h4></section></summary><div class="docblock"><p>Converts a fixed-point number to a floating-point number.</p>
|
||
<p>This conversion never fails (infallible) but may lose
|
||
precision (lossy). Rounding is to the nearest, with
|
||
ties rounded to even.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LossyFrom%3CFixedI32%3CFrac%3E%3E-for-bf16" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#793">Source</a><a href="#impl-LossyFrom%3CFixedI32%3CFrac%3E%3E-for-bf16" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LossyFrom.html" title="trait fixed::traits::LossyFrom">LossyFrom</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="../half/bfloat/struct.bf16.html" title="struct half::bfloat::bf16">half_bf16</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossy_from-27" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#793">Source</a><a href="#method.lossy_from-27" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LossyFrom.html#tymethod.lossy_from" class="fn">lossy_from</a>(src: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="../half/bfloat/struct.bf16.html" title="struct half::bfloat::bf16">half_bf16</a></h4></section></summary><div class="docblock"><p>Converts a fixed-point number to a floating-point number.</p>
|
||
<p>This conversion never fails (infallible) but may lose
|
||
precision (lossy). Rounding is to the nearest, with
|
||
ties rounded to even.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LossyFrom%3CFixedI32%3CFrac%3E%3E-for-f16" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#793">Source</a><a href="#impl-LossyFrom%3CFixedI32%3CFrac%3E%3E-for-f16" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LossyFrom.html" title="trait fixed::traits::LossyFrom">LossyFrom</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="../half/binary16/struct.f16.html" title="struct half::binary16::f16">half_f16</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossy_from-26" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#793">Source</a><a href="#method.lossy_from-26" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LossyFrom.html#tymethod.lossy_from" class="fn">lossy_from</a>(src: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="../half/binary16/struct.f16.html" title="struct half::binary16::f16">half_f16</a></h4></section></summary><div class="docblock"><p>Converts a fixed-point number to a floating-point number.</p>
|
||
<p>This conversion never fails (infallible) but may lose
|
||
precision (lossy). Rounding is to the nearest, with
|
||
ties rounded to even.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LossyFrom%3CFixedI32%3CFrac%3E%3E-for-f32" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#793">Source</a><a href="#impl-LossyFrom%3CFixedI32%3CFrac%3E%3E-for-f32" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LossyFrom.html" title="trait fixed::traits::LossyFrom">LossyFrom</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f32.html">f32</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossy_from-28" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#793">Source</a><a href="#method.lossy_from-28" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LossyFrom.html#tymethod.lossy_from" class="fn">lossy_from</a>(src: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f32.html">f32</a></h4></section></summary><div class="docblock"><p>Converts a fixed-point number to a floating-point number.</p>
|
||
<p>This conversion never fails (infallible) but may lose
|
||
precision (lossy). Rounding is to the nearest, with
|
||
ties rounded to even.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LossyFrom%3CFixedI32%3CFrac%3E%3E-for-f64" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#793">Source</a><a href="#impl-LossyFrom%3CFixedI32%3CFrac%3E%3E-for-f64" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LossyFrom.html" title="trait fixed::traits::LossyFrom">LossyFrom</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f64.html">f64</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossy_from-29" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#793">Source</a><a href="#method.lossy_from-29" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LossyFrom.html#tymethod.lossy_from" class="fn">lossy_from</a>(src: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f64.html">f64</a></h4></section></summary><div class="docblock"><p>Converts a fixed-point number to a floating-point number.</p>
|
||
<p>This conversion never fails (infallible) but may lose
|
||
precision (lossy). Rounding is to the nearest, with
|
||
ties rounded to even.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LossyFrom%3CFixedI32%3CFracSrc%3E%3E-for-FixedI128%3CFracDst%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#238">Source</a><a href="#impl-LossyFrom%3CFixedI32%3CFracSrc%3E%3E-for-FixedI128%3CFracDst%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU128.html" title="trait fixed::types::extra::LeEqU128">LeEqU128</a>> <a class="trait" href="traits/trait.LossyFrom.html" title="trait fixed::traits::LossyFrom">LossyFrom</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc>> for <a class="struct" href="struct.FixedI128.html" title="struct fixed::FixedI128">FixedI128</a><FracDst><div class="where">where
|
||
<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracSrc>,
|
||
<a class="type" href="types/extra/type.U128.html" title="type fixed::types::extra::U128">U128</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracDst>,
|
||
<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>, FracSrc>: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U128.html" title="type fixed::types::extra::U128">U128</a>, FracDst>, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossy_from-9" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#238">Source</a><a href="#method.lossy_from-9" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LossyFrom.html#tymethod.lossy_from" class="fn">lossy_from</a>(src: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc>) -> Self</h4></section></summary><div class="docblock"><p>Converts a fixed-pint number.</p>
|
||
<p>This conversion never fails (infallible) but may lose
|
||
precision (lossy). Any fractional bits in the source
|
||
that cannot be represented in the destination are
|
||
discarded, which rounds towards −∞.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LossyFrom%3CFixedI32%3CFracSrc%3E%3E-for-FixedI16%3CFracDst%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#238">Source</a><a href="#impl-LossyFrom%3CFixedI32%3CFracSrc%3E%3E-for-FixedI16%3CFracDst%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU16.html" title="trait fixed::types::extra::LeEqU16">LeEqU16</a>> <a class="trait" href="traits/trait.LossyFrom.html" title="trait fixed::traits::LossyFrom">LossyFrom</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc>> for <a class="struct" href="struct.FixedI16.html" title="struct fixed::FixedI16">FixedI16</a><FracDst><div class="where">where
|
||
<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracSrc>,
|
||
<a class="type" href="types/extra/type.U16.html" title="type fixed::types::extra::U16">U16</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracDst>,
|
||
<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>, FracSrc>: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U16.html" title="type fixed::types::extra::U16">U16</a>, FracDst>, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossy_from-5" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#238">Source</a><a href="#method.lossy_from-5" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LossyFrom.html#tymethod.lossy_from" class="fn">lossy_from</a>(src: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc>) -> Self</h4></section></summary><div class="docblock"><p>Converts a fixed-pint number.</p>
|
||
<p>This conversion never fails (infallible) but may lose
|
||
precision (lossy). Any fractional bits in the source
|
||
that cannot be represented in the destination are
|
||
discarded, which rounds towards −∞.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LossyFrom%3CFixedI32%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#238">Source</a><a href="#impl-LossyFrom%3CFixedI32%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LossyFrom.html" title="trait fixed::traits::LossyFrom">LossyFrom</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst><div class="where">where
|
||
<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracSrc>,
|
||
<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracDst>,
|
||
<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>, FracSrc>: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>, FracDst>, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossy_from-6" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#238">Source</a><a href="#method.lossy_from-6" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LossyFrom.html#tymethod.lossy_from" class="fn">lossy_from</a>(src: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc>) -> Self</h4></section></summary><div class="docblock"><p>Converts a fixed-pint number.</p>
|
||
<p>This conversion never fails (infallible) but may lose
|
||
precision (lossy). Any fractional bits in the source
|
||
that cannot be represented in the destination are
|
||
discarded, which rounds towards −∞.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LossyFrom%3CFixedI32%3CFracSrc%3E%3E-for-FixedI64%3CFracDst%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#238">Source</a><a href="#impl-LossyFrom%3CFixedI32%3CFracSrc%3E%3E-for-FixedI64%3CFracDst%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU64.html" title="trait fixed::types::extra::LeEqU64">LeEqU64</a>> <a class="trait" href="traits/trait.LossyFrom.html" title="trait fixed::traits::LossyFrom">LossyFrom</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc>> for <a class="struct" href="struct.FixedI64.html" title="struct fixed::FixedI64">FixedI64</a><FracDst><div class="where">where
|
||
<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracSrc>,
|
||
<a class="type" href="types/extra/type.U64.html" title="type fixed::types::extra::U64">U64</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracDst>,
|
||
<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>, FracSrc>: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U64.html" title="type fixed::types::extra::U64">U64</a>, FracDst>, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossy_from-8" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#238">Source</a><a href="#method.lossy_from-8" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LossyFrom.html#tymethod.lossy_from" class="fn">lossy_from</a>(src: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc>) -> Self</h4></section></summary><div class="docblock"><p>Converts a fixed-pint number.</p>
|
||
<p>This conversion never fails (infallible) but may lose
|
||
precision (lossy). Any fractional bits in the source
|
||
that cannot be represented in the destination are
|
||
discarded, which rounds towards −∞.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LossyFrom%3CFixedI32%3CFracSrc%3E%3E-for-FixedI8%3CFracDst%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#238">Source</a><a href="#impl-LossyFrom%3CFixedI32%3CFracSrc%3E%3E-for-FixedI8%3CFracDst%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU8.html" title="trait fixed::types::extra::LeEqU8">LeEqU8</a>> <a class="trait" href="traits/trait.LossyFrom.html" title="trait fixed::traits::LossyFrom">LossyFrom</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc>> for <a class="struct" href="struct.FixedI8.html" title="struct fixed::FixedI8">FixedI8</a><FracDst><div class="where">where
|
||
<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracSrc>,
|
||
<a class="type" href="types/extra/type.U8.html" title="type fixed::types::extra::U8">U8</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracDst>,
|
||
<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>, FracSrc>: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U8.html" title="type fixed::types::extra::U8">U8</a>, FracDst>, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossy_from-4" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#238">Source</a><a href="#method.lossy_from-4" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LossyFrom.html#tymethod.lossy_from" class="fn">lossy_from</a>(src: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc>) -> Self</h4></section></summary><div class="docblock"><p>Converts a fixed-pint number.</p>
|
||
<p>This conversion never fails (infallible) but may lose
|
||
precision (lossy). Any fractional bits in the source
|
||
that cannot be represented in the destination are
|
||
discarded, which rounds towards −∞.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LossyFrom%3CFixedI32%3CFracSrc%3E%3E-for-i128" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#674">Source</a><a href="#impl-LossyFrom%3CFixedI32%3CFracSrc%3E%3E-for-i128" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LossyFrom.html" title="trait fixed::traits::LossyFrom">LossyFrom</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc>> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html">i128</a><div class="where">where
|
||
<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracSrc>,
|
||
<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>, FracSrc>: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><<a class="type" href="types/extra/type.U128.html" title="type fixed::types::extra::U128">U128</a>, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossy_from-24" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#674">Source</a><a href="#method.lossy_from-24" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LossyFrom.html#tymethod.lossy_from" class="fn">lossy_from</a>(src: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc>) -> Self</h4></section></summary><div class="docblock"><p>Converts a fixed-point number to an integer.</p>
|
||
<p>This conversion never fails (infallible) but may lose
|
||
precision (lossy). Any fractional bits in the source
|
||
are discarded, which rounds towards −∞.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LossyFrom%3CFixedI32%3CFracSrc%3E%3E-for-i16" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#674">Source</a><a href="#impl-LossyFrom%3CFixedI32%3CFracSrc%3E%3E-for-i16" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LossyFrom.html" title="trait fixed::traits::LossyFrom">LossyFrom</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc>> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a><div class="where">where
|
||
<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracSrc>,
|
||
<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>, FracSrc>: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><<a class="type" href="types/extra/type.U16.html" title="type fixed::types::extra::U16">U16</a>, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossy_from-21" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#674">Source</a><a href="#method.lossy_from-21" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LossyFrom.html#tymethod.lossy_from" class="fn">lossy_from</a>(src: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc>) -> Self</h4></section></summary><div class="docblock"><p>Converts a fixed-point number to an integer.</p>
|
||
<p>This conversion never fails (infallible) but may lose
|
||
precision (lossy). Any fractional bits in the source
|
||
are discarded, which rounds towards −∞.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LossyFrom%3CFixedI32%3CFracSrc%3E%3E-for-i32" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#674">Source</a><a href="#impl-LossyFrom%3CFixedI32%3CFracSrc%3E%3E-for-i32" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LossyFrom.html" title="trait fixed::traits::LossyFrom">LossyFrom</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc>> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a><div class="where">where
|
||
<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracSrc>,
|
||
<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>, FracSrc>: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossy_from-22" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#674">Source</a><a href="#method.lossy_from-22" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LossyFrom.html#tymethod.lossy_from" class="fn">lossy_from</a>(src: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc>) -> Self</h4></section></summary><div class="docblock"><p>Converts a fixed-point number to an integer.</p>
|
||
<p>This conversion never fails (infallible) but may lose
|
||
precision (lossy). Any fractional bits in the source
|
||
are discarded, which rounds towards −∞.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LossyFrom%3CFixedI32%3CFracSrc%3E%3E-for-i64" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#674">Source</a><a href="#impl-LossyFrom%3CFixedI32%3CFracSrc%3E%3E-for-i64" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LossyFrom.html" title="trait fixed::traits::LossyFrom">LossyFrom</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc>> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html">i64</a><div class="where">where
|
||
<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracSrc>,
|
||
<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>, FracSrc>: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><<a class="type" href="types/extra/type.U64.html" title="type fixed::types::extra::U64">U64</a>, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossy_from-23" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#674">Source</a><a href="#method.lossy_from-23" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LossyFrom.html#tymethod.lossy_from" class="fn">lossy_from</a>(src: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc>) -> Self</h4></section></summary><div class="docblock"><p>Converts a fixed-point number to an integer.</p>
|
||
<p>This conversion never fails (infallible) but may lose
|
||
precision (lossy). Any fractional bits in the source
|
||
are discarded, which rounds towards −∞.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LossyFrom%3CFixedI32%3CFracSrc%3E%3E-for-i8" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#674">Source</a><a href="#impl-LossyFrom%3CFixedI32%3CFracSrc%3E%3E-for-i8" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LossyFrom.html" title="trait fixed::traits::LossyFrom">LossyFrom</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc>> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a><div class="where">where
|
||
<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracSrc>,
|
||
<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>, FracSrc>: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><<a class="type" href="types/extra/type.U8.html" title="type fixed::types::extra::U8">U8</a>, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossy_from-20" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#674">Source</a><a href="#method.lossy_from-20" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LossyFrom.html#tymethod.lossy_from" class="fn">lossy_from</a>(src: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc>) -> Self</h4></section></summary><div class="docblock"><p>Converts a fixed-point number to an integer.</p>
|
||
<p>This conversion never fails (infallible) but may lose
|
||
precision (lossy). Any fractional bits in the source
|
||
are discarded, which rounds towards −∞.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LossyFrom%3CFixedI32%3CFracSrc%3E%3E-for-isize" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#674">Source</a><a href="#impl-LossyFrom%3CFixedI32%3CFracSrc%3E%3E-for-isize" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LossyFrom.html" title="trait fixed::traits::LossyFrom">LossyFrom</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc>> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html">isize</a><div class="where">where
|
||
<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracSrc>,
|
||
<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>, FracSrc>: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><<a class="type" href="types/extra/type.U16.html" title="type fixed::types::extra::U16">U16</a>, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossy_from-25" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#674">Source</a><a href="#method.lossy_from-25" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LossyFrom.html#tymethod.lossy_from" class="fn">lossy_from</a>(src: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc>) -> Self</h4></section></summary><div class="docblock"><p>Converts a fixed-point number to an integer.</p>
|
||
<p>This conversion never fails (infallible) but may lose
|
||
precision (lossy). Any fractional bits in the source
|
||
are discarded, which rounds towards −∞.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LossyFrom%3CFixedI64%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#239">Source</a><a href="#impl-LossyFrom%3CFixedI64%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU64.html" title="trait fixed::types::extra::LeEqU64">LeEqU64</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LossyFrom.html" title="trait fixed::traits::LossyFrom">LossyFrom</a><<a class="struct" href="struct.FixedI64.html" title="struct fixed::FixedI64">FixedI64</a><FracSrc>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst><div class="where">where
|
||
<a class="type" href="types/extra/type.U64.html" title="type fixed::types::extra::U64">U64</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracSrc>,
|
||
<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracDst>,
|
||
<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U64.html" title="type fixed::types::extra::U64">U64</a>, FracSrc>: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>, FracDst>, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossy_from-10" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#239">Source</a><a href="#method.lossy_from-10" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LossyFrom.html#tymethod.lossy_from" class="fn">lossy_from</a>(src: <a class="struct" href="struct.FixedI64.html" title="struct fixed::FixedI64">FixedI64</a><FracSrc>) -> Self</h4></section></summary><div class="docblock"><p>Converts a fixed-pint number.</p>
|
||
<p>This conversion never fails (infallible) but may lose
|
||
precision (lossy). Any fractional bits in the source
|
||
that cannot be represented in the destination are
|
||
discarded, which rounds towards −∞.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LossyFrom%3CFixedI8%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#236">Source</a><a href="#impl-LossyFrom%3CFixedI8%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU8.html" title="trait fixed::types::extra::LeEqU8">LeEqU8</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LossyFrom.html" title="trait fixed::traits::LossyFrom">LossyFrom</a><<a class="struct" href="struct.FixedI8.html" title="struct fixed::FixedI8">FixedI8</a><FracSrc>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst><div class="where">where
|
||
<a class="type" href="types/extra/type.U8.html" title="type fixed::types::extra::U8">U8</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracSrc>,
|
||
<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracDst>,
|
||
<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U8.html" title="type fixed::types::extra::U8">U8</a>, FracSrc>: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>, FracDst>, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossy_from" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#236">Source</a><a href="#method.lossy_from" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LossyFrom.html#tymethod.lossy_from" class="fn">lossy_from</a>(src: <a class="struct" href="struct.FixedI8.html" title="struct fixed::FixedI8">FixedI8</a><FracSrc>) -> Self</h4></section></summary><div class="docblock"><p>Converts a fixed-pint number.</p>
|
||
<p>This conversion never fails (infallible) but may lose
|
||
precision (lossy). Any fractional bits in the source
|
||
that cannot be represented in the destination are
|
||
discarded, which rounds towards −∞.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LossyFrom%3CFixedU128%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#240">Source</a><a href="#impl-LossyFrom%3CFixedU128%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU128.html" title="trait fixed::types::extra::LeEqU128">LeEqU128</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LossyFrom.html" title="trait fixed::traits::LossyFrom">LossyFrom</a><<a class="struct" href="struct.FixedU128.html" title="struct fixed::FixedU128">FixedU128</a><FracSrc>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst><div class="where">where
|
||
<a class="type" href="types/extra/type.U128.html" title="type fixed::types::extra::U128">U128</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracSrc>,
|
||
<a class="type" href="types/extra/type.U31.html" title="type fixed::types::extra::U31">U31</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracDst>,
|
||
<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U128.html" title="type fixed::types::extra::U128">U128</a>, FracSrc>: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U31.html" title="type fixed::types::extra::U31">U31</a>, FracDst>, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossy_from-13" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#240">Source</a><a href="#method.lossy_from-13" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LossyFrom.html#tymethod.lossy_from" class="fn">lossy_from</a>(src: <a class="struct" href="struct.FixedU128.html" title="struct fixed::FixedU128">FixedU128</a><FracSrc>) -> Self</h4></section></summary><div class="docblock"><p>Converts a fixed-pint number.</p>
|
||
<p>This conversion never fails (infallible) but may lose
|
||
precision (lossy). Any fractional bits in the source
|
||
that cannot be represented in the destination are
|
||
discarded, which rounds towards −∞.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LossyFrom%3CFixedU16%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#237">Source</a><a href="#impl-LossyFrom%3CFixedU16%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU16.html" title="trait fixed::types::extra::LeEqU16">LeEqU16</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LossyFrom.html" title="trait fixed::traits::LossyFrom">LossyFrom</a><<a class="struct" href="struct.FixedU16.html" title="struct fixed::FixedU16">FixedU16</a><FracSrc>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst><div class="where">where
|
||
<a class="type" href="types/extra/type.U16.html" title="type fixed::types::extra::U16">U16</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracSrc>,
|
||
<a class="type" href="types/extra/type.U31.html" title="type fixed::types::extra::U31">U31</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracDst>,
|
||
<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U16.html" title="type fixed::types::extra::U16">U16</a>, FracSrc>: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U31.html" title="type fixed::types::extra::U31">U31</a>, FracDst>, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossy_from-3" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#237">Source</a><a href="#method.lossy_from-3" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LossyFrom.html#tymethod.lossy_from" class="fn">lossy_from</a>(src: <a class="struct" href="struct.FixedU16.html" title="struct fixed::FixedU16">FixedU16</a><FracSrc>) -> Self</h4></section></summary><div class="docblock"><p>Converts a fixed-pint number.</p>
|
||
<p>This conversion never fails (infallible) but may lose
|
||
precision (lossy). Any fractional bits in the source
|
||
that cannot be represented in the destination are
|
||
discarded, which rounds towards −∞.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LossyFrom%3CFixedU32%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#238">Source</a><a href="#impl-LossyFrom%3CFixedU32%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LossyFrom.html" title="trait fixed::traits::LossyFrom">LossyFrom</a><<a class="struct" href="struct.FixedU32.html" title="struct fixed::FixedU32">FixedU32</a><FracSrc>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst><div class="where">where
|
||
<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracSrc>,
|
||
<a class="type" href="types/extra/type.U31.html" title="type fixed::types::extra::U31">U31</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracDst>,
|
||
<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>, FracSrc>: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U31.html" title="type fixed::types::extra::U31">U31</a>, FracDst>, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossy_from-7" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#238">Source</a><a href="#method.lossy_from-7" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LossyFrom.html#tymethod.lossy_from" class="fn">lossy_from</a>(src: <a class="struct" href="struct.FixedU32.html" title="struct fixed::FixedU32">FixedU32</a><FracSrc>) -> Self</h4></section></summary><div class="docblock"><p>Converts a fixed-pint number.</p>
|
||
<p>This conversion never fails (infallible) but may lose
|
||
precision (lossy). Any fractional bits in the source
|
||
that cannot be represented in the destination are
|
||
discarded, which rounds towards −∞.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LossyFrom%3CFixedU64%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#239">Source</a><a href="#impl-LossyFrom%3CFixedU64%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU64.html" title="trait fixed::types::extra::LeEqU64">LeEqU64</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LossyFrom.html" title="trait fixed::traits::LossyFrom">LossyFrom</a><<a class="struct" href="struct.FixedU64.html" title="struct fixed::FixedU64">FixedU64</a><FracSrc>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst><div class="where">where
|
||
<a class="type" href="types/extra/type.U64.html" title="type fixed::types::extra::U64">U64</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracSrc>,
|
||
<a class="type" href="types/extra/type.U31.html" title="type fixed::types::extra::U31">U31</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracDst>,
|
||
<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U64.html" title="type fixed::types::extra::U64">U64</a>, FracSrc>: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U31.html" title="type fixed::types::extra::U31">U31</a>, FracDst>, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossy_from-11" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#239">Source</a><a href="#method.lossy_from-11" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LossyFrom.html#tymethod.lossy_from" class="fn">lossy_from</a>(src: <a class="struct" href="struct.FixedU64.html" title="struct fixed::FixedU64">FixedU64</a><FracSrc>) -> Self</h4></section></summary><div class="docblock"><p>Converts a fixed-pint number.</p>
|
||
<p>This conversion never fails (infallible) but may lose
|
||
precision (lossy). Any fractional bits in the source
|
||
that cannot be represented in the destination are
|
||
discarded, which rounds towards −∞.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LossyFrom%3CFixedU8%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#236">Source</a><a href="#impl-LossyFrom%3CFixedU8%3CFracSrc%3E%3E-for-FixedI32%3CFracDst%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU8.html" title="trait fixed::types::extra::LeEqU8">LeEqU8</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LossyFrom.html" title="trait fixed::traits::LossyFrom">LossyFrom</a><<a class="struct" href="struct.FixedU8.html" title="struct fixed::FixedU8">FixedU8</a><FracSrc>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst><div class="where">where
|
||
<a class="type" href="types/extra/type.U8.html" title="type fixed::types::extra::U8">U8</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracSrc>,
|
||
<a class="type" href="types/extra/type.U31.html" title="type fixed::types::extra::U31">U31</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracDst>,
|
||
<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U8.html" title="type fixed::types::extra::U8">U8</a>, FracSrc>: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U31.html" title="type fixed::types::extra::U31">U31</a>, FracDst>, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossy_from-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#236">Source</a><a href="#method.lossy_from-1" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LossyFrom.html#tymethod.lossy_from" class="fn">lossy_from</a>(src: <a class="struct" href="struct.FixedU8.html" title="struct fixed::FixedU8">FixedU8</a><FracSrc>) -> Self</h4></section></summary><div class="docblock"><p>Converts a fixed-pint number.</p>
|
||
<p>This conversion never fails (infallible) but may lose
|
||
precision (lossy). Any fractional bits in the source
|
||
that cannot be represented in the destination are
|
||
discarded, which rounds towards −∞.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LossyFrom%3Cbool%3E-for-FixedI32%3CFracDst%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#490">Source</a><a href="#impl-LossyFrom%3Cbool%3E-for-FixedI32%3CFracDst%3E" class="anchor">§</a><h3 class="code-header">impl<FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LossyFrom.html" title="trait fixed::traits::LossyFrom">LossyFrom</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst><div class="where">where
|
||
<a class="type" href="types/extra/type.U31.html" title="type fixed::types::extra::U31">U31</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracDst>,
|
||
<a class="type" href="types/extra/type.U1.html" title="type fixed::types::extra::U1">U1</a>: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U31.html" title="type fixed::types::extra::U31">U31</a>, FracDst>, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossy_from-19" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#490">Source</a><a href="#method.lossy_from-19" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LossyFrom.html#tymethod.lossy_from" class="fn">lossy_from</a>(src: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>) -> Self</h4></section></summary><div class="docblock"><p>Converts a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html" title="primitive bool"><code>bool</code></a> to a fixed-point number.</p>
|
||
<p>This conversion never fails (infallible) and cannot
|
||
lose any fractional bits, so it is actually lossless.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LossyFrom%3Ci16%3E-for-FixedI32%3CFracDst%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#413">Source</a><a href="#impl-LossyFrom%3Ci16%3E-for-FixedI32%3CFracDst%3E" class="anchor">§</a><h3 class="code-header">impl<FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LossyFrom.html" title="trait fixed::traits::LossyFrom">LossyFrom</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst><div class="where">where
|
||
<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracDst>,
|
||
<a class="type" href="types/extra/type.U16.html" title="type fixed::types::extra::U16">U16</a>: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>, FracDst>, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossy_from-17" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#413">Source</a><a href="#method.lossy_from-17" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LossyFrom.html#tymethod.lossy_from" class="fn">lossy_from</a>(src: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a>) -> Self</h4></section></summary><div class="docblock"><p>Converts an integer to a fixed-point number.</p>
|
||
<p>This conversion never fails (infallible) and cannot
|
||
lose any fractional bits, so it is actually lossless.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LossyFrom%3Ci32%3E-for-FixedI32%3CUTerm%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#295">Source</a><a href="#impl-LossyFrom%3Ci32%3E-for-FixedI32%3CUTerm%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="traits/trait.LossyFrom.html" title="trait fixed::traits::LossyFrom">LossyFrom</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><<a class="type" href="types/extra/type.U0.html" title="type fixed::types::extra::U0">U0</a>></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossy_from-14" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#295">Source</a><a href="#method.lossy_from-14" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LossyFrom.html#tymethod.lossy_from" class="fn">lossy_from</a>(src: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> Self</h4></section></summary><div class="docblock"><p>Converts an integer to a fixed-point number.</p>
|
||
<p>This conversion never fails (infallible) and actually
|
||
does not lose any precision (lossless).</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LossyFrom%3Ci8%3E-for-FixedI32%3CFracDst%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#410">Source</a><a href="#impl-LossyFrom%3Ci8%3E-for-FixedI32%3CFracDst%3E" class="anchor">§</a><h3 class="code-header">impl<FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LossyFrom.html" title="trait fixed::traits::LossyFrom">LossyFrom</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst><div class="where">where
|
||
<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracDst>,
|
||
<a class="type" href="types/extra/type.U8.html" title="type fixed::types::extra::U8">U8</a>: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U32.html" title="type fixed::types::extra::U32">U32</a>, FracDst>, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossy_from-15" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#410">Source</a><a href="#method.lossy_from-15" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LossyFrom.html#tymethod.lossy_from" class="fn">lossy_from</a>(src: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a>) -> Self</h4></section></summary><div class="docblock"><p>Converts an integer to a fixed-point number.</p>
|
||
<p>This conversion never fails (infallible) and cannot
|
||
lose any fractional bits, so it is actually lossless.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LossyFrom%3Cu16%3E-for-FixedI32%3CFracDst%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#413">Source</a><a href="#impl-LossyFrom%3Cu16%3E-for-FixedI32%3CFracDst%3E" class="anchor">§</a><h3 class="code-header">impl<FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LossyFrom.html" title="trait fixed::traits::LossyFrom">LossyFrom</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html">u16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst><div class="where">where
|
||
<a class="type" href="types/extra/type.U31.html" title="type fixed::types::extra::U31">U31</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracDst>,
|
||
<a class="type" href="types/extra/type.U16.html" title="type fixed::types::extra::U16">U16</a>: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U31.html" title="type fixed::types::extra::U31">U31</a>, FracDst>, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossy_from-18" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#413">Source</a><a href="#method.lossy_from-18" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LossyFrom.html#tymethod.lossy_from" class="fn">lossy_from</a>(src: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html">u16</a>) -> Self</h4></section></summary><div class="docblock"><p>Converts an integer to a fixed-point number.</p>
|
||
<p>This conversion never fails (infallible) and cannot
|
||
lose any fractional bits, so it is actually lossless.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LossyFrom%3Cu8%3E-for-FixedI32%3CFracDst%3E" class="impl"><a class="src rightside" href="../src/fixed/convert.rs.html#410">Source</a><a href="#impl-LossyFrom%3Cu8%3E-for-FixedI32%3CFracDst%3E" class="anchor">§</a><h3 class="code-header">impl<FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.LossyFrom.html" title="trait fixed::traits::LossyFrom">LossyFrom</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst><div class="where">where
|
||
<a class="type" href="types/extra/type.U31.html" title="type fixed::types::extra::U31">U31</a>: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><FracDst>,
|
||
<a class="type" href="types/extra/type.U8.html" title="type fixed::types::extra::U8">U8</a>: <a class="trait" href="types/extra/trait.IsLessOrEqual.html" title="trait fixed::types::extra::IsLessOrEqual">IsLessOrEqual</a><<a class="type" href="types/extra/type.Diff.html" title="type fixed::types::extra::Diff">Diff</a><<a class="type" href="types/extra/type.U31.html" title="type fixed::types::extra::U31">U31</a>, FracDst>, Output = <a class="type" href="types/extra/type.True.html" title="type fixed::types::extra::True">True</a>>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossy_from-16" class="method trait-impl"><a class="src rightside" href="../src/fixed/convert.rs.html#410">Source</a><a href="#method.lossy_from-16" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LossyFrom.html#tymethod.lossy_from" class="fn">lossy_from</a>(src: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>) -> Self</h4></section></summary><div class="docblock"><p>Converts an integer to a fixed-point number.</p>
|
||
<p>This conversion never fails (infallible) and cannot
|
||
lose any fractional bits, so it is actually lossless.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LowerExp-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/display.rs.html#784">Source</a><a href="#impl-LowerExp-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.LowerExp.html" title="trait core::fmt::LowerExp">LowerExp</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt-6" class="method trait-impl"><a class="src rightside" href="../src/fixed/display.rs.html#784">Source</a><a href="#method.fmt-6" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.LowerExp.html#tymethod.fmt" class="fn">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/1.84.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="type" href="https://doc.rust-lang.org/1.84.0/core/fmt/type.Result.html" title="type core::fmt::Result">FmtResult</a></h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.LowerExp.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LowerHex-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/display.rs.html#784">Source</a><a href="#impl-LowerHex-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.LowerHex.html" title="trait core::fmt::LowerHex">LowerHex</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt-4" class="method trait-impl"><a class="src rightside" href="../src/fixed/display.rs.html#784">Source</a><a href="#method.fmt-4" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.LowerHex.html#tymethod.fmt" class="fn">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/1.84.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="type" href="https://doc.rust-lang.org/1.84.0/core/fmt/type.Result.html" title="type core::fmt::Result">FmtResult</a></h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.LowerHex.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mul%3C%26FixedI32%3CFrac%3E%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Mul%3C%26FixedI32%3CFrac%3E%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a><&<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-13" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-13" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.mul-3" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.mul-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#tymethod.mul" class="fn">mul</a>(self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#tymethod.mul">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mul%3C%26FixedI32%3CFrac%3E%3E-for-%26i32" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Mul%3C%26FixedI32%3CFrac%3E%3E-for-%26i32" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a><&<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle" open><summary><section id="associatedtype.Output-43" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-43" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.mul-11" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.mul-11" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#tymethod.mul" class="fn">mul</a>(self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#tymethod.mul">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mul%3C%26FixedI32%3CFrac%3E%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Mul%3C%26FixedI32%3CFrac%3E%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a><&<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-12" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-12" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.mul-2" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.mul-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#tymethod.mul" class="fn">mul</a>(self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#tymethod.mul">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mul%3C%26FixedI32%3CFrac%3E%3E-for-i32" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Mul%3C%26FixedI32%3CFrac%3E%3E-for-i32" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a><&<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle" open><summary><section id="associatedtype.Output-41" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-41" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.mul-9" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.mul-9" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#tymethod.mul" class="fn">mul</a>(self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#tymethod.mul">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mul%3C%26i32%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Mul%3C%26i32%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-39" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-39" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.mul-7" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.mul-7" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#tymethod.mul" class="fn">mul</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#tymethod.mul">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mul%3C%26i32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Mul%3C%26i32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-38" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-38" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.mul-6" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.mul-6" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#tymethod.mul" class="fn">mul</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#tymethod.mul">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mul%3CFixedI32%3CFrac%3E%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Mul%3CFixedI32%3CFrac%3E%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-11" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-11" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.mul-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.mul-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#tymethod.mul" class="fn">mul</a>(self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#tymethod.mul">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mul%3CFixedI32%3CFrac%3E%3E-for-%26i32" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Mul%3CFixedI32%3CFrac%3E%3E-for-%26i32" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle" open><summary><section id="associatedtype.Output-42" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-42" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.mul-10" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.mul-10" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#tymethod.mul" class="fn">mul</a>(self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#tymethod.mul">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mul%3CFixedI32%3CFrac%3E%3E-for-i32" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Mul%3CFixedI32%3CFrac%3E%3E-for-i32" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle" open><summary><section id="associatedtype.Output-40" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-40" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.mul-8" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.mul-8" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#tymethod.mul" class="fn">mul</a>(self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#tymethod.mul">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mul%3Ci32%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Mul%3Ci32%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-37" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-37" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.mul-5" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.mul-5" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#tymethod.mul" class="fn">mul</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#tymethod.mul">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mul%3Ci32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Mul%3Ci32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-36" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-36" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.mul-4" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.mul-4" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#tymethod.mul" class="fn">mul</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#tymethod.mul">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Mul-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Mul-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html" title="trait core::ops::arith::Mul">Mul</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-10" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-10" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>*</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.mul" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.mul" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#tymethod.mul" class="fn">mul</a>(self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>*</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Mul.html#tymethod.mul">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-MulAssign%3C%26FixedI32%3CRhsFrac%3E%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-MulAssign%3C%26FixedI32%3CRhsFrac%3E%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac, RhsFrac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.MulAssign.html" title="trait core::ops::arith::MulAssign">MulAssign</a><&<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><RhsFrac>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mul_assign-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.mul_assign-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.MulAssign.html#tymethod.mul_assign" class="fn">mul_assign</a>(&mut self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><RhsFrac>)</h4></section></summary><div class='docblock'>Performs the <code>*=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.MulAssign.html#tymethod.mul_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-MulAssign%3C%26i32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-MulAssign%3C%26i32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.MulAssign.html" title="trait core::ops::arith::MulAssign">MulAssign</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mul_assign-3" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.mul_assign-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.MulAssign.html#tymethod.mul_assign" class="fn">mul_assign</a>(&mut self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>)</h4></section></summary><div class='docblock'>Performs the <code>*=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.MulAssign.html#tymethod.mul_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-MulAssign%3CFixedI32%3CRhsFrac%3E%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-MulAssign%3CFixedI32%3CRhsFrac%3E%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac, RhsFrac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.MulAssign.html" title="trait core::ops::arith::MulAssign">MulAssign</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><RhsFrac>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mul_assign" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.mul_assign" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.MulAssign.html#tymethod.mul_assign" class="fn">mul_assign</a>(&mut self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><RhsFrac>)</h4></section></summary><div class='docblock'>Performs the <code>*=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.MulAssign.html#tymethod.mul_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-MulAssign%3Ci32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-MulAssign%3Ci32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.MulAssign.html" title="trait core::ops::arith::MulAssign">MulAssign</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.mul_assign-2" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.mul_assign-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.MulAssign.html#tymethod.mul_assign" class="fn">mul_assign</a>(&mut self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>)</h4></section></summary><div class='docblock'>Performs the <code>*=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.MulAssign.html#tymethod.mul_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Neg-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Neg-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Neg.html" title="trait core::ops::arith::Neg">Neg</a> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-1" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-1" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Neg.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.neg-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.neg-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Neg.html#tymethod.neg" class="fn">neg</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the unary <code>-</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Neg.html#tymethod.neg">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Neg-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Neg-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Neg.html" title="trait core::ops::arith::Neg">Neg</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></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="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Neg.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.neg" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.neg" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Neg.html#tymethod.neg" class="fn">neg</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the unary <code>-</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Neg.html#tymethod.neg">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Not-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Not-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Not.html" title="trait core::ops::bit::Not">Not</a> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-23" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-23" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Not.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>!</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.not-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.not-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Not.html#tymethod.not" class="fn">not</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the unary <code>!</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Not.html#tymethod.not">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Not-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Not-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Not.html" title="trait core::ops::bit::Not">Not</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-22" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-22" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Not.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>!</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.not" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.not" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Not.html#tymethod.not" class="fn">not</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the unary <code>!</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Not.html#tymethod.not">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Octal-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/display.rs.html#784">Source</a><a href="#impl-Octal-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.Octal.html" title="trait core::fmt::Octal">Octal</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt-3" class="method trait-impl"><a class="src rightside" href="../src/fixed/display.rs.html#784">Source</a><a href="#method.fmt-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.Octal.html#tymethod.fmt" class="fn">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/1.84.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="type" href="https://doc.rust-lang.org/1.84.0/core/fmt/type.Result.html" title="type core::fmt::Result">FmtResult</a></h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.Octal.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Ord-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#480">Source</a><a href="#impl-Ord-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.Ord.html" title="trait core::cmp::Ord">Ord</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cmp" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#480">Source</a><a href="#method.cmp" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.Ord.html#tymethod.cmp" class="fn">cmp</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a></h4></section></summary><div class='docblock'>This method returns an <a href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering"><code>Ordering</code></a> between <code>self</code> and <code>other</code>. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.Ord.html#tymethod.cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.max" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.21.0">1.21.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#980-982">Source</a></span><a href="#method.max" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.Ord.html#method.max" class="fn">max</a>(self, other: Self) -> Self<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Compares and returns the maximum of two values. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.Ord.html#method.max">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.min" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.21.0">1.21.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1001-1003">Source</a></span><a href="#method.min" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.Ord.html#method.min" class="fn">min</a>(self, other: Self) -> Self<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Compares and returns the minimum of two values. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.Ord.html#method.min">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clamp" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.50.0">1.50.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1027-1029">Source</a></span><a href="#method.clamp" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.Ord.html#method.clamp" class="fn">clamp</a>(self, min: Self, max: Self) -> Self<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Restrict a value to a certain interval. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.Ord.html#method.clamp">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3CF128%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3CF128%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="struct" href="struct.F128.html" title="struct fixed::F128">F128</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-45" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-45" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="struct" href="struct.F128.html" title="struct fixed::F128">F128</a>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3CF128Bits%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3CF128Bits%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="struct" href="struct.F128Bits.html" title="struct fixed::F128Bits">F128Bits</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-47" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-47" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="struct" href="struct.F128Bits.html" title="struct fixed::F128Bits">F128Bits</a>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3CFixedI128%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3CFixedI128%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU128.html" title="trait fixed::types::extra::LeEqU128">LeEqU128</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="struct" href="struct.FixedI128.html" title="struct fixed::FixedI128">FixedI128</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-6" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-6" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="struct" href="struct.FixedI128.html" title="struct fixed::FixedI128">FixedI128</a><FracDst>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3CFixedI16%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3CFixedI16%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU16.html" title="trait fixed::types::extra::LeEqU16">LeEqU16</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="struct" href="struct.FixedI16.html" title="struct fixed::FixedI16">FixedI16</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-3" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-3" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="struct" href="struct.FixedI16.html" title="struct fixed::FixedI16">FixedI16</a><FracDst>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-F128" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-F128" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="struct.F128.html" title="struct fixed::F128">F128</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-46" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-46" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-F128Bits" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-F128Bits" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="struct.F128Bits.html" title="struct fixed::F128Bits">F128Bits</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-48" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-48" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-bf16" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-bf16" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="../half/bfloat/struct.bf16.html" title="struct half::bfloat::bf16">half_bf16</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-40" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-40" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-bool" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-bool" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-12" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-12" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-f16" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-f16" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="../half/binary16/struct.f16.html" title="struct half::binary16::f16">half_f16</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-38" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-38" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-f32" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-f32" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f32.html">f32</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-42" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-42" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-f64" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-f64" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f64.html">f64</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-44" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-44" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-i128" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-i128" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-22" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-22" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-i16" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-i16" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-16" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-16" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-i32" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-i32" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-18" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-18" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-i64" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-i64" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-20" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-20" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-i8" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-i8" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-14" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-14" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-isize" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-isize" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-24" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-24" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-u128" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-u128" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-34" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-34" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-u16" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-u16" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-28" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-28" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-u32" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-u32" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-30" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-30" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-u64" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-u64" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-32" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-32" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-u8" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-u8" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-26" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-26" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-usize" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3CFixedI32%3CFrac%3E%3E-for-usize" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-36" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-36" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI128%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI128%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU128.html" title="trait fixed::types::extra::LeEqU128">LeEqU128</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedI128.html" title="struct fixed::FixedI128">FixedI128</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-50" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-50" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI16%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI16%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU16.html" title="trait fixed::types::extra::LeEqU16">LeEqU16</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedI16.html" title="struct fixed::FixedI16">FixedI16</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-1" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-4" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-4" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI64%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI64%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU64.html" title="trait fixed::types::extra::LeEqU64">LeEqU64</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedI64.html" title="struct fixed::FixedI64">FixedI64</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-49" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-49" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI8%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI8%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU8.html" title="trait fixed::types::extra::LeEqU8">LeEqU8</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedI8.html" title="struct fixed::FixedI8">FixedI8</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU128%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU128%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU128.html" title="trait fixed::types::extra::LeEqU128">LeEqU128</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedU128.html" title="struct fixed::FixedU128">FixedU128</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-55" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-55" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU16%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU16%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU16.html" title="trait fixed::types::extra::LeEqU16">LeEqU16</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedU16.html" title="struct fixed::FixedU16">FixedU16</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-52" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-52" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedU32.html" title="struct fixed::FixedU32">FixedU32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-53" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-53" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU64%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU64%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU64.html" title="trait fixed::types::extra::LeEqU64">LeEqU64</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedU64.html" title="struct fixed::FixedU64">FixedU64</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-54" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-54" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU8%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU8%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU8.html" title="trait fixed::types::extra::LeEqU8">LeEqU8</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedU8.html" title="struct fixed::FixedU8">FixedU8</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-51" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-51" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3CFixedI64%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3CFixedI64%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU64.html" title="trait fixed::types::extra::LeEqU64">LeEqU64</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="struct" href="struct.FixedI64.html" title="struct fixed::FixedI64">FixedI64</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-5" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-5" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="struct" href="struct.FixedI64.html" title="struct fixed::FixedI64">FixedI64</a><FracDst>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3CFixedI8%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3CFixedI8%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU8.html" title="trait fixed::types::extra::LeEqU8">LeEqU8</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="struct" href="struct.FixedI8.html" title="struct fixed::FixedI8">FixedI8</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-2" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-2" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="struct" href="struct.FixedI8.html" title="struct fixed::FixedI8">FixedI8</a><FracDst>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3CFixedU128%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3CFixedU128%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU128.html" title="trait fixed::types::extra::LeEqU128">LeEqU128</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="struct" href="struct.FixedU128.html" title="struct fixed::FixedU128">FixedU128</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-11" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-11" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="struct" href="struct.FixedU128.html" title="struct fixed::FixedU128">FixedU128</a><FracDst>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3CFixedU16%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3CFixedU16%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU16.html" title="trait fixed::types::extra::LeEqU16">LeEqU16</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="struct" href="struct.FixedU16.html" title="struct fixed::FixedU16">FixedU16</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-8" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-8" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="struct" href="struct.FixedU16.html" title="struct fixed::FixedU16">FixedU16</a><FracDst>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3CFixedU32%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3CFixedU32%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="struct" href="struct.FixedU32.html" title="struct fixed::FixedU32">FixedU32</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-9" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-9" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="struct" href="struct.FixedU32.html" title="struct fixed::FixedU32">FixedU32</a><FracDst>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3CFixedU64%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3CFixedU64%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU64.html" title="trait fixed::types::extra::LeEqU64">LeEqU64</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="struct" href="struct.FixedU64.html" title="struct fixed::FixedU64">FixedU64</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-10" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-10" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="struct" href="struct.FixedU64.html" title="struct fixed::FixedU64">FixedU64</a><FracDst>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3CFixedU8%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3CFixedU8%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU8.html" title="trait fixed::types::extra::LeEqU8">LeEqU8</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="struct" href="struct.FixedU8.html" title="struct fixed::FixedU8">FixedU8</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-7" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-7" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="struct" href="struct.FixedU8.html" title="struct fixed::FixedU8">FixedU8</a><FracDst>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3Cbf16%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3Cbf16%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="struct" href="../half/bfloat/struct.bf16.html" title="struct half::bfloat::bf16">bf16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-39" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-39" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="struct" href="../half/bfloat/struct.bf16.html" title="struct half::bfloat::bf16">half_bf16</a>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3Cf16%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3Cf16%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="struct" href="../half/binary16/struct.f16.html" title="struct half::binary16::f16">f16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-37" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-37" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="struct" href="../half/binary16/struct.f16.html" title="struct half::binary16::f16">half_f16</a>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3Cf32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3Cf32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f32.html">f32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-41" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-41" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f32.html">f32</a>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3Cf64%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3Cf64%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f64.html">f64</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-43" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-43" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f64.html">f64</a>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3Ci128%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3Ci128%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html">i128</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-21" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-21" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html">i128</a>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3Ci16%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3Ci16%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-15" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-15" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3Ci32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3Ci32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-17" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-17" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3Ci64%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3Ci64%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html">i64</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-19" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-19" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html">i64</a>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3Ci8%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3Ci8%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-13" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-13" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3Cisize%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3Cisize%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html">isize</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-23" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-23" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html">isize</a>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3Cu128%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3Cu128%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html">u128</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-33" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-33" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html">u128</a>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3Cu16%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3Cu16%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html">u16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-27" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-27" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html">u16</a>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3Cu32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3Cu32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-29" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-29" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3Cu64%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3Cu64%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html">u64</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-31" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-31" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html">u64</a>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3Cu8%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3Cu8%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-25" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-25" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-OverflowingCast%3Cusize%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-OverflowingCast%3Cusize%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast-35" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.overflowing_cast-35" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCast.html#tymethod.overflowing_cast" class="fn">overflowing_cast</a>(self) -> (<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a>, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CF128%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialEq%3CF128%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="struct.F128.html" title="struct fixed::F128">F128</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-32" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.eq-32" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="struct" href="struct.F128.html" title="struct fixed::F128">F128</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-32" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-32" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CF128Bits%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialEq%3CF128Bits%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="struct.F128Bits.html" title="struct fixed::F128Bits">F128Bits</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-34" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.eq-34" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="struct" href="struct.F128Bits.html" title="struct fixed::F128Bits">F128Bits</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-34" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-34" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CFixedI128%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#257">Source</a><a href="#impl-PartialEq%3CFixedI128%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" class="anchor">§</a><h3 class="code-header">impl<FracLhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>, FracRhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="struct.FixedI128.html" title="struct fixed::FixedI128">FixedI128</a><FracRhs>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracLhs></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-53" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#257">Source</a><a href="#method.eq-53" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="struct" href="struct.FixedI128.html" title="struct fixed::FixedI128">FixedI128</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-53" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-53" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CFixedI16%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#253">Source</a><a href="#impl-PartialEq%3CFixedI16%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" class="anchor">§</a><h3 class="code-header">impl<FracLhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>, FracRhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="struct.FixedI16.html" title="struct fixed::FixedI16">FixedI16</a><FracRhs>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracLhs></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-48" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#253">Source</a><a href="#method.eq-48" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="struct" href="struct.FixedI16.html" title="struct fixed::FixedI16">FixedI16</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-48" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-48" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-F128" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-F128" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="struct.F128.html" title="struct fixed::F128">F128</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-33" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.eq-33" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-33" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-33" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-F128Bits" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-F128Bits" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="struct.F128Bits.html" title="struct fixed::F128Bits">F128Bits</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-35" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.eq-35" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-35" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-35" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-bf16" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-bf16" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="../half/bfloat/struct.bf16.html" title="struct half::bfloat::bf16">half_bf16</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-27" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.eq-27" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-27" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-27" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-f16" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-f16" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="../half/binary16/struct.f16.html" title="struct half::binary16::f16">half_f16</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-25" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.eq-25" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-25" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-25" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-f32" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-f32" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f32.html">f32</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-29" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.eq-29" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-29" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-29" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-f64" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-f64" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f64.html">f64</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-31" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.eq-31" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-31" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-31" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-i128" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-i128" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.eq-9" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.eq-9" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-9" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-9" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-i16" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-i16" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.eq-3" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.eq-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-3" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-i32" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-i32" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.eq-5" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.eq-5" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-5" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-5" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-i64" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-i64" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.eq-7" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.eq-7" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-7" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-7" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-i8" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-i8" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.eq-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.eq-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-1" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-isize" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-isize" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.eq-11" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.eq-11" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-11" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-11" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-u128" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-u128" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.eq-21" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.eq-21" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-21" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-21" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-u16" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-u16" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.eq-15" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.eq-15" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-15" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-15" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-u32" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-u32" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.eq-17" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.eq-17" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-17" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-17" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-u64" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-u64" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.eq-19" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.eq-19" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-19" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-19" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-u8" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-u8" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.eq-13" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.eq-13" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-13" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-13" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-usize" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialEq%3CFixedI32%3CFrac%3E%3E-for-usize" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.eq-23" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.eq-23" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-23" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-23" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CFixedI32%3CFracRhs%3E%3E-for-FixedI128%3CFracLhs%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#257">Source</a><a href="#impl-PartialEq%3CFixedI32%3CFracRhs%3E%3E-for-FixedI128%3CFracLhs%3E" class="anchor">§</a><h3 class="code-header">impl<FracLhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>, FracRhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>> for <a class="struct" href="struct.FixedI128.html" title="struct fixed::FixedI128">FixedI128</a><FracLhs></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-52" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#257">Source</a><a href="#method.eq-52" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-52" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-52" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CFixedI32%3CFracRhs%3E%3E-for-FixedI16%3CFracLhs%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#253">Source</a><a href="#impl-PartialEq%3CFixedI32%3CFracRhs%3E%3E-for-FixedI16%3CFracLhs%3E" class="anchor">§</a><h3 class="code-header">impl<FracLhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>, FracRhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>> for <a class="struct" href="struct.FixedI16.html" title="struct fixed::FixedI16">FixedI16</a><FracLhs></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-49" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#253">Source</a><a href="#method.eq-49" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-49" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-49" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CFixedI32%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#480">Source</a><a href="#impl-PartialEq%3CFixedI32%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" class="anchor">§</a><h3 class="code-header">impl<FracLhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>, FracRhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracLhs></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-54" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#480">Source</a><a href="#method.eq-54" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-54" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-54" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CFixedI32%3CFracRhs%3E%3E-for-FixedI64%3CFracLhs%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#256">Source</a><a href="#impl-PartialEq%3CFixedI32%3CFracRhs%3E%3E-for-FixedI64%3CFracLhs%3E" class="anchor">§</a><h3 class="code-header">impl<FracLhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>, FracRhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>> for <a class="struct" href="struct.FixedI64.html" title="struct fixed::FixedI64">FixedI64</a><FracLhs></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-50" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#256">Source</a><a href="#method.eq-50" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-50" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-50" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CFixedI32%3CFracRhs%3E%3E-for-FixedI8%3CFracLhs%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#250">Source</a><a href="#impl-PartialEq%3CFixedI32%3CFracRhs%3E%3E-for-FixedI8%3CFracLhs%3E" class="anchor">§</a><h3 class="code-header">impl<FracLhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>, FracRhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>> for <a class="struct" href="struct.FixedI8.html" title="struct fixed::FixedI8">FixedI8</a><FracLhs></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-47" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#250">Source</a><a href="#method.eq-47" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-47" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-47" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CFixedI32%3CFracRhs%3E%3E-for-FixedU128%3CFracLhs%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#impl-PartialEq%3CFixedI32%3CFracRhs%3E%3E-for-FixedU128%3CFracLhs%3E" class="anchor">§</a><h3 class="code-header">impl<FracLhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>, FracRhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>> for <a class="struct" href="struct.FixedU128.html" title="struct fixed::FixedU128">FixedU128</a><FracLhs></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-44" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.eq-44" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-44" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-44" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CFixedI32%3CFracRhs%3E%3E-for-FixedU16%3CFracLhs%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#impl-PartialEq%3CFixedI32%3CFracRhs%3E%3E-for-FixedU16%3CFracLhs%3E" class="anchor">§</a><h3 class="code-header">impl<FracLhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>, FracRhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>> for <a class="struct" href="struct.FixedU16.html" title="struct fixed::FixedU16">FixedU16</a><FracLhs></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-38" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.eq-38" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-38" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-38" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CFixedI32%3CFracRhs%3E%3E-for-FixedU32%3CFracLhs%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#impl-PartialEq%3CFixedI32%3CFracRhs%3E%3E-for-FixedU32%3CFracLhs%3E" class="anchor">§</a><h3 class="code-header">impl<FracLhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>, FracRhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>> for <a class="struct" href="struct.FixedU32.html" title="struct fixed::FixedU32">FixedU32</a><FracLhs></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-40" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.eq-40" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-40" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-40" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CFixedI32%3CFracRhs%3E%3E-for-FixedU64%3CFracLhs%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#impl-PartialEq%3CFixedI32%3CFracRhs%3E%3E-for-FixedU64%3CFracLhs%3E" class="anchor">§</a><h3 class="code-header">impl<FracLhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>, FracRhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>> for <a class="struct" href="struct.FixedU64.html" title="struct fixed::FixedU64">FixedU64</a><FracLhs></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-42" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.eq-42" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-42" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-42" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CFixedI32%3CFracRhs%3E%3E-for-FixedU8%3CFracLhs%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#impl-PartialEq%3CFixedI32%3CFracRhs%3E%3E-for-FixedU8%3CFracLhs%3E" class="anchor">§</a><h3 class="code-header">impl<FracLhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>, FracRhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>> for <a class="struct" href="struct.FixedU8.html" title="struct fixed::FixedU8">FixedU8</a><FracLhs></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-36" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.eq-36" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-36" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-36" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CFixedI64%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#256">Source</a><a href="#impl-PartialEq%3CFixedI64%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" class="anchor">§</a><h3 class="code-header">impl<FracLhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>, FracRhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="struct.FixedI64.html" title="struct fixed::FixedI64">FixedI64</a><FracRhs>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracLhs></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-51" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#256">Source</a><a href="#method.eq-51" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="struct" href="struct.FixedI64.html" title="struct fixed::FixedI64">FixedI64</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-51" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-51" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CFixedI8%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#250">Source</a><a href="#impl-PartialEq%3CFixedI8%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" class="anchor">§</a><h3 class="code-header">impl<FracLhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>, FracRhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="struct.FixedI8.html" title="struct fixed::FixedI8">FixedI8</a><FracRhs>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracLhs></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-46" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#250">Source</a><a href="#method.eq-46" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="struct" href="struct.FixedI8.html" title="struct fixed::FixedI8">FixedI8</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-46" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-46" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CFixedU128%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#impl-PartialEq%3CFixedU128%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" class="anchor">§</a><h3 class="code-header">impl<FracLhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>, FracRhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="struct.FixedU128.html" title="struct fixed::FixedU128">FixedU128</a><FracRhs>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracLhs></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-45" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.eq-45" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="struct" href="struct.FixedU128.html" title="struct fixed::FixedU128">FixedU128</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-45" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-45" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CFixedU16%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#impl-PartialEq%3CFixedU16%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" class="anchor">§</a><h3 class="code-header">impl<FracLhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>, FracRhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="struct.FixedU16.html" title="struct fixed::FixedU16">FixedU16</a><FracRhs>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracLhs></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-39" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.eq-39" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="struct" href="struct.FixedU16.html" title="struct fixed::FixedU16">FixedU16</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-39" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-39" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CFixedU32%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#impl-PartialEq%3CFixedU32%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" class="anchor">§</a><h3 class="code-header">impl<FracLhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>, FracRhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="struct.FixedU32.html" title="struct fixed::FixedU32">FixedU32</a><FracRhs>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracLhs></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-41" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.eq-41" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="struct" href="struct.FixedU32.html" title="struct fixed::FixedU32">FixedU32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-41" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-41" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CFixedU64%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#impl-PartialEq%3CFixedU64%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" class="anchor">§</a><h3 class="code-header">impl<FracLhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>, FracRhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="struct.FixedU64.html" title="struct fixed::FixedU64">FixedU64</a><FracRhs>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracLhs></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-43" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.eq-43" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="struct" href="struct.FixedU64.html" title="struct fixed::FixedU64">FixedU64</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-43" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-43" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3CFixedU8%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#impl-PartialEq%3CFixedU8%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" class="anchor">§</a><h3 class="code-header">impl<FracLhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>, FracRhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="struct.FixedU8.html" title="struct fixed::FixedU8">FixedU8</a><FracRhs>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracLhs></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-37" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.eq-37" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="struct" href="struct.FixedU8.html" title="struct fixed::FixedU8">FixedU8</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-37" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-37" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Cbf16%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialEq%3Cbf16%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="../half/bfloat/struct.bf16.html" title="struct half::bfloat::bf16">bf16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-26" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.eq-26" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="struct" href="../half/bfloat/struct.bf16.html" title="struct half::bfloat::bf16">half_bf16</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-26" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-26" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Cf16%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialEq%3Cf16%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="struct" href="../half/binary16/struct.f16.html" title="struct half::binary16::f16">f16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-24" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.eq-24" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="struct" href="../half/binary16/struct.f16.html" title="struct half::binary16::f16">half_f16</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-24" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-24" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Cf32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialEq%3Cf32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f32.html">f32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-28" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.eq-28" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f32.html">f32</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-28" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-28" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Cf64%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialEq%3Cf64%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f64.html">f64</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-30" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.eq-30" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f64.html">f64</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-30" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-30" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Ci128%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialEq%3Ci128%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html">i128</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-8" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.eq-8" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html">i128</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-8" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-8" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Ci16%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialEq%3Ci16%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-2" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.eq-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-2" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Ci32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialEq%3Ci32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-4" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.eq-4" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-4" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-4" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Ci64%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialEq%3Ci64%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html">i64</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-6" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.eq-6" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html">i64</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-6" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-6" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Ci8%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialEq%3Ci8%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.eq" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Cisize%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialEq%3Cisize%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html">isize</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-10" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.eq-10" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html">isize</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-10" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-10" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Cu128%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialEq%3Cu128%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html">u128</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-20" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.eq-20" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html">u128</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-20" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-20" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Cu16%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialEq%3Cu16%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html">u16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-14" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.eq-14" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html">u16</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-14" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-14" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Cu32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialEq%3Cu32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-16" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.eq-16" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-16" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-16" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Cu64%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialEq%3Cu64%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html">u64</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-18" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.eq-18" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html">u64</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-18" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-18" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Cu8%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialEq%3Cu8%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-12" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.eq-12" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-12" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-12" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq%3Cusize%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialEq%3Cusize%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq-22" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.eq-22" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne-22" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#261">Source</a></span><a href="#method.ne-22" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3CF128%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialOrd%3CF128%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="struct" href="struct.F128.html" title="struct fixed::F128">F128</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-32" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.partial_cmp-32" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="struct" href="struct.F128.html" title="struct fixed::F128">F128</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-32" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1335">Source</a></span><a href="#method.lt-32" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-32" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1353">Source</a></span><a href="#method.le-32" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-32" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1371">Source</a></span><a href="#method.gt-32" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-32" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1389">Source</a></span><a href="#method.ge-32" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3CF128Bits%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialOrd%3CF128Bits%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="struct" href="struct.F128Bits.html" title="struct fixed::F128Bits">F128Bits</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-34" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.partial_cmp-34" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="struct" href="struct.F128Bits.html" title="struct fixed::F128Bits">F128Bits</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-34" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1335">Source</a></span><a href="#method.lt-34" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-34" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1353">Source</a></span><a href="#method.le-34" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-34" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1371">Source</a></span><a href="#method.gt-34" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-34" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1389">Source</a></span><a href="#method.ge-34" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3CFixedI128%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#257">Source</a><a href="#impl-PartialOrd%3CFixedI128%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" class="anchor">§</a><h3 class="code-header">impl<FracLhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>, FracRhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="struct" href="struct.FixedI128.html" title="struct fixed::FixedI128">FixedI128</a><FracRhs>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracLhs></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-53" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#257">Source</a><a href="#method.partial_cmp-53" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="struct" href="struct.FixedI128.html" title="struct fixed::FixedI128">FixedI128</a><FracRhs>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-53" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#257">Source</a><a href="#method.lt-53" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, rhs: &<a class="struct" href="struct.FixedI128.html" title="struct fixed::FixedI128">FixedI128</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-53" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#257">Source</a><a href="#method.le-53" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, rhs: &<a class="struct" href="struct.FixedI128.html" title="struct fixed::FixedI128">FixedI128</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-53" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#257">Source</a><a href="#method.gt-53" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, rhs: &<a class="struct" href="struct.FixedI128.html" title="struct fixed::FixedI128">FixedI128</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-53" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#257">Source</a><a href="#method.ge-53" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, rhs: &<a class="struct" href="struct.FixedI128.html" title="struct fixed::FixedI128">FixedI128</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3CFixedI16%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#253">Source</a><a href="#impl-PartialOrd%3CFixedI16%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" class="anchor">§</a><h3 class="code-header">impl<FracLhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>, FracRhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="struct" href="struct.FixedI16.html" title="struct fixed::FixedI16">FixedI16</a><FracRhs>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracLhs></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-48" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#253">Source</a><a href="#method.partial_cmp-48" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="struct" href="struct.FixedI16.html" title="struct fixed::FixedI16">FixedI16</a><FracRhs>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-48" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#253">Source</a><a href="#method.lt-48" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, rhs: &<a class="struct" href="struct.FixedI16.html" title="struct fixed::FixedI16">FixedI16</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-48" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#253">Source</a><a href="#method.le-48" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, rhs: &<a class="struct" href="struct.FixedI16.html" title="struct fixed::FixedI16">FixedI16</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-48" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#253">Source</a><a href="#method.gt-48" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, rhs: &<a class="struct" href="struct.FixedI16.html" title="struct fixed::FixedI16">FixedI16</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-48" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#253">Source</a><a href="#method.ge-48" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, rhs: &<a class="struct" href="struct.FixedI16.html" title="struct fixed::FixedI16">FixedI16</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-F128" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-F128" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="struct.F128.html" title="struct fixed::F128">F128</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-33" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.partial_cmp-33" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-33" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1335">Source</a></span><a href="#method.lt-33" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-33" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1353">Source</a></span><a href="#method.le-33" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-33" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1371">Source</a></span><a href="#method.gt-33" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-33" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1389">Source</a></span><a href="#method.ge-33" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-F128Bits" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-F128Bits" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="struct.F128Bits.html" title="struct fixed::F128Bits">F128Bits</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-35" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.partial_cmp-35" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-35" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1335">Source</a></span><a href="#method.lt-35" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-35" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1353">Source</a></span><a href="#method.le-35" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-35" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1371">Source</a></span><a href="#method.gt-35" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-35" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1389">Source</a></span><a href="#method.ge-35" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-bf16" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-bf16" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="../half/bfloat/struct.bf16.html" title="struct half::bfloat::bf16">half_bf16</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-27" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.partial_cmp-27" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-27" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1335">Source</a></span><a href="#method.lt-27" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-27" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1353">Source</a></span><a href="#method.le-27" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-27" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1371">Source</a></span><a href="#method.gt-27" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-27" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1389">Source</a></span><a href="#method.ge-27" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-f16" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-f16" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="../half/binary16/struct.f16.html" title="struct half::binary16::f16">half_f16</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-25" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.partial_cmp-25" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-25" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1335">Source</a></span><a href="#method.lt-25" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-25" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1353">Source</a></span><a href="#method.le-25" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-25" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1371">Source</a></span><a href="#method.gt-25" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-25" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1389">Source</a></span><a href="#method.ge-25" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-f32" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-f32" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f32.html">f32</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-29" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.partial_cmp-29" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-29" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1335">Source</a></span><a href="#method.lt-29" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-29" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1353">Source</a></span><a href="#method.le-29" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-29" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1371">Source</a></span><a href="#method.gt-29" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-29" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1389">Source</a></span><a href="#method.ge-29" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-f64" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-f64" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f64.html">f64</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-31" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.partial_cmp-31" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-31" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1335">Source</a></span><a href="#method.lt-31" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-31" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1353">Source</a></span><a href="#method.le-31" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-31" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1371">Source</a></span><a href="#method.gt-31" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-31" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1389">Source</a></span><a href="#method.ge-31" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-i128" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-i128" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-9" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.partial_cmp-9" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-9" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.lt-9" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-9" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.le-9" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-9" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.gt-9" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-9" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.ge-9" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-i16" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-i16" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-3" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.partial_cmp-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-3" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.lt-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-3" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.le-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-3" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.gt-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-3" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.ge-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-i32" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-i32" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-5" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.partial_cmp-5" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-5" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.lt-5" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-5" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.le-5" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-5" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.gt-5" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-5" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.ge-5" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-i64" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-i64" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-7" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.partial_cmp-7" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-7" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.lt-7" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-7" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.le-7" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-7" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.gt-7" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-7" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.ge-7" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-i8" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-i8" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.partial_cmp-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.lt-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.le-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.gt-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.ge-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-isize" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-isize" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-11" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.partial_cmp-11" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-11" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.lt-11" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-11" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.le-11" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-11" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.gt-11" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-11" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.ge-11" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-u128" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-u128" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-21" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.partial_cmp-21" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-21" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.lt-21" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-21" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.le-21" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-21" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.gt-21" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-21" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.ge-21" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-u16" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-u16" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-15" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.partial_cmp-15" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-15" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.lt-15" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-15" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.le-15" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-15" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.gt-15" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-15" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.ge-15" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-u32" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-u32" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-17" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.partial_cmp-17" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-17" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.lt-17" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-17" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.le-17" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-17" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.gt-17" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-17" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.ge-17" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-u64" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-u64" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-19" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.partial_cmp-19" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-19" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.lt-19" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-19" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.le-19" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-19" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.gt-19" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-19" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.ge-19" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-u8" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-u8" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-13" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.partial_cmp-13" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-13" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.lt-13" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-13" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.le-13" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-13" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.gt-13" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-13" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.ge-13" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-usize" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialOrd%3CFixedI32%3CFrac%3E%3E-for-usize" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-23" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.partial_cmp-23" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-23" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.lt-23" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-23" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.le-23" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-23" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.gt-23" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-23" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.ge-23" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3CFixedI32%3CFracRhs%3E%3E-for-FixedI128%3CFracLhs%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#257">Source</a><a href="#impl-PartialOrd%3CFixedI32%3CFracRhs%3E%3E-for-FixedI128%3CFracLhs%3E" class="anchor">§</a><h3 class="code-header">impl<FracLhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>, FracRhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>> for <a class="struct" href="struct.FixedI128.html" title="struct fixed::FixedI128">FixedI128</a><FracLhs></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-52" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#257">Source</a><a href="#method.partial_cmp-52" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-52" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#257">Source</a><a href="#method.lt-52" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-52" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#257">Source</a><a href="#method.le-52" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-52" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#257">Source</a><a href="#method.gt-52" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-52" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#257">Source</a><a href="#method.ge-52" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3CFixedI32%3CFracRhs%3E%3E-for-FixedI16%3CFracLhs%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#253">Source</a><a href="#impl-PartialOrd%3CFixedI32%3CFracRhs%3E%3E-for-FixedI16%3CFracLhs%3E" class="anchor">§</a><h3 class="code-header">impl<FracLhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>, FracRhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>> for <a class="struct" href="struct.FixedI16.html" title="struct fixed::FixedI16">FixedI16</a><FracLhs></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-49" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#253">Source</a><a href="#method.partial_cmp-49" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-49" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#253">Source</a><a href="#method.lt-49" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-49" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#253">Source</a><a href="#method.le-49" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-49" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#253">Source</a><a href="#method.gt-49" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-49" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#253">Source</a><a href="#method.ge-49" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3CFixedI32%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#480">Source</a><a href="#impl-PartialOrd%3CFixedI32%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" class="anchor">§</a><h3 class="code-header">impl<FracLhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>, FracRhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracLhs></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-54" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#480">Source</a><a href="#method.partial_cmp-54" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-54" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#480">Source</a><a href="#method.lt-54" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-54" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#480">Source</a><a href="#method.le-54" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-54" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#480">Source</a><a href="#method.gt-54" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-54" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#480">Source</a><a href="#method.ge-54" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3CFixedI32%3CFracRhs%3E%3E-for-FixedI64%3CFracLhs%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#256">Source</a><a href="#impl-PartialOrd%3CFixedI32%3CFracRhs%3E%3E-for-FixedI64%3CFracLhs%3E" class="anchor">§</a><h3 class="code-header">impl<FracLhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>, FracRhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>> for <a class="struct" href="struct.FixedI64.html" title="struct fixed::FixedI64">FixedI64</a><FracLhs></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-50" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#256">Source</a><a href="#method.partial_cmp-50" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-50" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#256">Source</a><a href="#method.lt-50" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-50" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#256">Source</a><a href="#method.le-50" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-50" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#256">Source</a><a href="#method.gt-50" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-50" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#256">Source</a><a href="#method.ge-50" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3CFixedI32%3CFracRhs%3E%3E-for-FixedI8%3CFracLhs%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#250">Source</a><a href="#impl-PartialOrd%3CFixedI32%3CFracRhs%3E%3E-for-FixedI8%3CFracLhs%3E" class="anchor">§</a><h3 class="code-header">impl<FracLhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>, FracRhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>> for <a class="struct" href="struct.FixedI8.html" title="struct fixed::FixedI8">FixedI8</a><FracLhs></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-47" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#250">Source</a><a href="#method.partial_cmp-47" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-47" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#250">Source</a><a href="#method.lt-47" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-47" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#250">Source</a><a href="#method.le-47" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-47" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#250">Source</a><a href="#method.gt-47" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-47" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#250">Source</a><a href="#method.ge-47" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3CFixedI32%3CFracRhs%3E%3E-for-FixedU128%3CFracLhs%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#impl-PartialOrd%3CFixedI32%3CFracRhs%3E%3E-for-FixedU128%3CFracLhs%3E" class="anchor">§</a><h3 class="code-header">impl<FracLhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>, FracRhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>> for <a class="struct" href="struct.FixedU128.html" title="struct fixed::FixedU128">FixedU128</a><FracLhs></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-44" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.partial_cmp-44" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-44" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.lt-44" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-44" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.le-44" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-44" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.gt-44" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-44" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.ge-44" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3CFixedI32%3CFracRhs%3E%3E-for-FixedU16%3CFracLhs%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#impl-PartialOrd%3CFixedI32%3CFracRhs%3E%3E-for-FixedU16%3CFracLhs%3E" class="anchor">§</a><h3 class="code-header">impl<FracLhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>, FracRhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>> for <a class="struct" href="struct.FixedU16.html" title="struct fixed::FixedU16">FixedU16</a><FracLhs></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-38" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.partial_cmp-38" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-38" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.lt-38" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-38" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.le-38" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-38" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.gt-38" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-38" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.ge-38" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3CFixedI32%3CFracRhs%3E%3E-for-FixedU32%3CFracLhs%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#impl-PartialOrd%3CFixedI32%3CFracRhs%3E%3E-for-FixedU32%3CFracLhs%3E" class="anchor">§</a><h3 class="code-header">impl<FracLhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>, FracRhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>> for <a class="struct" href="struct.FixedU32.html" title="struct fixed::FixedU32">FixedU32</a><FracLhs></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-40" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.partial_cmp-40" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-40" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.lt-40" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-40" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.le-40" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-40" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.gt-40" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-40" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.ge-40" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3CFixedI32%3CFracRhs%3E%3E-for-FixedU64%3CFracLhs%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#impl-PartialOrd%3CFixedI32%3CFracRhs%3E%3E-for-FixedU64%3CFracLhs%3E" class="anchor">§</a><h3 class="code-header">impl<FracLhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>, FracRhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>> for <a class="struct" href="struct.FixedU64.html" title="struct fixed::FixedU64">FixedU64</a><FracLhs></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-42" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.partial_cmp-42" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-42" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.lt-42" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-42" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.le-42" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-42" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.gt-42" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-42" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.ge-42" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3CFixedI32%3CFracRhs%3E%3E-for-FixedU8%3CFracLhs%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#impl-PartialOrd%3CFixedI32%3CFracRhs%3E%3E-for-FixedU8%3CFracLhs%3E" class="anchor">§</a><h3 class="code-header">impl<FracLhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>, FracRhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>> for <a class="struct" href="struct.FixedU8.html" title="struct fixed::FixedU8">FixedU8</a><FracLhs></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-36" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.partial_cmp-36" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-36" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.lt-36" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-36" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.le-36" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-36" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.gt-36" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-36" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.ge-36" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3CFixedI64%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#256">Source</a><a href="#impl-PartialOrd%3CFixedI64%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" class="anchor">§</a><h3 class="code-header">impl<FracLhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>, FracRhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="struct" href="struct.FixedI64.html" title="struct fixed::FixedI64">FixedI64</a><FracRhs>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracLhs></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-51" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#256">Source</a><a href="#method.partial_cmp-51" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="struct" href="struct.FixedI64.html" title="struct fixed::FixedI64">FixedI64</a><FracRhs>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-51" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#256">Source</a><a href="#method.lt-51" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, rhs: &<a class="struct" href="struct.FixedI64.html" title="struct fixed::FixedI64">FixedI64</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-51" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#256">Source</a><a href="#method.le-51" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, rhs: &<a class="struct" href="struct.FixedI64.html" title="struct fixed::FixedI64">FixedI64</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-51" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#256">Source</a><a href="#method.gt-51" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, rhs: &<a class="struct" href="struct.FixedI64.html" title="struct fixed::FixedI64">FixedI64</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-51" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#256">Source</a><a href="#method.ge-51" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, rhs: &<a class="struct" href="struct.FixedI64.html" title="struct fixed::FixedI64">FixedI64</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3CFixedI8%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#250">Source</a><a href="#impl-PartialOrd%3CFixedI8%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" class="anchor">§</a><h3 class="code-header">impl<FracLhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>, FracRhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="struct" href="struct.FixedI8.html" title="struct fixed::FixedI8">FixedI8</a><FracRhs>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracLhs></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-46" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#250">Source</a><a href="#method.partial_cmp-46" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="struct" href="struct.FixedI8.html" title="struct fixed::FixedI8">FixedI8</a><FracRhs>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-46" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#250">Source</a><a href="#method.lt-46" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, rhs: &<a class="struct" href="struct.FixedI8.html" title="struct fixed::FixedI8">FixedI8</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-46" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#250">Source</a><a href="#method.le-46" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, rhs: &<a class="struct" href="struct.FixedI8.html" title="struct fixed::FixedI8">FixedI8</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-46" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#250">Source</a><a href="#method.gt-46" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, rhs: &<a class="struct" href="struct.FixedI8.html" title="struct fixed::FixedI8">FixedI8</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-46" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#250">Source</a><a href="#method.ge-46" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, rhs: &<a class="struct" href="struct.FixedI8.html" title="struct fixed::FixedI8">FixedI8</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3CFixedU128%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#impl-PartialOrd%3CFixedU128%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" class="anchor">§</a><h3 class="code-header">impl<FracLhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>, FracRhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="struct" href="struct.FixedU128.html" title="struct fixed::FixedU128">FixedU128</a><FracRhs>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracLhs></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-45" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.partial_cmp-45" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="struct" href="struct.FixedU128.html" title="struct fixed::FixedU128">FixedU128</a><FracRhs>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-45" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.lt-45" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, rhs: &<a class="struct" href="struct.FixedU128.html" title="struct fixed::FixedU128">FixedU128</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-45" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.le-45" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, rhs: &<a class="struct" href="struct.FixedU128.html" title="struct fixed::FixedU128">FixedU128</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-45" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.gt-45" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, rhs: &<a class="struct" href="struct.FixedU128.html" title="struct fixed::FixedU128">FixedU128</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-45" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.ge-45" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, rhs: &<a class="struct" href="struct.FixedU128.html" title="struct fixed::FixedU128">FixedU128</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3CFixedU16%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#impl-PartialOrd%3CFixedU16%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" class="anchor">§</a><h3 class="code-header">impl<FracLhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>, FracRhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="struct" href="struct.FixedU16.html" title="struct fixed::FixedU16">FixedU16</a><FracRhs>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracLhs></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-39" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.partial_cmp-39" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="struct" href="struct.FixedU16.html" title="struct fixed::FixedU16">FixedU16</a><FracRhs>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-39" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.lt-39" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, rhs: &<a class="struct" href="struct.FixedU16.html" title="struct fixed::FixedU16">FixedU16</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-39" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.le-39" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, rhs: &<a class="struct" href="struct.FixedU16.html" title="struct fixed::FixedU16">FixedU16</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-39" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.gt-39" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, rhs: &<a class="struct" href="struct.FixedU16.html" title="struct fixed::FixedU16">FixedU16</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-39" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.ge-39" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, rhs: &<a class="struct" href="struct.FixedU16.html" title="struct fixed::FixedU16">FixedU16</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3CFixedU32%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#impl-PartialOrd%3CFixedU32%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" class="anchor">§</a><h3 class="code-header">impl<FracLhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>, FracRhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="struct" href="struct.FixedU32.html" title="struct fixed::FixedU32">FixedU32</a><FracRhs>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracLhs></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-41" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.partial_cmp-41" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="struct" href="struct.FixedU32.html" title="struct fixed::FixedU32">FixedU32</a><FracRhs>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-41" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.lt-41" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, rhs: &<a class="struct" href="struct.FixedU32.html" title="struct fixed::FixedU32">FixedU32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-41" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.le-41" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, rhs: &<a class="struct" href="struct.FixedU32.html" title="struct fixed::FixedU32">FixedU32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-41" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.gt-41" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, rhs: &<a class="struct" href="struct.FixedU32.html" title="struct fixed::FixedU32">FixedU32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-41" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.ge-41" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, rhs: &<a class="struct" href="struct.FixedU32.html" title="struct fixed::FixedU32">FixedU32</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3CFixedU64%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#impl-PartialOrd%3CFixedU64%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" class="anchor">§</a><h3 class="code-header">impl<FracLhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>, FracRhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="struct" href="struct.FixedU64.html" title="struct fixed::FixedU64">FixedU64</a><FracRhs>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracLhs></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-43" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.partial_cmp-43" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="struct" href="struct.FixedU64.html" title="struct fixed::FixedU64">FixedU64</a><FracRhs>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-43" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.lt-43" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, rhs: &<a class="struct" href="struct.FixedU64.html" title="struct fixed::FixedU64">FixedU64</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-43" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.le-43" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, rhs: &<a class="struct" href="struct.FixedU64.html" title="struct fixed::FixedU64">FixedU64</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-43" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.gt-43" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, rhs: &<a class="struct" href="struct.FixedU64.html" title="struct fixed::FixedU64">FixedU64</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-43" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.ge-43" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, rhs: &<a class="struct" href="struct.FixedU64.html" title="struct fixed::FixedU64">FixedU64</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3CFixedU8%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#impl-PartialOrd%3CFixedU8%3CFracRhs%3E%3E-for-FixedI32%3CFracLhs%3E" class="anchor">§</a><h3 class="code-header">impl<FracLhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>, FracRhs: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="struct" href="struct.FixedU8.html" title="struct fixed::FixedU8">FixedU8</a><FracRhs>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracLhs></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-37" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.partial_cmp-37" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="struct" href="struct.FixedU8.html" title="struct fixed::FixedU8">FixedU8</a><FracRhs>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-37" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.lt-37" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, rhs: &<a class="struct" href="struct.FixedU8.html" title="struct fixed::FixedU8">FixedU8</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-37" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.le-37" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, rhs: &<a class="struct" href="struct.FixedU8.html" title="struct fixed::FixedU8">FixedU8</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-37" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.gt-37" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, rhs: &<a class="struct" href="struct.FixedU8.html" title="struct fixed::FixedU8">FixedU8</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-37" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#159">Source</a><a href="#method.ge-37" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, rhs: &<a class="struct" href="struct.FixedU8.html" title="struct fixed::FixedU8">FixedU8</a><FracRhs>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3Cbf16%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialOrd%3Cbf16%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="struct" href="../half/bfloat/struct.bf16.html" title="struct half::bfloat::bf16">bf16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-26" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.partial_cmp-26" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="struct" href="../half/bfloat/struct.bf16.html" title="struct half::bfloat::bf16">half_bf16</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-26" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1335">Source</a></span><a href="#method.lt-26" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-26" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1353">Source</a></span><a href="#method.le-26" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-26" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1371">Source</a></span><a href="#method.gt-26" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-26" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1389">Source</a></span><a href="#method.ge-26" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3Cf16%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialOrd%3Cf16%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="struct" href="../half/binary16/struct.f16.html" title="struct half::binary16::f16">f16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-24" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.partial_cmp-24" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="struct" href="../half/binary16/struct.f16.html" title="struct half::binary16::f16">half_f16</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-24" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1335">Source</a></span><a href="#method.lt-24" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-24" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1353">Source</a></span><a href="#method.le-24" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-24" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1371">Source</a></span><a href="#method.gt-24" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-24" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1389">Source</a></span><a href="#method.ge-24" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3Cf32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialOrd%3Cf32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f32.html">f32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-28" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.partial_cmp-28" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f32.html">f32</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-28" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1335">Source</a></span><a href="#method.lt-28" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-28" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1353">Source</a></span><a href="#method.le-28" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-28" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1371">Source</a></span><a href="#method.gt-28" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-28" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1389">Source</a></span><a href="#method.ge-28" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3Cf64%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialOrd%3Cf64%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f64.html">f64</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-30" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.partial_cmp-30" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f64.html">f64</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-30" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1335">Source</a></span><a href="#method.lt-30" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-30" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1353">Source</a></span><a href="#method.le-30" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-30" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1371">Source</a></span><a href="#method.gt-30" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-30" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.84.0/src/core/cmp.rs.html#1389">Source</a></span><a href="#method.ge-30" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3Ci128%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialOrd%3Ci128%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html">i128</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-8" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.partial_cmp-8" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html">i128</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-8" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.lt-8" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html">i128</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-8" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.le-8" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html">i128</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-8" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.gt-8" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html">i128</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-8" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.ge-8" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html">i128</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3Ci16%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialOrd%3Ci16%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-2" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.partial_cmp-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-2" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.lt-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-2" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.le-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-2" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.gt-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-2" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.ge-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3Ci32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialOrd%3Ci32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-4" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.partial_cmp-4" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-4" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.lt-4" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-4" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.le-4" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-4" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.gt-4" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-4" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.ge-4" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3Ci64%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialOrd%3Ci64%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html">i64</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-6" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.partial_cmp-6" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html">i64</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-6" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.lt-6" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html">i64</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-6" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.le-6" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html">i64</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-6" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.gt-6" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html">i64</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-6" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.ge-6" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html">i64</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3Ci8%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialOrd%3Ci8%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.partial_cmp" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.lt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.le" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.gt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.ge" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3Cisize%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialOrd%3Cisize%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html">isize</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-10" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.partial_cmp-10" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html">isize</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-10" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.lt-10" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html">isize</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-10" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.le-10" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html">isize</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-10" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.gt-10" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html">isize</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-10" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.ge-10" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html">isize</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3Cu128%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialOrd%3Cu128%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html">u128</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-20" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.partial_cmp-20" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html">u128</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-20" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.lt-20" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html">u128</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-20" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.le-20" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html">u128</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-20" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.gt-20" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html">u128</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-20" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.ge-20" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html">u128</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3Cu16%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialOrd%3Cu16%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html">u16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-14" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.partial_cmp-14" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html">u16</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-14" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.lt-14" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html">u16</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-14" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.le-14" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html">u16</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-14" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.gt-14" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html">u16</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-14" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.ge-14" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html">u16</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3Cu32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialOrd%3Cu32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-16" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.partial_cmp-16" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-16" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.lt-16" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-16" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.le-16" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-16" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.gt-16" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-16" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.ge-16" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3Cu64%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialOrd%3Cu64%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html">u64</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-18" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.partial_cmp-18" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html">u64</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-18" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.lt-18" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html">u64</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-18" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.le-18" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html">u64</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-18" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.gt-18" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html">u64</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-18" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.ge-18" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html">u64</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3Cu8%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialOrd%3Cu8%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-12" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.partial_cmp-12" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-12" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.lt-12" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-12" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.le-12" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-12" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.gt-12" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-12" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.ge-12" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialOrd%3Cusize%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#impl-PartialOrd%3Cusize%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html" title="trait core::cmp::PartialOrd">PartialOrd</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.partial_cmp-22" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.partial_cmp-22" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp" class="fn">partial_cmp</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="enum" href="https://doc.rust-lang.org/1.84.0/core/cmp/enum.Ordering.html" title="enum core::cmp::Ordering">Ordering</a>></h4></section></summary><div class='docblock'>This method returns an ordering between <code>self</code> and <code>other</code> values if one exists. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#tymethod.partial_cmp">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.lt-22" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.lt-22" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt" class="fn">lt</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than (for <code>self</code> and <code>other</code>) and is used by the <code><</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.lt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.le-22" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.le-22" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le" class="fn">le</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests less than or equal to (for <code>self</code> and <code>other</code>) and is used by the
|
||
<code><=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.le">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.gt-22" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.gt-22" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt" class="fn">gt</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than (for <code>self</code> and <code>other</code>) and is used by the <code>></code>
|
||
operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.gt">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ge-22" class="method trait-impl"><a class="src rightside" href="../src/fixed/cmp.rs.html#379">Source</a><a href="#method.ge-22" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge" class="fn">ge</a>(&self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests greater than or equal to (for <code>self</code> and <code>other</code>) and is used by
|
||
the <code>>=</code> operator. <a href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.PartialOrd.html#method.ge">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Product%3C%26FixedI32%3CFrac%3E%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Product%3C%26FixedI32%3CFrac%3E%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<'a, Frac: 'a + <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/iter/traits/accum/trait.Product.html" title="trait core::iter::traits::accum::Product">Product</a><&'a <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.product-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.product-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/iter/traits/accum/trait.Product.html#tymethod.product" class="fn">product</a><I>(iter: I) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac><div class="where">where
|
||
I: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = &'a <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>>,</div></h4></section></summary><div class='docblock'>Takes an iterator and generates <code>Self</code> from the elements by multiplying
|
||
the items.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Product-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Product-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/iter/traits/accum/trait.Product.html" title="trait core::iter::traits::accum::Product">Product</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.product" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.product" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/iter/traits/accum/trait.Product.html#tymethod.product" class="fn">product</a><I>(iter: I) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac><div class="where">where
|
||
I: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>>,</div></h4></section></summary><div class='docblock'>Takes an iterator and generates <code>Self</code> from the elements by multiplying
|
||
the items.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Rem%3C%26FixedI32%3CFrac%3E%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Rem%3C%26FixedI32%3CFrac%3E%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a><&<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-21" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-21" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Rem.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>%</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.rem-3" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.rem-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Rem.html#tymethod.rem" class="fn">rem</a>(self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>%</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Rem.html#tymethod.rem">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Rem%3C%26FixedI32%3CFrac%3E%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Rem%3C%26FixedI32%3CFrac%3E%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a><&<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-20" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-20" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Rem.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>%</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.rem-2" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.rem-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Rem.html#tymethod.rem" class="fn">rem</a>(self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>%</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Rem.html#tymethod.rem">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Rem%3C%26NonZero%3Ci32%3E%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Rem%3C%26NonZero%3Ci32%3E%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a><&<a class="struct" href="https://doc.rust-lang.org/1.84.0/core/num/nonzero/struct.NonZero.html" title="struct core::num::nonzero::NonZero">NonZero</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-151" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-151" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Rem.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>%</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.rem-11" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.rem-11" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Rem.html#tymethod.rem" class="fn">rem</a>(self, rhs: &<a class="type" href="https://doc.rust-lang.org/1.84.0/core/num/nonzero/type.NonZeroI32.html" title="type core::num::nonzero::NonZeroI32">NonZeroI32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>%</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Rem.html#tymethod.rem">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Rem%3C%26NonZero%3Ci32%3E%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Rem%3C%26NonZero%3Ci32%3E%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a><&<a class="struct" href="https://doc.rust-lang.org/1.84.0/core/num/nonzero/struct.NonZero.html" title="struct core::num::nonzero::NonZero">NonZero</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-150" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-150" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Rem.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>%</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.rem-10" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.rem-10" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Rem.html#tymethod.rem" class="fn">rem</a>(self, rhs: &<a class="type" href="https://doc.rust-lang.org/1.84.0/core/num/nonzero/type.NonZeroI32.html" title="type core::num::nonzero::NonZeroI32">NonZeroI32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>%</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Rem.html#tymethod.rem">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Rem%3C%26i32%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Rem%3C%26i32%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-51" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-51" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Rem.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>%</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.rem-7" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.rem-7" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Rem.html#tymethod.rem" class="fn">rem</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>%</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Rem.html#tymethod.rem">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Rem%3C%26i32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Rem%3C%26i32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-50" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-50" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Rem.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>%</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.rem-6" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.rem-6" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Rem.html#tymethod.rem" class="fn">rem</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>%</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Rem.html#tymethod.rem">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Rem%3CFixedI32%3CFrac%3E%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Rem%3CFixedI32%3CFrac%3E%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-19" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-19" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Rem.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>%</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.rem-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.rem-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Rem.html#tymethod.rem" class="fn">rem</a>(self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>%</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Rem.html#tymethod.rem">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Rem%3CNonZero%3Ci32%3E%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Rem%3CNonZero%3Ci32%3E%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a><<a class="struct" href="https://doc.rust-lang.org/1.84.0/core/num/nonzero/struct.NonZero.html" title="struct core::num::nonzero::NonZero">NonZero</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-149" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-149" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Rem.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>%</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.rem-9" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.rem-9" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Rem.html#tymethod.rem" class="fn">rem</a>(self, rhs: <a class="type" href="https://doc.rust-lang.org/1.84.0/core/num/nonzero/type.NonZeroI32.html" title="type core::num::nonzero::NonZeroI32">NonZeroI32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>%</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Rem.html#tymethod.rem">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Rem%3CNonZero%3Ci32%3E%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Rem%3CNonZero%3Ci32%3E%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a><<a class="struct" href="https://doc.rust-lang.org/1.84.0/core/num/nonzero/struct.NonZero.html" title="struct core::num::nonzero::NonZero">NonZero</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-148" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-148" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Rem.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>%</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.rem-8" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.rem-8" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Rem.html#tymethod.rem" class="fn">rem</a>(self, rhs: <a class="type" href="https://doc.rust-lang.org/1.84.0/core/num/nonzero/type.NonZeroI32.html" title="type core::num::nonzero::NonZeroI32">NonZeroI32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>%</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Rem.html#tymethod.rem">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Rem%3Ci32%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Rem%3Ci32%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-49" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-49" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Rem.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>%</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.rem-5" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.rem-5" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Rem.html#tymethod.rem" class="fn">rem</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>%</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Rem.html#tymethod.rem">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Rem%3Ci32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Rem%3Ci32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-48" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-48" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Rem.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>%</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.rem-4" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.rem-4" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Rem.html#tymethod.rem" class="fn">rem</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>%</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Rem.html#tymethod.rem">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Rem-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Rem-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Rem.html" title="trait core::ops::arith::Rem">Rem</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-18" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-18" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Rem.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>%</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.rem" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.rem" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Rem.html#tymethod.rem" class="fn">rem</a>(self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>%</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Rem.html#tymethod.rem">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-RemAssign%3C%26FixedI32%3CFrac%3E%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-RemAssign%3C%26FixedI32%3CFrac%3E%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.RemAssign.html" title="trait core::ops::arith::RemAssign">RemAssign</a><&<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.rem_assign-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.rem_assign-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.RemAssign.html#tymethod.rem_assign" class="fn">rem_assign</a>(&mut self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>)</h4></section></summary><div class='docblock'>Performs the <code>%=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.RemAssign.html#tymethod.rem_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-RemAssign%3C%26NonZero%3Ci32%3E%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-RemAssign%3C%26NonZero%3Ci32%3E%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.RemAssign.html" title="trait core::ops::arith::RemAssign">RemAssign</a><&<a class="struct" href="https://doc.rust-lang.org/1.84.0/core/num/nonzero/struct.NonZero.html" title="struct core::num::nonzero::NonZero">NonZero</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.rem_assign-5" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.rem_assign-5" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.RemAssign.html#tymethod.rem_assign" class="fn">rem_assign</a>(&mut self, rhs: &<a class="type" href="https://doc.rust-lang.org/1.84.0/core/num/nonzero/type.NonZeroI32.html" title="type core::num::nonzero::NonZeroI32">NonZeroI32</a>)</h4></section></summary><div class='docblock'>Performs the <code>%=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.RemAssign.html#tymethod.rem_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-RemAssign%3C%26i32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-RemAssign%3C%26i32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.RemAssign.html" title="trait core::ops::arith::RemAssign">RemAssign</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.rem_assign-3" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.rem_assign-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.RemAssign.html#tymethod.rem_assign" class="fn">rem_assign</a>(&mut self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>)</h4></section></summary><div class='docblock'>Performs the <code>%=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.RemAssign.html#tymethod.rem_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-RemAssign%3CNonZero%3Ci32%3E%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-RemAssign%3CNonZero%3Ci32%3E%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.RemAssign.html" title="trait core::ops::arith::RemAssign">RemAssign</a><<a class="struct" href="https://doc.rust-lang.org/1.84.0/core/num/nonzero/struct.NonZero.html" title="struct core::num::nonzero::NonZero">NonZero</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.rem_assign-4" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.rem_assign-4" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.RemAssign.html#tymethod.rem_assign" class="fn">rem_assign</a>(&mut self, rhs: <a class="type" href="https://doc.rust-lang.org/1.84.0/core/num/nonzero/type.NonZeroI32.html" title="type core::num::nonzero::NonZeroI32">NonZeroI32</a>)</h4></section></summary><div class='docblock'>Performs the <code>%=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.RemAssign.html#tymethod.rem_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-RemAssign%3Ci32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-RemAssign%3Ci32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.RemAssign.html" title="trait core::ops::arith::RemAssign">RemAssign</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.rem_assign-2" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.rem_assign-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.RemAssign.html#tymethod.rem_assign" class="fn">rem_assign</a>(&mut self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>)</h4></section></summary><div class='docblock'>Performs the <code>%=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.RemAssign.html#tymethod.rem_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-RemAssign-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-RemAssign-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.RemAssign.html" title="trait core::ops::arith::RemAssign">RemAssign</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.rem_assign" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.rem_assign" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.RemAssign.html#tymethod.rem_assign" class="fn">rem_assign</a>(&mut self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>)</h4></section></summary><div class='docblock'>Performs the <code>%=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.RemAssign.html#tymethod.rem_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3CF128%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3CF128%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="struct" href="struct.F128.html" title="struct fixed::F128">F128</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-45" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-45" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="struct" href="struct.F128.html" title="struct fixed::F128">F128</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3CF128Bits%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3CF128Bits%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="struct" href="struct.F128Bits.html" title="struct fixed::F128Bits">F128Bits</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-47" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-47" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="struct" href="struct.F128Bits.html" title="struct fixed::F128Bits">F128Bits</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3CFixedI128%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3CFixedI128%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU128.html" title="trait fixed::types::extra::LeEqU128">LeEqU128</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="struct" href="struct.FixedI128.html" title="struct fixed::FixedI128">FixedI128</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-6" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-6" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="struct" href="struct.FixedI128.html" title="struct fixed::FixedI128">FixedI128</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3CFixedI16%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3CFixedI16%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU16.html" title="trait fixed::types::extra::LeEqU16">LeEqU16</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="struct" href="struct.FixedI16.html" title="struct fixed::FixedI16">FixedI16</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-3" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-3" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="struct" href="struct.FixedI16.html" title="struct fixed::FixedI16">FixedI16</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-F128" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-F128" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="struct.F128.html" title="struct fixed::F128">F128</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-46" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-46" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-F128Bits" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-F128Bits" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="struct.F128Bits.html" title="struct fixed::F128Bits">F128Bits</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-48" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-48" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-bf16" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-bf16" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="../half/bfloat/struct.bf16.html" title="struct half::bfloat::bf16">half_bf16</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-40" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-40" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-bool" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-bool" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-12" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-12" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-f16" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-f16" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="../half/binary16/struct.f16.html" title="struct half::binary16::f16">half_f16</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-38" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-38" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-f32" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-f32" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f32.html">f32</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-42" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-42" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-f64" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-f64" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f64.html">f64</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-44" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-44" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-i128" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-i128" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-22" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-22" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-i16" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-i16" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-16" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-16" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-i32" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-i32" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-18" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-18" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-i64" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-i64" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-20" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-20" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-i8" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-i8" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-14" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-14" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-isize" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-isize" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-24" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-24" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-u128" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-u128" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-34" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-34" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-u16" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-u16" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-28" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-28" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-u32" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-u32" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-30" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-30" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-u64" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-u64" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-32" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-32" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-u8" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-u8" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-26" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-26" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-usize" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3CFixedI32%3CFrac%3E%3E-for-usize" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-36" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-36" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI128%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI128%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU128.html" title="trait fixed::types::extra::LeEqU128">LeEqU128</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedI128.html" title="struct fixed::FixedI128">FixedI128</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-50" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-50" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI16%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI16%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU16.html" title="trait fixed::types::extra::LeEqU16">LeEqU16</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedI16.html" title="struct fixed::FixedI16">FixedI16</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-1" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-4" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-4" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI64%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI64%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU64.html" title="trait fixed::types::extra::LeEqU64">LeEqU64</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedI64.html" title="struct fixed::FixedI64">FixedI64</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-49" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-49" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI8%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI8%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU8.html" title="trait fixed::types::extra::LeEqU8">LeEqU8</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedI8.html" title="struct fixed::FixedI8">FixedI8</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU128%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU128%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU128.html" title="trait fixed::types::extra::LeEqU128">LeEqU128</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedU128.html" title="struct fixed::FixedU128">FixedU128</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-55" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-55" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU16%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU16%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU16.html" title="trait fixed::types::extra::LeEqU16">LeEqU16</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedU16.html" title="struct fixed::FixedU16">FixedU16</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-52" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-52" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedU32.html" title="struct fixed::FixedU32">FixedU32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-53" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-53" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU64%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU64%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU64.html" title="trait fixed::types::extra::LeEqU64">LeEqU64</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedU64.html" title="struct fixed::FixedU64">FixedU64</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-54" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-54" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU8%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU8%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU8.html" title="trait fixed::types::extra::LeEqU8">LeEqU8</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedU8.html" title="struct fixed::FixedU8">FixedU8</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-51" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-51" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3CFixedI64%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3CFixedI64%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU64.html" title="trait fixed::types::extra::LeEqU64">LeEqU64</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="struct" href="struct.FixedI64.html" title="struct fixed::FixedI64">FixedI64</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-5" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-5" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="struct" href="struct.FixedI64.html" title="struct fixed::FixedI64">FixedI64</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3CFixedI8%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3CFixedI8%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU8.html" title="trait fixed::types::extra::LeEqU8">LeEqU8</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="struct" href="struct.FixedI8.html" title="struct fixed::FixedI8">FixedI8</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-2" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-2" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="struct" href="struct.FixedI8.html" title="struct fixed::FixedI8">FixedI8</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3CFixedU128%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3CFixedU128%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU128.html" title="trait fixed::types::extra::LeEqU128">LeEqU128</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="struct" href="struct.FixedU128.html" title="struct fixed::FixedU128">FixedU128</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-11" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-11" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="struct" href="struct.FixedU128.html" title="struct fixed::FixedU128">FixedU128</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3CFixedU16%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3CFixedU16%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU16.html" title="trait fixed::types::extra::LeEqU16">LeEqU16</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="struct" href="struct.FixedU16.html" title="struct fixed::FixedU16">FixedU16</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-8" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-8" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="struct" href="struct.FixedU16.html" title="struct fixed::FixedU16">FixedU16</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3CFixedU32%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3CFixedU32%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="struct" href="struct.FixedU32.html" title="struct fixed::FixedU32">FixedU32</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-9" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-9" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="struct" href="struct.FixedU32.html" title="struct fixed::FixedU32">FixedU32</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3CFixedU64%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3CFixedU64%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU64.html" title="trait fixed::types::extra::LeEqU64">LeEqU64</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="struct" href="struct.FixedU64.html" title="struct fixed::FixedU64">FixedU64</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-10" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-10" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="struct" href="struct.FixedU64.html" title="struct fixed::FixedU64">FixedU64</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3CFixedU8%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3CFixedU8%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU8.html" title="trait fixed::types::extra::LeEqU8">LeEqU8</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="struct" href="struct.FixedU8.html" title="struct fixed::FixedU8">FixedU8</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-7" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-7" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="struct" href="struct.FixedU8.html" title="struct fixed::FixedU8">FixedU8</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3Cbf16%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3Cbf16%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="struct" href="../half/bfloat/struct.bf16.html" title="struct half::bfloat::bf16">bf16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-39" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-39" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="struct" href="../half/bfloat/struct.bf16.html" title="struct half::bfloat::bf16">half_bf16</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3Cf16%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3Cf16%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="struct" href="../half/binary16/struct.f16.html" title="struct half::binary16::f16">f16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-37" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-37" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="struct" href="../half/binary16/struct.f16.html" title="struct half::binary16::f16">half_f16</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3Cf32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3Cf32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f32.html">f32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-41" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-41" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f32.html">f32</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3Cf64%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3Cf64%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f64.html">f64</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-43" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-43" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f64.html">f64</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3Ci128%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3Ci128%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html">i128</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-21" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-21" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html">i128</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3Ci16%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3Ci16%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-15" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-15" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3Ci32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3Ci32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-17" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-17" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3Ci64%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3Ci64%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html">i64</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-19" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-19" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html">i64</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3Ci8%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3Ci8%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-13" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-13" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3Cisize%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3Cisize%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html">isize</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-23" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-23" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html">isize</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3Cu128%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3Cu128%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html">u128</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-33" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-33" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html">u128</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3Cu16%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3Cu16%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html">u16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-27" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-27" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html">u16</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3Cu32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3Cu32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-29" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-29" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3Cu64%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3Cu64%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html">u64</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-31" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-31" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html">u64</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3Cu8%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3Cu8%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-25" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-25" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SaturatingCast%3Cusize%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-SaturatingCast%3Cusize%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast-35" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.saturating_cast-35" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCast.html#tymethod.saturating_cast" class="fn">saturating_cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shl%3C%26i128%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shl%3C%26i128%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html" title="trait core::ops::bit::Shl">Shl</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html">i128</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-71" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-71" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code><<</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shl-19" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl-19" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl" class="fn">shl</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html">i128</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code><<</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shl%3C%26i128%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shl%3C%26i128%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html" title="trait core::ops::bit::Shl">Shl</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html">i128</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-70" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-70" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code><<</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shl-18" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl-18" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl" class="fn">shl</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html">i128</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code><<</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shl%3C%26i16%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shl%3C%26i16%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html" title="trait core::ops::bit::Shl">Shl</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-59" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-59" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code><<</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shl-7" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl-7" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl" class="fn">shl</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code><<</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shl%3C%26i16%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shl%3C%26i16%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html" title="trait core::ops::bit::Shl">Shl</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-58" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-58" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code><<</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shl-6" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl-6" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl" class="fn">shl</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code><<</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shl%3C%26i32%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shl%3C%26i32%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html" title="trait core::ops::bit::Shl">Shl</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-63" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-63" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code><<</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shl-11" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl-11" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl" class="fn">shl</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code><<</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shl%3C%26i32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shl%3C%26i32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html" title="trait core::ops::bit::Shl">Shl</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-62" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-62" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code><<</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shl-10" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl-10" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl" class="fn">shl</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code><<</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shl%3C%26i64%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shl%3C%26i64%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html" title="trait core::ops::bit::Shl">Shl</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html">i64</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-67" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-67" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code><<</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shl-15" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl-15" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl" class="fn">shl</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html">i64</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code><<</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shl%3C%26i64%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shl%3C%26i64%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html" title="trait core::ops::bit::Shl">Shl</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html">i64</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-66" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-66" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code><<</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shl-14" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl-14" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl" class="fn">shl</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html">i64</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code><<</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shl%3C%26i8%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shl%3C%26i8%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html" title="trait core::ops::bit::Shl">Shl</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-55" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-55" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code><<</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shl-3" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl" class="fn">shl</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code><<</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shl%3C%26i8%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shl%3C%26i8%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html" title="trait core::ops::bit::Shl">Shl</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-54" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-54" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code><<</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shl-2" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl" class="fn">shl</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code><<</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shl%3C%26isize%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shl%3C%26isize%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html" title="trait core::ops::bit::Shl">Shl</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html">isize</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-75" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-75" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code><<</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shl-23" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl-23" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl" class="fn">shl</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html">isize</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code><<</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shl%3C%26isize%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shl%3C%26isize%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html" title="trait core::ops::bit::Shl">Shl</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html">isize</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-74" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-74" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code><<</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shl-22" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl-22" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl" class="fn">shl</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html">isize</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code><<</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shl%3C%26u128%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shl%3C%26u128%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html" title="trait core::ops::bit::Shl">Shl</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html">u128</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-95" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-95" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code><<</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shl-43" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl-43" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl" class="fn">shl</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html">u128</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code><<</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shl%3C%26u128%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shl%3C%26u128%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html" title="trait core::ops::bit::Shl">Shl</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html">u128</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-94" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-94" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code><<</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shl-42" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl-42" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl" class="fn">shl</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html">u128</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code><<</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shl%3C%26u16%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shl%3C%26u16%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html" title="trait core::ops::bit::Shl">Shl</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html">u16</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-83" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-83" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code><<</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shl-31" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl-31" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl" class="fn">shl</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html">u16</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code><<</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shl%3C%26u16%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shl%3C%26u16%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html" title="trait core::ops::bit::Shl">Shl</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html">u16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-82" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-82" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code><<</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shl-30" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl-30" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl" class="fn">shl</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html">u16</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code><<</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shl%3C%26u32%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shl%3C%26u32%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html" title="trait core::ops::bit::Shl">Shl</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-87" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-87" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code><<</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shl-35" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl-35" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl" class="fn">shl</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code><<</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shl%3C%26u32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shl%3C%26u32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html" title="trait core::ops::bit::Shl">Shl</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-86" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-86" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code><<</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shl-34" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl-34" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl" class="fn">shl</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code><<</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shl%3C%26u64%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shl%3C%26u64%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html" title="trait core::ops::bit::Shl">Shl</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html">u64</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-91" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-91" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code><<</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shl-39" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl-39" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl" class="fn">shl</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html">u64</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code><<</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shl%3C%26u64%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shl%3C%26u64%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html" title="trait core::ops::bit::Shl">Shl</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html">u64</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-90" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-90" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code><<</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shl-38" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl-38" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl" class="fn">shl</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html">u64</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code><<</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shl%3C%26u8%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shl%3C%26u8%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html" title="trait core::ops::bit::Shl">Shl</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-79" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-79" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code><<</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shl-27" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl-27" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl" class="fn">shl</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code><<</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shl%3C%26u8%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shl%3C%26u8%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html" title="trait core::ops::bit::Shl">Shl</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-78" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-78" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code><<</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shl-26" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl-26" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl" class="fn">shl</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code><<</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shl%3C%26usize%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shl%3C%26usize%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html" title="trait core::ops::bit::Shl">Shl</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-99" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-99" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code><<</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shl-47" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl-47" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl" class="fn">shl</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code><<</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shl%3C%26usize%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shl%3C%26usize%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html" title="trait core::ops::bit::Shl">Shl</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-98" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-98" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code><<</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shl-46" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl-46" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl" class="fn">shl</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code><<</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shl%3Ci128%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shl%3Ci128%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html" title="trait core::ops::bit::Shl">Shl</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html">i128</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-69" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-69" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code><<</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shl-17" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl-17" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl" class="fn">shl</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html">i128</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code><<</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shl%3Ci128%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shl%3Ci128%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html" title="trait core::ops::bit::Shl">Shl</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html">i128</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-68" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-68" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code><<</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shl-16" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl-16" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl" class="fn">shl</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html">i128</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code><<</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shl%3Ci16%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shl%3Ci16%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html" title="trait core::ops::bit::Shl">Shl</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-57" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-57" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code><<</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shl-5" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl-5" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl" class="fn">shl</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code><<</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shl%3Ci16%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shl%3Ci16%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html" title="trait core::ops::bit::Shl">Shl</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-56" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-56" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code><<</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shl-4" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl-4" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl" class="fn">shl</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code><<</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shl%3Ci32%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shl%3Ci32%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html" title="trait core::ops::bit::Shl">Shl</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-61" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-61" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code><<</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shl-9" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl-9" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl" class="fn">shl</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code><<</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shl%3Ci32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shl%3Ci32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html" title="trait core::ops::bit::Shl">Shl</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-60" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-60" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code><<</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shl-8" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl-8" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl" class="fn">shl</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code><<</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shl%3Ci64%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shl%3Ci64%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html" title="trait core::ops::bit::Shl">Shl</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html">i64</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-65" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-65" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code><<</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shl-13" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl-13" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl" class="fn">shl</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html">i64</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code><<</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shl%3Ci64%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shl%3Ci64%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html" title="trait core::ops::bit::Shl">Shl</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html">i64</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-64" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-64" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code><<</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shl-12" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl-12" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl" class="fn">shl</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html">i64</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code><<</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shl%3Ci8%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shl%3Ci8%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html" title="trait core::ops::bit::Shl">Shl</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-53" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-53" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code><<</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shl-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl" class="fn">shl</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code><<</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shl%3Ci8%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shl%3Ci8%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html" title="trait core::ops::bit::Shl">Shl</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-52" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-52" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code><<</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shl" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl" class="fn">shl</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code><<</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shl%3Cisize%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shl%3Cisize%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html" title="trait core::ops::bit::Shl">Shl</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html">isize</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-73" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-73" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code><<</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shl-21" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl-21" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl" class="fn">shl</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html">isize</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code><<</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shl%3Cisize%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shl%3Cisize%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html" title="trait core::ops::bit::Shl">Shl</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html">isize</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-72" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-72" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code><<</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shl-20" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl-20" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl" class="fn">shl</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html">isize</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code><<</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shl%3Cu128%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shl%3Cu128%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html" title="trait core::ops::bit::Shl">Shl</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html">u128</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-93" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-93" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code><<</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shl-41" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl-41" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl" class="fn">shl</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html">u128</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code><<</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shl%3Cu128%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shl%3Cu128%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html" title="trait core::ops::bit::Shl">Shl</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html">u128</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-92" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-92" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code><<</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shl-40" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl-40" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl" class="fn">shl</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html">u128</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code><<</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shl%3Cu16%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shl%3Cu16%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html" title="trait core::ops::bit::Shl">Shl</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html">u16</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-81" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-81" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code><<</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shl-29" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl-29" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl" class="fn">shl</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html">u16</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code><<</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shl%3Cu16%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shl%3Cu16%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html" title="trait core::ops::bit::Shl">Shl</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html">u16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-80" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-80" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code><<</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shl-28" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl-28" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl" class="fn">shl</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html">u16</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code><<</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shl%3Cu32%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shl%3Cu32%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html" title="trait core::ops::bit::Shl">Shl</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-85" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-85" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code><<</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shl-33" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl-33" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl" class="fn">shl</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code><<</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shl%3Cu32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shl%3Cu32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html" title="trait core::ops::bit::Shl">Shl</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-84" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-84" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code><<</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shl-32" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl-32" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl" class="fn">shl</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code><<</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shl%3Cu64%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shl%3Cu64%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html" title="trait core::ops::bit::Shl">Shl</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html">u64</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-89" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-89" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code><<</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shl-37" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl-37" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl" class="fn">shl</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html">u64</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code><<</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shl%3Cu64%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shl%3Cu64%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html" title="trait core::ops::bit::Shl">Shl</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html">u64</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-88" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-88" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code><<</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shl-36" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl-36" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl" class="fn">shl</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html">u64</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code><<</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shl%3Cu8%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shl%3Cu8%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html" title="trait core::ops::bit::Shl">Shl</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-77" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-77" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code><<</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shl-25" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl-25" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl" class="fn">shl</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code><<</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shl%3Cu8%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shl%3Cu8%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html" title="trait core::ops::bit::Shl">Shl</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-76" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-76" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code><<</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shl-24" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl-24" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl" class="fn">shl</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code><<</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shl%3Cusize%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shl%3Cusize%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html" title="trait core::ops::bit::Shl">Shl</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-97" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-97" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code><<</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shl-45" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl-45" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl" class="fn">shl</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code><<</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shl%3Cusize%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shl%3Cusize%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html" title="trait core::ops::bit::Shl">Shl</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-96" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-96" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code><<</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shl-44" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl-44" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl" class="fn">shl</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code><<</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shl.html#tymethod.shl">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ShlAssign%3C%26i128%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-ShlAssign%3C%26i128%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html" title="trait core::ops::bit::ShlAssign">ShlAssign</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html">i128</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.shl_assign-9" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl_assign-9" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html#tymethod.shl_assign" class="fn">shl_assign</a>(&mut self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html">i128</a>)</h4></section></summary><div class='docblock'>Performs the <code><<=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html#tymethod.shl_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ShlAssign%3C%26i16%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-ShlAssign%3C%26i16%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html" title="trait core::ops::bit::ShlAssign">ShlAssign</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.shl_assign-3" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl_assign-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html#tymethod.shl_assign" class="fn">shl_assign</a>(&mut self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a>)</h4></section></summary><div class='docblock'>Performs the <code><<=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html#tymethod.shl_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ShlAssign%3C%26i32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-ShlAssign%3C%26i32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html" title="trait core::ops::bit::ShlAssign">ShlAssign</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.shl_assign-5" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl_assign-5" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html#tymethod.shl_assign" class="fn">shl_assign</a>(&mut self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>)</h4></section></summary><div class='docblock'>Performs the <code><<=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html#tymethod.shl_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ShlAssign%3C%26i64%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-ShlAssign%3C%26i64%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html" title="trait core::ops::bit::ShlAssign">ShlAssign</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html">i64</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.shl_assign-7" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl_assign-7" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html#tymethod.shl_assign" class="fn">shl_assign</a>(&mut self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html">i64</a>)</h4></section></summary><div class='docblock'>Performs the <code><<=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html#tymethod.shl_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ShlAssign%3C%26i8%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-ShlAssign%3C%26i8%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html" title="trait core::ops::bit::ShlAssign">ShlAssign</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.shl_assign-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl_assign-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html#tymethod.shl_assign" class="fn">shl_assign</a>(&mut self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a>)</h4></section></summary><div class='docblock'>Performs the <code><<=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html#tymethod.shl_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ShlAssign%3C%26isize%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-ShlAssign%3C%26isize%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html" title="trait core::ops::bit::ShlAssign">ShlAssign</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html">isize</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.shl_assign-11" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl_assign-11" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html#tymethod.shl_assign" class="fn">shl_assign</a>(&mut self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html">isize</a>)</h4></section></summary><div class='docblock'>Performs the <code><<=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html#tymethod.shl_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ShlAssign%3C%26u128%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-ShlAssign%3C%26u128%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html" title="trait core::ops::bit::ShlAssign">ShlAssign</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html">u128</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.shl_assign-21" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl_assign-21" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html#tymethod.shl_assign" class="fn">shl_assign</a>(&mut self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html">u128</a>)</h4></section></summary><div class='docblock'>Performs the <code><<=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html#tymethod.shl_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ShlAssign%3C%26u16%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-ShlAssign%3C%26u16%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html" title="trait core::ops::bit::ShlAssign">ShlAssign</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html">u16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.shl_assign-15" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl_assign-15" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html#tymethod.shl_assign" class="fn">shl_assign</a>(&mut self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html">u16</a>)</h4></section></summary><div class='docblock'>Performs the <code><<=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html#tymethod.shl_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ShlAssign%3C%26u32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-ShlAssign%3C%26u32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html" title="trait core::ops::bit::ShlAssign">ShlAssign</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.shl_assign-17" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl_assign-17" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html#tymethod.shl_assign" class="fn">shl_assign</a>(&mut self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>)</h4></section></summary><div class='docblock'>Performs the <code><<=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html#tymethod.shl_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ShlAssign%3C%26u64%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-ShlAssign%3C%26u64%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html" title="trait core::ops::bit::ShlAssign">ShlAssign</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html">u64</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.shl_assign-19" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl_assign-19" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html#tymethod.shl_assign" class="fn">shl_assign</a>(&mut self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html">u64</a>)</h4></section></summary><div class='docblock'>Performs the <code><<=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html#tymethod.shl_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ShlAssign%3C%26u8%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-ShlAssign%3C%26u8%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html" title="trait core::ops::bit::ShlAssign">ShlAssign</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.shl_assign-13" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl_assign-13" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html#tymethod.shl_assign" class="fn">shl_assign</a>(&mut self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>)</h4></section></summary><div class='docblock'>Performs the <code><<=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html#tymethod.shl_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ShlAssign%3C%26usize%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-ShlAssign%3C%26usize%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html" title="trait core::ops::bit::ShlAssign">ShlAssign</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.shl_assign-23" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl_assign-23" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html#tymethod.shl_assign" class="fn">shl_assign</a>(&mut self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a>)</h4></section></summary><div class='docblock'>Performs the <code><<=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html#tymethod.shl_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ShlAssign%3Ci128%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-ShlAssign%3Ci128%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html" title="trait core::ops::bit::ShlAssign">ShlAssign</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html">i128</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.shl_assign-8" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl_assign-8" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html#tymethod.shl_assign" class="fn">shl_assign</a>(&mut self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html">i128</a>)</h4></section></summary><div class='docblock'>Performs the <code><<=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html#tymethod.shl_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ShlAssign%3Ci16%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-ShlAssign%3Ci16%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html" title="trait core::ops::bit::ShlAssign">ShlAssign</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.shl_assign-2" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl_assign-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html#tymethod.shl_assign" class="fn">shl_assign</a>(&mut self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a>)</h4></section></summary><div class='docblock'>Performs the <code><<=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html#tymethod.shl_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ShlAssign%3Ci32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-ShlAssign%3Ci32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html" title="trait core::ops::bit::ShlAssign">ShlAssign</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.shl_assign-4" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl_assign-4" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html#tymethod.shl_assign" class="fn">shl_assign</a>(&mut self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>)</h4></section></summary><div class='docblock'>Performs the <code><<=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html#tymethod.shl_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ShlAssign%3Ci64%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-ShlAssign%3Ci64%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html" title="trait core::ops::bit::ShlAssign">ShlAssign</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html">i64</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.shl_assign-6" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl_assign-6" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html#tymethod.shl_assign" class="fn">shl_assign</a>(&mut self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html">i64</a>)</h4></section></summary><div class='docblock'>Performs the <code><<=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html#tymethod.shl_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ShlAssign%3Ci8%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-ShlAssign%3Ci8%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html" title="trait core::ops::bit::ShlAssign">ShlAssign</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.shl_assign" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl_assign" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html#tymethod.shl_assign" class="fn">shl_assign</a>(&mut self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a>)</h4></section></summary><div class='docblock'>Performs the <code><<=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html#tymethod.shl_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ShlAssign%3Cisize%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-ShlAssign%3Cisize%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html" title="trait core::ops::bit::ShlAssign">ShlAssign</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html">isize</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.shl_assign-10" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl_assign-10" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html#tymethod.shl_assign" class="fn">shl_assign</a>(&mut self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html">isize</a>)</h4></section></summary><div class='docblock'>Performs the <code><<=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html#tymethod.shl_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ShlAssign%3Cu128%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-ShlAssign%3Cu128%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html" title="trait core::ops::bit::ShlAssign">ShlAssign</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html">u128</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.shl_assign-20" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl_assign-20" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html#tymethod.shl_assign" class="fn">shl_assign</a>(&mut self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html">u128</a>)</h4></section></summary><div class='docblock'>Performs the <code><<=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html#tymethod.shl_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ShlAssign%3Cu16%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-ShlAssign%3Cu16%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html" title="trait core::ops::bit::ShlAssign">ShlAssign</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html">u16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.shl_assign-14" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl_assign-14" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html#tymethod.shl_assign" class="fn">shl_assign</a>(&mut self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html">u16</a>)</h4></section></summary><div class='docblock'>Performs the <code><<=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html#tymethod.shl_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ShlAssign%3Cu32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-ShlAssign%3Cu32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html" title="trait core::ops::bit::ShlAssign">ShlAssign</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.shl_assign-16" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl_assign-16" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html#tymethod.shl_assign" class="fn">shl_assign</a>(&mut self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>)</h4></section></summary><div class='docblock'>Performs the <code><<=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html#tymethod.shl_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ShlAssign%3Cu64%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-ShlAssign%3Cu64%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html" title="trait core::ops::bit::ShlAssign">ShlAssign</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html">u64</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.shl_assign-18" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl_assign-18" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html#tymethod.shl_assign" class="fn">shl_assign</a>(&mut self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html">u64</a>)</h4></section></summary><div class='docblock'>Performs the <code><<=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html#tymethod.shl_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ShlAssign%3Cu8%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-ShlAssign%3Cu8%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html" title="trait core::ops::bit::ShlAssign">ShlAssign</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.shl_assign-12" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl_assign-12" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html#tymethod.shl_assign" class="fn">shl_assign</a>(&mut self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>)</h4></section></summary><div class='docblock'>Performs the <code><<=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html#tymethod.shl_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ShlAssign%3Cusize%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-ShlAssign%3Cusize%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html" title="trait core::ops::bit::ShlAssign">ShlAssign</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.shl_assign-22" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shl_assign-22" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html#tymethod.shl_assign" class="fn">shl_assign</a>(&mut self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a>)</h4></section></summary><div class='docblock'>Performs the <code><<=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShlAssign.html#tymethod.shl_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shr%3C%26i128%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shr%3C%26i128%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html" title="trait core::ops::bit::Shr">Shr</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html">i128</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-119" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-119" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>>></code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shr-19" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr-19" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr" class="fn">shr</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html">i128</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>>></code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shr%3C%26i128%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shr%3C%26i128%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html" title="trait core::ops::bit::Shr">Shr</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html">i128</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-118" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-118" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>>></code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shr-18" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr-18" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr" class="fn">shr</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html">i128</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>>></code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shr%3C%26i16%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shr%3C%26i16%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html" title="trait core::ops::bit::Shr">Shr</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-107" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-107" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>>></code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shr-7" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr-7" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr" class="fn">shr</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>>></code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shr%3C%26i16%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shr%3C%26i16%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html" title="trait core::ops::bit::Shr">Shr</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-106" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-106" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>>></code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shr-6" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr-6" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr" class="fn">shr</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>>></code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shr%3C%26i32%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shr%3C%26i32%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html" title="trait core::ops::bit::Shr">Shr</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-111" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-111" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>>></code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shr-11" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr-11" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr" class="fn">shr</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>>></code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shr%3C%26i32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shr%3C%26i32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html" title="trait core::ops::bit::Shr">Shr</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-110" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-110" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>>></code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shr-10" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr-10" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr" class="fn">shr</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>>></code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shr%3C%26i64%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shr%3C%26i64%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html" title="trait core::ops::bit::Shr">Shr</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html">i64</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-115" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-115" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>>></code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shr-15" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr-15" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr" class="fn">shr</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html">i64</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>>></code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shr%3C%26i64%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shr%3C%26i64%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html" title="trait core::ops::bit::Shr">Shr</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html">i64</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-114" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-114" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>>></code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shr-14" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr-14" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr" class="fn">shr</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html">i64</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>>></code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shr%3C%26i8%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shr%3C%26i8%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html" title="trait core::ops::bit::Shr">Shr</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-103" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-103" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>>></code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shr-3" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr" class="fn">shr</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>>></code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shr%3C%26i8%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shr%3C%26i8%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html" title="trait core::ops::bit::Shr">Shr</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-102" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-102" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>>></code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shr-2" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr" class="fn">shr</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>>></code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shr%3C%26isize%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shr%3C%26isize%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html" title="trait core::ops::bit::Shr">Shr</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html">isize</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-123" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-123" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>>></code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shr-23" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr-23" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr" class="fn">shr</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html">isize</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>>></code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shr%3C%26isize%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shr%3C%26isize%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html" title="trait core::ops::bit::Shr">Shr</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html">isize</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-122" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-122" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>>></code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shr-22" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr-22" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr" class="fn">shr</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html">isize</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>>></code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shr%3C%26u128%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shr%3C%26u128%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html" title="trait core::ops::bit::Shr">Shr</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html">u128</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-143" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-143" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>>></code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shr-43" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr-43" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr" class="fn">shr</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html">u128</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>>></code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shr%3C%26u128%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shr%3C%26u128%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html" title="trait core::ops::bit::Shr">Shr</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html">u128</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-142" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-142" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>>></code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shr-42" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr-42" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr" class="fn">shr</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html">u128</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>>></code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shr%3C%26u16%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shr%3C%26u16%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html" title="trait core::ops::bit::Shr">Shr</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html">u16</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-131" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-131" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>>></code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shr-31" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr-31" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr" class="fn">shr</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html">u16</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>>></code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shr%3C%26u16%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shr%3C%26u16%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html" title="trait core::ops::bit::Shr">Shr</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html">u16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-130" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-130" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>>></code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shr-30" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr-30" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr" class="fn">shr</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html">u16</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>>></code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shr%3C%26u32%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shr%3C%26u32%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html" title="trait core::ops::bit::Shr">Shr</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-135" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-135" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>>></code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shr-35" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr-35" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr" class="fn">shr</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>>></code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shr%3C%26u32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shr%3C%26u32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html" title="trait core::ops::bit::Shr">Shr</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-134" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-134" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>>></code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shr-34" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr-34" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr" class="fn">shr</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>>></code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shr%3C%26u64%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shr%3C%26u64%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html" title="trait core::ops::bit::Shr">Shr</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html">u64</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-139" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-139" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>>></code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shr-39" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr-39" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr" class="fn">shr</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html">u64</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>>></code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shr%3C%26u64%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shr%3C%26u64%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html" title="trait core::ops::bit::Shr">Shr</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html">u64</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-138" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-138" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>>></code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shr-38" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr-38" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr" class="fn">shr</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html">u64</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>>></code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shr%3C%26u8%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shr%3C%26u8%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html" title="trait core::ops::bit::Shr">Shr</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-127" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-127" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>>></code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shr-27" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr-27" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr" class="fn">shr</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>>></code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shr%3C%26u8%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shr%3C%26u8%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html" title="trait core::ops::bit::Shr">Shr</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-126" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-126" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>>></code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shr-26" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr-26" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr" class="fn">shr</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>>></code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shr%3C%26usize%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shr%3C%26usize%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html" title="trait core::ops::bit::Shr">Shr</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-147" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-147" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>>></code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shr-47" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr-47" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr" class="fn">shr</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>>></code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shr%3C%26usize%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shr%3C%26usize%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html" title="trait core::ops::bit::Shr">Shr</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-146" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-146" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>>></code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shr-46" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr-46" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr" class="fn">shr</a>(self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>>></code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shr%3Ci128%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shr%3Ci128%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html" title="trait core::ops::bit::Shr">Shr</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html">i128</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-117" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-117" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>>></code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shr-17" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr-17" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr" class="fn">shr</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html">i128</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>>></code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shr%3Ci128%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shr%3Ci128%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html" title="trait core::ops::bit::Shr">Shr</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html">i128</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-116" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-116" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>>></code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shr-16" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr-16" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr" class="fn">shr</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html">i128</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>>></code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shr%3Ci16%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shr%3Ci16%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html" title="trait core::ops::bit::Shr">Shr</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-105" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-105" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>>></code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shr-5" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr-5" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr" class="fn">shr</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>>></code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shr%3Ci16%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shr%3Ci16%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html" title="trait core::ops::bit::Shr">Shr</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-104" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-104" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>>></code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shr-4" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr-4" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr" class="fn">shr</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>>></code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shr%3Ci32%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shr%3Ci32%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html" title="trait core::ops::bit::Shr">Shr</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-109" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-109" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>>></code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shr-9" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr-9" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr" class="fn">shr</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>>></code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shr%3Ci32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shr%3Ci32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html" title="trait core::ops::bit::Shr">Shr</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-108" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-108" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>>></code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shr-8" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr-8" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr" class="fn">shr</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>>></code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shr%3Ci64%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shr%3Ci64%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html" title="trait core::ops::bit::Shr">Shr</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html">i64</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-113" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-113" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>>></code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shr-13" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr-13" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr" class="fn">shr</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html">i64</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>>></code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shr%3Ci64%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shr%3Ci64%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html" title="trait core::ops::bit::Shr">Shr</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html">i64</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-112" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-112" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>>></code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shr-12" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr-12" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr" class="fn">shr</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html">i64</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>>></code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shr%3Ci8%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shr%3Ci8%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html" title="trait core::ops::bit::Shr">Shr</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-101" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-101" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>>></code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shr-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr" class="fn">shr</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>>></code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shr%3Ci8%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shr%3Ci8%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html" title="trait core::ops::bit::Shr">Shr</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-100" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-100" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>>></code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shr" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr" class="fn">shr</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>>></code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shr%3Cisize%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shr%3Cisize%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html" title="trait core::ops::bit::Shr">Shr</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html">isize</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-121" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-121" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>>></code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shr-21" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr-21" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr" class="fn">shr</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html">isize</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>>></code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shr%3Cisize%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shr%3Cisize%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html" title="trait core::ops::bit::Shr">Shr</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html">isize</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-120" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-120" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>>></code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shr-20" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr-20" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr" class="fn">shr</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html">isize</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>>></code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shr%3Cu128%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shr%3Cu128%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html" title="trait core::ops::bit::Shr">Shr</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html">u128</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-141" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-141" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>>></code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shr-41" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr-41" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr" class="fn">shr</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html">u128</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>>></code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shr%3Cu128%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shr%3Cu128%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html" title="trait core::ops::bit::Shr">Shr</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html">u128</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-140" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-140" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>>></code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shr-40" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr-40" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr" class="fn">shr</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html">u128</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>>></code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shr%3Cu16%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shr%3Cu16%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html" title="trait core::ops::bit::Shr">Shr</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html">u16</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-129" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-129" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>>></code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shr-29" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr-29" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr" class="fn">shr</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html">u16</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>>></code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shr%3Cu16%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shr%3Cu16%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html" title="trait core::ops::bit::Shr">Shr</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html">u16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-128" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-128" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>>></code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shr-28" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr-28" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr" class="fn">shr</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html">u16</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>>></code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shr%3Cu32%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shr%3Cu32%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html" title="trait core::ops::bit::Shr">Shr</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-133" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-133" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>>></code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shr-33" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr-33" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr" class="fn">shr</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>>></code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shr%3Cu32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shr%3Cu32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html" title="trait core::ops::bit::Shr">Shr</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-132" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-132" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>>></code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shr-32" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr-32" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr" class="fn">shr</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>>></code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shr%3Cu64%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shr%3Cu64%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html" title="trait core::ops::bit::Shr">Shr</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html">u64</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-137" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-137" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>>></code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shr-37" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr-37" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr" class="fn">shr</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html">u64</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>>></code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shr%3Cu64%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shr%3Cu64%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html" title="trait core::ops::bit::Shr">Shr</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html">u64</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-136" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-136" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>>></code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shr-36" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr-36" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr" class="fn">shr</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html">u64</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>>></code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shr%3Cu8%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shr%3Cu8%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html" title="trait core::ops::bit::Shr">Shr</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-125" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-125" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>>></code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shr-25" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr-25" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr" class="fn">shr</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>>></code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shr%3Cu8%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shr%3Cu8%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html" title="trait core::ops::bit::Shr">Shr</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-124" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-124" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>>></code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shr-24" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr-24" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr" class="fn">shr</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>>></code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shr%3Cusize%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shr%3Cusize%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html" title="trait core::ops::bit::Shr">Shr</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-145" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-145" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>>></code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shr-45" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr-45" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr" class="fn">shr</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>>></code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Shr%3Cusize%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Shr%3Cusize%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html" title="trait core::ops::bit::Shr">Shr</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-144" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-144" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>>></code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.shr-44" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr-44" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr" class="fn">shr</a>(self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>>></code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.Shr.html#tymethod.shr">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ShrAssign%3C%26i128%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-ShrAssign%3C%26i128%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html" title="trait core::ops::bit::ShrAssign">ShrAssign</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html">i128</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.shr_assign-9" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr_assign-9" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html#tymethod.shr_assign" class="fn">shr_assign</a>(&mut self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html">i128</a>)</h4></section></summary><div class='docblock'>Performs the <code>>>=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html#tymethod.shr_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ShrAssign%3C%26i16%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-ShrAssign%3C%26i16%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html" title="trait core::ops::bit::ShrAssign">ShrAssign</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.shr_assign-3" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr_assign-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html#tymethod.shr_assign" class="fn">shr_assign</a>(&mut self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a>)</h4></section></summary><div class='docblock'>Performs the <code>>>=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html#tymethod.shr_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ShrAssign%3C%26i32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-ShrAssign%3C%26i32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html" title="trait core::ops::bit::ShrAssign">ShrAssign</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.shr_assign-5" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr_assign-5" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html#tymethod.shr_assign" class="fn">shr_assign</a>(&mut self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>)</h4></section></summary><div class='docblock'>Performs the <code>>>=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html#tymethod.shr_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ShrAssign%3C%26i64%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-ShrAssign%3C%26i64%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html" title="trait core::ops::bit::ShrAssign">ShrAssign</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html">i64</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.shr_assign-7" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr_assign-7" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html#tymethod.shr_assign" class="fn">shr_assign</a>(&mut self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html">i64</a>)</h4></section></summary><div class='docblock'>Performs the <code>>>=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html#tymethod.shr_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ShrAssign%3C%26i8%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-ShrAssign%3C%26i8%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html" title="trait core::ops::bit::ShrAssign">ShrAssign</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.shr_assign-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr_assign-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html#tymethod.shr_assign" class="fn">shr_assign</a>(&mut self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a>)</h4></section></summary><div class='docblock'>Performs the <code>>>=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html#tymethod.shr_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ShrAssign%3C%26isize%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-ShrAssign%3C%26isize%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html" title="trait core::ops::bit::ShrAssign">ShrAssign</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html">isize</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.shr_assign-11" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr_assign-11" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html#tymethod.shr_assign" class="fn">shr_assign</a>(&mut self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html">isize</a>)</h4></section></summary><div class='docblock'>Performs the <code>>>=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html#tymethod.shr_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ShrAssign%3C%26u128%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-ShrAssign%3C%26u128%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html" title="trait core::ops::bit::ShrAssign">ShrAssign</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html">u128</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.shr_assign-21" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr_assign-21" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html#tymethod.shr_assign" class="fn">shr_assign</a>(&mut self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html">u128</a>)</h4></section></summary><div class='docblock'>Performs the <code>>>=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html#tymethod.shr_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ShrAssign%3C%26u16%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-ShrAssign%3C%26u16%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html" title="trait core::ops::bit::ShrAssign">ShrAssign</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html">u16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.shr_assign-15" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr_assign-15" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html#tymethod.shr_assign" class="fn">shr_assign</a>(&mut self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html">u16</a>)</h4></section></summary><div class='docblock'>Performs the <code>>>=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html#tymethod.shr_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ShrAssign%3C%26u32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-ShrAssign%3C%26u32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html" title="trait core::ops::bit::ShrAssign">ShrAssign</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.shr_assign-17" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr_assign-17" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html#tymethod.shr_assign" class="fn">shr_assign</a>(&mut self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>)</h4></section></summary><div class='docblock'>Performs the <code>>>=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html#tymethod.shr_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ShrAssign%3C%26u64%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-ShrAssign%3C%26u64%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html" title="trait core::ops::bit::ShrAssign">ShrAssign</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html">u64</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.shr_assign-19" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr_assign-19" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html#tymethod.shr_assign" class="fn">shr_assign</a>(&mut self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html">u64</a>)</h4></section></summary><div class='docblock'>Performs the <code>>>=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html#tymethod.shr_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ShrAssign%3C%26u8%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-ShrAssign%3C%26u8%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html" title="trait core::ops::bit::ShrAssign">ShrAssign</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.shr_assign-13" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr_assign-13" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html#tymethod.shr_assign" class="fn">shr_assign</a>(&mut self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>)</h4></section></summary><div class='docblock'>Performs the <code>>>=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html#tymethod.shr_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ShrAssign%3C%26usize%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-ShrAssign%3C%26usize%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html" title="trait core::ops::bit::ShrAssign">ShrAssign</a><&<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.shr_assign-23" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr_assign-23" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html#tymethod.shr_assign" class="fn">shr_assign</a>(&mut self, rhs: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a>)</h4></section></summary><div class='docblock'>Performs the <code>>>=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html#tymethod.shr_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ShrAssign%3Ci128%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-ShrAssign%3Ci128%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html" title="trait core::ops::bit::ShrAssign">ShrAssign</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html">i128</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.shr_assign-8" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr_assign-8" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html#tymethod.shr_assign" class="fn">shr_assign</a>(&mut self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html">i128</a>)</h4></section></summary><div class='docblock'>Performs the <code>>>=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html#tymethod.shr_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ShrAssign%3Ci16%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-ShrAssign%3Ci16%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html" title="trait core::ops::bit::ShrAssign">ShrAssign</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.shr_assign-2" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr_assign-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html#tymethod.shr_assign" class="fn">shr_assign</a>(&mut self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a>)</h4></section></summary><div class='docblock'>Performs the <code>>>=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html#tymethod.shr_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ShrAssign%3Ci32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-ShrAssign%3Ci32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html" title="trait core::ops::bit::ShrAssign">ShrAssign</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.shr_assign-4" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr_assign-4" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html#tymethod.shr_assign" class="fn">shr_assign</a>(&mut self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>)</h4></section></summary><div class='docblock'>Performs the <code>>>=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html#tymethod.shr_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ShrAssign%3Ci64%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-ShrAssign%3Ci64%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html" title="trait core::ops::bit::ShrAssign">ShrAssign</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html">i64</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.shr_assign-6" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr_assign-6" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html#tymethod.shr_assign" class="fn">shr_assign</a>(&mut self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html">i64</a>)</h4></section></summary><div class='docblock'>Performs the <code>>>=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html#tymethod.shr_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ShrAssign%3Ci8%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-ShrAssign%3Ci8%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html" title="trait core::ops::bit::ShrAssign">ShrAssign</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.shr_assign" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr_assign" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html#tymethod.shr_assign" class="fn">shr_assign</a>(&mut self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a>)</h4></section></summary><div class='docblock'>Performs the <code>>>=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html#tymethod.shr_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ShrAssign%3Cisize%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-ShrAssign%3Cisize%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html" title="trait core::ops::bit::ShrAssign">ShrAssign</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html">isize</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.shr_assign-10" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr_assign-10" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html#tymethod.shr_assign" class="fn">shr_assign</a>(&mut self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html">isize</a>)</h4></section></summary><div class='docblock'>Performs the <code>>>=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html#tymethod.shr_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ShrAssign%3Cu128%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-ShrAssign%3Cu128%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html" title="trait core::ops::bit::ShrAssign">ShrAssign</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html">u128</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.shr_assign-20" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr_assign-20" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html#tymethod.shr_assign" class="fn">shr_assign</a>(&mut self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html">u128</a>)</h4></section></summary><div class='docblock'>Performs the <code>>>=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html#tymethod.shr_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ShrAssign%3Cu16%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-ShrAssign%3Cu16%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html" title="trait core::ops::bit::ShrAssign">ShrAssign</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html">u16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.shr_assign-14" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr_assign-14" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html#tymethod.shr_assign" class="fn">shr_assign</a>(&mut self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html">u16</a>)</h4></section></summary><div class='docblock'>Performs the <code>>>=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html#tymethod.shr_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ShrAssign%3Cu32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-ShrAssign%3Cu32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html" title="trait core::ops::bit::ShrAssign">ShrAssign</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.shr_assign-16" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr_assign-16" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html#tymethod.shr_assign" class="fn">shr_assign</a>(&mut self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>)</h4></section></summary><div class='docblock'>Performs the <code>>>=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html#tymethod.shr_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ShrAssign%3Cu64%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-ShrAssign%3Cu64%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html" title="trait core::ops::bit::ShrAssign">ShrAssign</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html">u64</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.shr_assign-18" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr_assign-18" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html#tymethod.shr_assign" class="fn">shr_assign</a>(&mut self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html">u64</a>)</h4></section></summary><div class='docblock'>Performs the <code>>>=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html#tymethod.shr_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ShrAssign%3Cu8%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-ShrAssign%3Cu8%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html" title="trait core::ops::bit::ShrAssign">ShrAssign</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.shr_assign-12" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr_assign-12" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html#tymethod.shr_assign" class="fn">shr_assign</a>(&mut self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>)</h4></section></summary><div class='docblock'>Performs the <code>>>=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html#tymethod.shr_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ShrAssign%3Cusize%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-ShrAssign%3Cusize%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html" title="trait core::ops::bit::ShrAssign">ShrAssign</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.shr_assign-22" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.shr_assign-22" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html#tymethod.shr_assign" class="fn">shr_assign</a>(&mut self, rhs: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a>)</h4></section></summary><div class='docblock'>Performs the <code>>>=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/bit/trait.ShrAssign.html#tymethod.shr_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Sub%3C%26FixedI32%3CFrac%3E%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Sub%3C%26FixedI32%3CFrac%3E%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><&<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-9" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-9" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.sub-3" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.sub-3" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html#tymethod.sub" class="fn">sub</a>(self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>-</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html#tymethod.sub">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Sub%3C%26FixedI32%3CFrac%3E%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Sub%3C%26FixedI32%3CFrac%3E%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><&<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-8" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-8" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.sub-2" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.sub-2" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html#tymethod.sub" class="fn">sub</a>(self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>-</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html#tymethod.sub">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Sub%3CFixedI32%3CFrac%3E%3E-for-%26FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Sub%3CFixedI32%3CFrac%3E%3E-for-%26FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-7" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-7" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.sub-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.sub-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html#tymethod.sub" class="fn">sub</a>(self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>-</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html#tymethod.sub">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Sub-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Sub-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html" title="trait core::ops::arith::Sub">Sub</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output-6" class="associatedtype trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#associatedtype.Output-6" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html#associatedtype.Output" class="associatedtype">Output</a> = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>The resulting type after applying the <code>-</code> operator.</div></details><details class="toggle method-toggle" open><summary><section id="method.sub" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.sub" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html#tymethod.sub" class="fn">sub</a>(self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Performs the <code>-</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.Sub.html#tymethod.sub">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SubAssign%3C%26FixedI32%3CFrac%3E%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-SubAssign%3C%26FixedI32%3CFrac%3E%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.SubAssign.html" title="trait core::ops::arith::SubAssign">SubAssign</a><&<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.sub_assign-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.sub_assign-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.SubAssign.html#tymethod.sub_assign" class="fn">sub_assign</a>(&mut self, rhs: &<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>)</h4></section></summary><div class='docblock'>Performs the <code>-=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.SubAssign.html#tymethod.sub_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SubAssign-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-SubAssign-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.SubAssign.html" title="trait core::ops::arith::SubAssign">SubAssign</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.sub_assign" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.sub_assign" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.SubAssign.html#tymethod.sub_assign" class="fn">sub_assign</a>(&mut self, rhs: <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>)</h4></section></summary><div class='docblock'>Performs the <code>-=</code> operation. <a href="https://doc.rust-lang.org/1.84.0/core/ops/arith/trait.SubAssign.html#tymethod.sub_assign">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Sum%3C%26FixedI32%3CFrac%3E%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Sum%3C%26FixedI32%3CFrac%3E%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<'a, Frac: 'a> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/iter/traits/accum/trait.Sum.html" title="trait core::iter::traits::accum::Sum">Sum</a><&'a <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.sum-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.sum-1" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/iter/traits/accum/trait.Sum.html#tymethod.sum" class="fn">sum</a><I>(iter: I) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac><div class="where">where
|
||
I: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = &'a <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>>,</div></h4></section></summary><div class='docblock'>Takes an iterator and generates <code>Self</code> from the elements by “summing up”
|
||
the items.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Sum-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#impl-Sum-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/iter/traits/accum/trait.Sum.html" title="trait core::iter::traits::accum::Sum">Sum</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.sum" class="method trait-impl"><a class="src rightside" href="../src/fixed/arith.rs.html#588">Source</a><a href="#method.sum" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/iter/traits/accum/trait.Sum.html#tymethod.sum" class="fn">sum</a><I>(iter: I) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac><div class="where">where
|
||
I: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a><Item = <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>>,</div></h4></section></summary><div class='docblock'>Takes an iterator and generates <code>Self</code> from the elements by “summing up”
|
||
the items.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-ToFixed-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#impl-ToFixed-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.ToFixed.html" title="trait fixed::traits::ToFixed">ToFixed</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.to_fixed" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.to_fixed" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.ToFixed.html#tymethod.to_fixed" class="fn">to_fixed</a><F: <a class="trait" href="traits/trait.Fixed.html" title="trait fixed::traits::Fixed">Fixed</a>>(self) -> F</h4></section></summary><div class="docblock"><p>Converts a fixed-point number.</p>
|
||
<p>Any extra fractional bits are discarded, which rounds towards −∞.</p>
|
||
<h5 id="panics-102"><a class="doc-anchor" href="#panics-102">§</a>Panics</h5>
|
||
<p>When debug assertions are enabled, panics if the value
|
||
does not fit. When debug assertions are not enabled,
|
||
the wrapped value can be returned, but it is not
|
||
considered a breaking change if in the future it
|
||
panics; if wrapping is required use
|
||
<a href="traits/trait.ToFixed.html#tymethod.wrapping_to_fixed" title="method fixed::traits::ToFixed::wrapping_to_fixed"><code>wrapping_to_fixed</code></a> instead.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.checked_to_fixed" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.checked_to_fixed" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.ToFixed.html#tymethod.checked_to_fixed" class="fn">checked_to_fixed</a><F: <a class="trait" href="traits/trait.Fixed.html" title="trait fixed::traits::Fixed">Fixed</a>>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><F></h4></section></summary><div class="docblock"><p>Converts a fixed-point number if it fits, otherwise returns <a href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html#variant.None" title="variant core::option::Option::None"><code>None</code></a>.</p>
|
||
<p>Any extra fractional bits are discarded, which rounds towards −∞.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.saturating_to_fixed" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.saturating_to_fixed" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.ToFixed.html#tymethod.saturating_to_fixed" class="fn">saturating_to_fixed</a><F: <a class="trait" href="traits/trait.Fixed.html" title="trait fixed::traits::Fixed">Fixed</a>>(self) -> F</h4></section></summary><div class="docblock"><p>Converts a fixed-point number, saturating if it does not fit.</p>
|
||
<p>Any extra fractional bits are discarded, which rounds towards −∞.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.wrapping_to_fixed" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.wrapping_to_fixed" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.ToFixed.html#tymethod.wrapping_to_fixed" class="fn">wrapping_to_fixed</a><F: <a class="trait" href="traits/trait.Fixed.html" title="trait fixed::traits::Fixed">Fixed</a>>(self) -> F</h4></section></summary><div class="docblock"><p>Converts a fixed-point number, wrapping if it does not fit.</p>
|
||
<p>Any extra fractional bits are discarded, which rounds towards −∞.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.overflowing_to_fixed" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.overflowing_to_fixed" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.ToFixed.html#tymethod.overflowing_to_fixed" class="fn">overflowing_to_fixed</a><F: <a class="trait" href="traits/trait.Fixed.html" title="trait fixed::traits::Fixed">Fixed</a>>(self) -> (F, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class="docblock"><p>Converts a fixed-point number.</p>
|
||
<p>Returns a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.tuple.html" title="primitive tuple">tuple</a> of the value and a <a href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html" title="primitive bool"><code>bool</code></a>
|
||
indicating whether an overflow has occurred. On
|
||
overflow, the wrapped value is returned.</p>
|
||
<p>Any extra fractional bits are discarded, which rounds towards −∞.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.unwrapped_to_fixed" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#method.unwrapped_to_fixed" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.ToFixed.html#method.unwrapped_to_fixed" class="fn">unwrapped_to_fixed</a><F: <a class="trait" href="traits/trait.Fixed.html" title="trait fixed::traits::Fixed">Fixed</a>>(self) -> F</h4></section></summary><div class="docblock"><p>Converts a fixed-point number, panicking if it does not fit.</p>
|
||
<p>Any extra fractional bits are discarded, which rounds towards −∞.</p>
|
||
<h5 id="panics-103"><a class="doc-anchor" href="#panics-103">§</a>Panics</h5>
|
||
<p>Panics if the value does not fit, even when debug
|
||
assertions are not enabled.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-TransparentWrapper%3CFixedI32%3CFrac%3E%3E-for-Unwrapped%3CFixedI32%3CFrac%3E%3E" class="impl"><a class="src rightside" href="../src/fixed/impl_bytemuck.rs.html#59">Source</a><a href="#impl-TransparentWrapper%3CFixedI32%3CFrac%3E%3E-for-Unwrapped%3CFixedI32%3CFrac%3E%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../bytemuck/transparent/trait.TransparentWrapper.html" title="trait bytemuck::transparent::TransparentWrapper">TransparentWrapper</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="struct.Unwrapped.html" title="struct fixed::Unwrapped">Unwrapped</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.wrap-2" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/transparent.rs.html#127-130">Source</a><a href="#method.wrap-2" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/transparent/trait.TransparentWrapper.html#method.wrap" class="fn">wrap</a>(s: Inner) -> Self<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Convert the inner type into the wrapper type.</div></details><details class="toggle method-toggle" open><summary><section id="method.wrap_ref-2" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/transparent.rs.html#142">Source</a><a href="#method.wrap_ref-2" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/transparent/trait.TransparentWrapper.html#method.wrap_ref" class="fn">wrap_ref</a>(s: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Inner</a>) -> &Self</h4></section></summary><div class='docblock'>Convert a reference to the inner type into a reference to the wrapper
|
||
type.</div></details><details class="toggle method-toggle" open><summary><section id="method.wrap_mut-2" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/transparent.rs.html#165">Source</a><a href="#method.wrap_mut-2" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/transparent/trait.TransparentWrapper.html#method.wrap_mut" class="fn">wrap_mut</a>(s: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&mut Inner</a>) -> &mut Self</h4></section></summary><div class='docblock'>Convert a mutable reference to the inner type into a mutable reference to
|
||
the wrapper type.</div></details><details class="toggle method-toggle" open><summary><section id="method.wrap_slice-2" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/transparent.rs.html#186-189">Source</a><a href="#method.wrap_slice-2" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/transparent/trait.TransparentWrapper.html#method.wrap_slice" class="fn">wrap_slice</a>(s: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.slice.html">[Inner]</a>) -> &[Self]<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Convert a slice to the inner type into a slice to the wrapper type.</div></details><details class="toggle method-toggle" open><summary><section id="method.wrap_slice_mut-2" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/transparent.rs.html#201-204">Source</a><a href="#method.wrap_slice_mut-2" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/transparent/trait.TransparentWrapper.html#method.wrap_slice_mut" class="fn">wrap_slice_mut</a>(s: &mut <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.slice.html">[Inner]</a>) -> &mut [Self]<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Convert a mutable slice to the inner type into a mutable slice to the
|
||
wrapper type.</div></details><details class="toggle method-toggle" open><summary><section id="method.peel-2" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/transparent.rs.html#217-220">Source</a><a href="#method.peel-2" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/transparent/trait.TransparentWrapper.html#method.peel" class="fn">peel</a>(s: Self) -> Inner<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Convert the wrapper type into the inner type.</div></details><details class="toggle method-toggle" open><summary><section id="method.peel_ref-2" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/transparent.rs.html#232">Source</a><a href="#method.peel_ref-2" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/transparent/trait.TransparentWrapper.html#method.peel_ref" class="fn">peel_ref</a>(s: &Self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Inner</a></h4></section></summary><div class='docblock'>Convert a reference to the wrapper type into a reference to the inner
|
||
type.</div></details><details class="toggle method-toggle" open><summary><section id="method.peel_mut-2" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/transparent.rs.html#254">Source</a><a href="#method.peel_mut-2" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/transparent/trait.TransparentWrapper.html#method.peel_mut" class="fn">peel_mut</a>(s: &mut Self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&mut Inner</a></h4></section></summary><div class='docblock'>Convert a mutable reference to the wrapper type into a mutable reference
|
||
to the inner type.</div></details><details class="toggle method-toggle" open><summary><section id="method.peel_slice-2" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/transparent.rs.html#275-278">Source</a><a href="#method.peel_slice-2" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/transparent/trait.TransparentWrapper.html#method.peel_slice" class="fn">peel_slice</a>(s: &[Self]) -> &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.slice.html">[Inner]</a><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Convert a slice to the wrapped type into a slice to the inner type.</div></details><details class="toggle method-toggle" open><summary><section id="method.peel_slice_mut-2" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/transparent.rs.html#290-293">Source</a><a href="#method.peel_slice_mut-2" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/transparent/trait.TransparentWrapper.html#method.peel_slice_mut" class="fn">peel_slice_mut</a>(s: &mut [Self]) -> &mut <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.slice.html">[Inner]</a><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Convert a mutable slice to the wrapped type into a mutable slice to the
|
||
inner type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-TransparentWrapper%3CFixedI32%3CFrac%3E%3E-for-Wrapping%3CFixedI32%3CFrac%3E%3E" class="impl"><a class="src rightside" href="../src/fixed/impl_bytemuck.rs.html#59">Source</a><a href="#impl-TransparentWrapper%3CFixedI32%3CFrac%3E%3E-for-Wrapping%3CFixedI32%3CFrac%3E%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../bytemuck/transparent/trait.TransparentWrapper.html" title="trait bytemuck::transparent::TransparentWrapper">TransparentWrapper</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="struct.Wrapping.html" title="struct fixed::Wrapping">Wrapping</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.wrap-1" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/transparent.rs.html#127-130">Source</a><a href="#method.wrap-1" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/transparent/trait.TransparentWrapper.html#method.wrap" class="fn">wrap</a>(s: Inner) -> Self<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Convert the inner type into the wrapper type.</div></details><details class="toggle method-toggle" open><summary><section id="method.wrap_ref-1" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/transparent.rs.html#142">Source</a><a href="#method.wrap_ref-1" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/transparent/trait.TransparentWrapper.html#method.wrap_ref" class="fn">wrap_ref</a>(s: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Inner</a>) -> &Self</h4></section></summary><div class='docblock'>Convert a reference to the inner type into a reference to the wrapper
|
||
type.</div></details><details class="toggle method-toggle" open><summary><section id="method.wrap_mut-1" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/transparent.rs.html#165">Source</a><a href="#method.wrap_mut-1" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/transparent/trait.TransparentWrapper.html#method.wrap_mut" class="fn">wrap_mut</a>(s: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&mut Inner</a>) -> &mut Self</h4></section></summary><div class='docblock'>Convert a mutable reference to the inner type into a mutable reference to
|
||
the wrapper type.</div></details><details class="toggle method-toggle" open><summary><section id="method.wrap_slice-1" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/transparent.rs.html#186-189">Source</a><a href="#method.wrap_slice-1" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/transparent/trait.TransparentWrapper.html#method.wrap_slice" class="fn">wrap_slice</a>(s: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.slice.html">[Inner]</a>) -> &[Self]<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Convert a slice to the inner type into a slice to the wrapper type.</div></details><details class="toggle method-toggle" open><summary><section id="method.wrap_slice_mut-1" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/transparent.rs.html#201-204">Source</a><a href="#method.wrap_slice_mut-1" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/transparent/trait.TransparentWrapper.html#method.wrap_slice_mut" class="fn">wrap_slice_mut</a>(s: &mut <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.slice.html">[Inner]</a>) -> &mut [Self]<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Convert a mutable slice to the inner type into a mutable slice to the
|
||
wrapper type.</div></details><details class="toggle method-toggle" open><summary><section id="method.peel-1" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/transparent.rs.html#217-220">Source</a><a href="#method.peel-1" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/transparent/trait.TransparentWrapper.html#method.peel" class="fn">peel</a>(s: Self) -> Inner<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Convert the wrapper type into the inner type.</div></details><details class="toggle method-toggle" open><summary><section id="method.peel_ref-1" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/transparent.rs.html#232">Source</a><a href="#method.peel_ref-1" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/transparent/trait.TransparentWrapper.html#method.peel_ref" class="fn">peel_ref</a>(s: &Self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Inner</a></h4></section></summary><div class='docblock'>Convert a reference to the wrapper type into a reference to the inner
|
||
type.</div></details><details class="toggle method-toggle" open><summary><section id="method.peel_mut-1" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/transparent.rs.html#254">Source</a><a href="#method.peel_mut-1" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/transparent/trait.TransparentWrapper.html#method.peel_mut" class="fn">peel_mut</a>(s: &mut Self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&mut Inner</a></h4></section></summary><div class='docblock'>Convert a mutable reference to the wrapper type into a mutable reference
|
||
to the inner type.</div></details><details class="toggle method-toggle" open><summary><section id="method.peel_slice-1" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/transparent.rs.html#275-278">Source</a><a href="#method.peel_slice-1" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/transparent/trait.TransparentWrapper.html#method.peel_slice" class="fn">peel_slice</a>(s: &[Self]) -> &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.slice.html">[Inner]</a><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Convert a slice to the wrapped type into a slice to the inner type.</div></details><details class="toggle method-toggle" open><summary><section id="method.peel_slice_mut-1" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/transparent.rs.html#290-293">Source</a><a href="#method.peel_slice_mut-1" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/transparent/trait.TransparentWrapper.html#method.peel_slice_mut" class="fn">peel_slice_mut</a>(s: &mut [Self]) -> &mut <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.slice.html">[Inner]</a><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Convert a mutable slice to the wrapped type into a mutable slice to the
|
||
inner type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-TransparentWrapper%3Ci32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/impl_bytemuck.rs.html#59">Source</a><a href="#impl-TransparentWrapper%3Ci32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="../bytemuck/transparent/trait.TransparentWrapper.html" title="trait bytemuck::transparent::TransparentWrapper">TransparentWrapper</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.wrap" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/transparent.rs.html#127-130">Source</a><a href="#method.wrap" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/transparent/trait.TransparentWrapper.html#method.wrap" class="fn">wrap</a>(s: Inner) -> Self<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Convert the inner type into the wrapper type.</div></details><details class="toggle method-toggle" open><summary><section id="method.wrap_ref" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/transparent.rs.html#142">Source</a><a href="#method.wrap_ref" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/transparent/trait.TransparentWrapper.html#method.wrap_ref" class="fn">wrap_ref</a>(s: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Inner</a>) -> &Self</h4></section></summary><div class='docblock'>Convert a reference to the inner type into a reference to the wrapper
|
||
type.</div></details><details class="toggle method-toggle" open><summary><section id="method.wrap_mut" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/transparent.rs.html#165">Source</a><a href="#method.wrap_mut" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/transparent/trait.TransparentWrapper.html#method.wrap_mut" class="fn">wrap_mut</a>(s: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&mut Inner</a>) -> &mut Self</h4></section></summary><div class='docblock'>Convert a mutable reference to the inner type into a mutable reference to
|
||
the wrapper type.</div></details><details class="toggle method-toggle" open><summary><section id="method.wrap_slice" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/transparent.rs.html#186-189">Source</a><a href="#method.wrap_slice" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/transparent/trait.TransparentWrapper.html#method.wrap_slice" class="fn">wrap_slice</a>(s: &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.slice.html">[Inner]</a>) -> &[Self]<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Convert a slice to the inner type into a slice to the wrapper type.</div></details><details class="toggle method-toggle" open><summary><section id="method.wrap_slice_mut" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/transparent.rs.html#201-204">Source</a><a href="#method.wrap_slice_mut" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/transparent/trait.TransparentWrapper.html#method.wrap_slice_mut" class="fn">wrap_slice_mut</a>(s: &mut <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.slice.html">[Inner]</a>) -> &mut [Self]<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Convert a mutable slice to the inner type into a mutable slice to the
|
||
wrapper type.</div></details><details class="toggle method-toggle" open><summary><section id="method.peel" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/transparent.rs.html#217-220">Source</a><a href="#method.peel" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/transparent/trait.TransparentWrapper.html#method.peel" class="fn">peel</a>(s: Self) -> Inner<div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Convert the wrapper type into the inner type.</div></details><details class="toggle method-toggle" open><summary><section id="method.peel_ref" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/transparent.rs.html#232">Source</a><a href="#method.peel_ref" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/transparent/trait.TransparentWrapper.html#method.peel_ref" class="fn">peel_ref</a>(s: &Self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&Inner</a></h4></section></summary><div class='docblock'>Convert a reference to the wrapper type into a reference to the inner
|
||
type.</div></details><details class="toggle method-toggle" open><summary><section id="method.peel_mut" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/transparent.rs.html#254">Source</a><a href="#method.peel_mut" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/transparent/trait.TransparentWrapper.html#method.peel_mut" class="fn">peel_mut</a>(s: &mut Self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&mut Inner</a></h4></section></summary><div class='docblock'>Convert a mutable reference to the wrapper type into a mutable reference
|
||
to the inner type.</div></details><details class="toggle method-toggle" open><summary><section id="method.peel_slice" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/transparent.rs.html#275-278">Source</a><a href="#method.peel_slice" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/transparent/trait.TransparentWrapper.html#method.peel_slice" class="fn">peel_slice</a>(s: &[Self]) -> &<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.slice.html">[Inner]</a><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Convert a slice to the wrapped type into a slice to the inner type.</div></details><details class="toggle method-toggle" open><summary><section id="method.peel_slice_mut" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/transparent.rs.html#290-293">Source</a><a href="#method.peel_slice_mut" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/transparent/trait.TransparentWrapper.html#method.peel_slice_mut" class="fn">peel_slice_mut</a>(s: &mut [Self]) -> &mut <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.slice.html">[Inner]</a><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Convert a mutable slice to the wrapped type into a mutable slice to the
|
||
inner type.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3CF128%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3CF128%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="struct" href="struct.F128.html" title="struct fixed::F128">F128</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-45" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-45" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="struct" href="struct.F128.html" title="struct fixed::F128">F128</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3CF128Bits%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3CF128Bits%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="struct" href="struct.F128Bits.html" title="struct fixed::F128Bits">F128Bits</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-47" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-47" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="struct" href="struct.F128Bits.html" title="struct fixed::F128Bits">F128Bits</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3CFixedI128%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3CFixedI128%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU128.html" title="trait fixed::types::extra::LeEqU128">LeEqU128</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="struct" href="struct.FixedI128.html" title="struct fixed::FixedI128">FixedI128</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-6" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-6" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="struct" href="struct.FixedI128.html" title="struct fixed::FixedI128">FixedI128</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3CFixedI16%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3CFixedI16%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU16.html" title="trait fixed::types::extra::LeEqU16">LeEqU16</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="struct" href="struct.FixedI16.html" title="struct fixed::FixedI16">FixedI16</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-3" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-3" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="struct" href="struct.FixedI16.html" title="struct fixed::FixedI16">FixedI16</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-F128" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-F128" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="struct.F128.html" title="struct fixed::F128">F128</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-46" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-46" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-F128Bits" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-F128Bits" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="struct.F128Bits.html" title="struct fixed::F128Bits">F128Bits</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-48" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-48" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-bf16" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-bf16" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="../half/bfloat/struct.bf16.html" title="struct half::bfloat::bf16">half_bf16</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-40" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-40" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-bool" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-bool" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-12" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-12" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-f16" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-f16" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="../half/binary16/struct.f16.html" title="struct half::binary16::f16">half_f16</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-38" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-38" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-f32" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-f32" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f32.html">f32</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-42" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-42" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-f64" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-f64" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f64.html">f64</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-44" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-44" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-i128" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-i128" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-22" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-22" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-i16" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-i16" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-16" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-16" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-i32" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-i32" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-18" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-18" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-i64" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-i64" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-20" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-20" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-i8" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-i8" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-14" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-14" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-isize" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-isize" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-24" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-24" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-u128" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-u128" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-34" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-34" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-u16" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-u16" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-28" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-28" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-u32" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-u32" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-30" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-30" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-u64" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-u64" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-32" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-32" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-u8" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-u8" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-26" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-26" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-usize" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3CFixedI32%3CFrac%3E%3E-for-usize" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-36" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-36" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI128%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI128%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU128.html" title="trait fixed::types::extra::LeEqU128">LeEqU128</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedI128.html" title="struct fixed::FixedI128">FixedI128</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-50" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-50" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI16%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI16%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU16.html" title="trait fixed::types::extra::LeEqU16">LeEqU16</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedI16.html" title="struct fixed::FixedI16">FixedI16</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-1" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-4" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-4" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI64%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI64%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU64.html" title="trait fixed::types::extra::LeEqU64">LeEqU64</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedI64.html" title="struct fixed::FixedI64">FixedI64</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-49" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-49" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI8%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI8%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU8.html" title="trait fixed::types::extra::LeEqU8">LeEqU8</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedI8.html" title="struct fixed::FixedI8">FixedI8</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU128%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU128%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU128.html" title="trait fixed::types::extra::LeEqU128">LeEqU128</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedU128.html" title="struct fixed::FixedU128">FixedU128</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-55" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-55" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU16%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU16%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU16.html" title="trait fixed::types::extra::LeEqU16">LeEqU16</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedU16.html" title="struct fixed::FixedU16">FixedU16</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-52" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-52" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedU32.html" title="struct fixed::FixedU32">FixedU32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-53" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-53" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU64%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU64%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU64.html" title="trait fixed::types::extra::LeEqU64">LeEqU64</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedU64.html" title="struct fixed::FixedU64">FixedU64</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-54" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-54" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU8%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU8%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU8.html" title="trait fixed::types::extra::LeEqU8">LeEqU8</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedU8.html" title="struct fixed::FixedU8">FixedU8</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-51" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-51" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3CFixedI64%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3CFixedI64%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU64.html" title="trait fixed::types::extra::LeEqU64">LeEqU64</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="struct" href="struct.FixedI64.html" title="struct fixed::FixedI64">FixedI64</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-5" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-5" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="struct" href="struct.FixedI64.html" title="struct fixed::FixedI64">FixedI64</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3CFixedI8%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3CFixedI8%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU8.html" title="trait fixed::types::extra::LeEqU8">LeEqU8</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="struct" href="struct.FixedI8.html" title="struct fixed::FixedI8">FixedI8</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-2" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-2" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="struct" href="struct.FixedI8.html" title="struct fixed::FixedI8">FixedI8</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3CFixedU128%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3CFixedU128%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU128.html" title="trait fixed::types::extra::LeEqU128">LeEqU128</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="struct" href="struct.FixedU128.html" title="struct fixed::FixedU128">FixedU128</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-11" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-11" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="struct" href="struct.FixedU128.html" title="struct fixed::FixedU128">FixedU128</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3CFixedU16%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3CFixedU16%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU16.html" title="trait fixed::types::extra::LeEqU16">LeEqU16</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="struct" href="struct.FixedU16.html" title="struct fixed::FixedU16">FixedU16</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-8" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-8" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="struct" href="struct.FixedU16.html" title="struct fixed::FixedU16">FixedU16</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3CFixedU32%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3CFixedU32%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="struct" href="struct.FixedU32.html" title="struct fixed::FixedU32">FixedU32</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-9" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-9" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="struct" href="struct.FixedU32.html" title="struct fixed::FixedU32">FixedU32</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3CFixedU64%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3CFixedU64%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU64.html" title="trait fixed::types::extra::LeEqU64">LeEqU64</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="struct" href="struct.FixedU64.html" title="struct fixed::FixedU64">FixedU64</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-10" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-10" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="struct" href="struct.FixedU64.html" title="struct fixed::FixedU64">FixedU64</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3CFixedU8%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3CFixedU8%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU8.html" title="trait fixed::types::extra::LeEqU8">LeEqU8</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="struct" href="struct.FixedU8.html" title="struct fixed::FixedU8">FixedU8</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-7" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-7" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="struct" href="struct.FixedU8.html" title="struct fixed::FixedU8">FixedU8</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3Cbf16%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3Cbf16%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="struct" href="../half/bfloat/struct.bf16.html" title="struct half::bfloat::bf16">bf16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-39" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-39" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="struct" href="../half/bfloat/struct.bf16.html" title="struct half::bfloat::bf16">half_bf16</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3Cf16%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3Cf16%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="struct" href="../half/binary16/struct.f16.html" title="struct half::binary16::f16">f16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-37" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-37" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="struct" href="../half/binary16/struct.f16.html" title="struct half::binary16::f16">half_f16</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3Cf32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3Cf32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f32.html">f32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-41" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-41" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f32.html">f32</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3Cf64%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3Cf64%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f64.html">f64</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-43" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-43" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f64.html">f64</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3Ci128%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3Ci128%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html">i128</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-21" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-21" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html">i128</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3Ci16%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3Ci16%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-15" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-15" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3Ci32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3Ci32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-17" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-17" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3Ci64%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3Ci64%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html">i64</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-19" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-19" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html">i64</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3Ci8%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3Ci8%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-13" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-13" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3Cisize%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3Cisize%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html">isize</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-23" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-23" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html">isize</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3Cu128%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3Cu128%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html">u128</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-33" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-33" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html">u128</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3Cu16%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3Cu16%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html">u16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-27" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-27" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html">u16</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3Cu32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3Cu32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-29" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-29" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3Cu64%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3Cu64%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html">u64</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-31" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-31" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html">u64</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3Cu8%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3Cu8%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-25" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-25" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UnwrappedCast%3Cusize%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-UnwrappedCast%3Cusize%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast-35" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.unwrapped_cast-35" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCast.html#tymethod.unwrapped_cast" class="fn">unwrapped_cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UpperExp-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/display.rs.html#784">Source</a><a href="#impl-UpperExp-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.UpperExp.html" title="trait core::fmt::UpperExp">UpperExp</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt-7" class="method trait-impl"><a class="src rightside" href="../src/fixed/display.rs.html#784">Source</a><a href="#method.fmt-7" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.UpperExp.html#tymethod.fmt" class="fn">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/1.84.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="type" href="https://doc.rust-lang.org/1.84.0/core/fmt/type.Result.html" title="type core::fmt::Result">FmtResult</a></h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.UpperExp.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-UpperHex-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/display.rs.html#784">Source</a><a href="#impl-UpperHex-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.UpperHex.html" title="trait core::fmt::UpperHex">UpperHex</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt-5" class="method trait-impl"><a class="src rightside" href="../src/fixed/display.rs.html#784">Source</a><a href="#method.fmt-5" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.UpperHex.html#tymethod.fmt" class="fn">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/1.84.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="type" href="https://doc.rust-lang.org/1.84.0/core/fmt/type.Result.html" title="type core::fmt::Result">FmtResult</a></h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.UpperHex.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3CF128%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3CF128%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="struct" href="struct.F128.html" title="struct fixed::F128">F128</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-45" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-45" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="struct" href="struct.F128.html" title="struct fixed::F128">F128</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3CF128Bits%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3CF128Bits%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="struct" href="struct.F128Bits.html" title="struct fixed::F128Bits">F128Bits</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-47" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-47" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="struct" href="struct.F128Bits.html" title="struct fixed::F128Bits">F128Bits</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3CFixedI128%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3CFixedI128%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU128.html" title="trait fixed::types::extra::LeEqU128">LeEqU128</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="struct" href="struct.FixedI128.html" title="struct fixed::FixedI128">FixedI128</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-6" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-6" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="struct" href="struct.FixedI128.html" title="struct fixed::FixedI128">FixedI128</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3CFixedI16%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3CFixedI16%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU16.html" title="trait fixed::types::extra::LeEqU16">LeEqU16</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="struct" href="struct.FixedI16.html" title="struct fixed::FixedI16">FixedI16</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-3" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-3" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="struct" href="struct.FixedI16.html" title="struct fixed::FixedI16">FixedI16</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-F128" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-F128" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="struct.F128.html" title="struct fixed::F128">F128</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-46" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-46" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-F128Bits" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-F128Bits" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="struct.F128Bits.html" title="struct fixed::F128Bits">F128Bits</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-48" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-48" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-bf16" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-bf16" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="../half/bfloat/struct.bf16.html" title="struct half::bfloat::bf16">half_bf16</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-40" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-40" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-bool" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-bool" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-12" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-12" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-f16" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-f16" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="struct" href="../half/binary16/struct.f16.html" title="struct half::binary16::f16">half_f16</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-38" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-38" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-f32" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-f32" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f32.html">f32</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-42" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-42" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-f64" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-f64" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f64.html">f64</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-44" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-44" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-i128" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-i128" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-22" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-22" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-i16" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-i16" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-16" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-16" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-i32" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-i32" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-18" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-18" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-i64" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-i64" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-20" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-20" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-i8" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-i8" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-14" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-14" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-isize" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-isize" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-24" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-24" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-u128" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-u128" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-34" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-34" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-u16" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-u16" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-28" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-28" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-u32" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-u32" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-30" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-30" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-u64" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-u64" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-32" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-32" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-u8" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-u8" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-26" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-26" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-usize" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3CFixedI32%3CFrac%3E%3E-for-usize" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac>> 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"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-36" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-36" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI128%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI128%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU128.html" title="trait fixed::types::extra::LeEqU128">LeEqU128</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedI128.html" title="struct fixed::FixedI128">FixedI128</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-50" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-50" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI16%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI16%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU16.html" title="trait fixed::types::extra::LeEqU16">LeEqU16</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedI16.html" title="struct fixed::FixedI16">FixedI16</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-1" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-1" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-4" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-4" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI64%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI64%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU64.html" title="trait fixed::types::extra::LeEqU64">LeEqU64</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedI64.html" title="struct fixed::FixedI64">FixedI64</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-49" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-49" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI8%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedI8%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU8.html" title="trait fixed::types::extra::LeEqU8">LeEqU8</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedI8.html" title="struct fixed::FixedI8">FixedI8</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU128%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU128%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU128.html" title="trait fixed::types::extra::LeEqU128">LeEqU128</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedU128.html" title="struct fixed::FixedU128">FixedU128</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-55" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-55" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU16%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU16%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU16.html" title="trait fixed::types::extra::LeEqU16">LeEqU16</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedU16.html" title="struct fixed::FixedU16">FixedU16</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-52" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-52" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedU32.html" title="struct fixed::FixedU32">FixedU32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-53" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-53" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU64%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU64%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU64.html" title="trait fixed::types::extra::LeEqU64">LeEqU64</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedU64.html" title="struct fixed::FixedU64">FixedU64</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-54" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-54" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU8%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3CFixedI32%3CFracDst%3E%3E-for-FixedU8%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU8.html" title="trait fixed::types::extra::LeEqU8">LeEqU8</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst>> for <a class="struct" href="struct.FixedU8.html" title="struct fixed::FixedU8">FixedU8</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-51" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-51" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3CFixedI64%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3CFixedI64%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU64.html" title="trait fixed::types::extra::LeEqU64">LeEqU64</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="struct" href="struct.FixedI64.html" title="struct fixed::FixedI64">FixedI64</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-5" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-5" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="struct" href="struct.FixedI64.html" title="struct fixed::FixedI64">FixedI64</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3CFixedI8%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3CFixedI8%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU8.html" title="trait fixed::types::extra::LeEqU8">LeEqU8</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="struct" href="struct.FixedI8.html" title="struct fixed::FixedI8">FixedI8</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-2" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-2" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="struct" href="struct.FixedI8.html" title="struct fixed::FixedI8">FixedI8</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3CFixedU128%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3CFixedU128%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU128.html" title="trait fixed::types::extra::LeEqU128">LeEqU128</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="struct" href="struct.FixedU128.html" title="struct fixed::FixedU128">FixedU128</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-11" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-11" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="struct" href="struct.FixedU128.html" title="struct fixed::FixedU128">FixedU128</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3CFixedU16%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3CFixedU16%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU16.html" title="trait fixed::types::extra::LeEqU16">LeEqU16</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="struct" href="struct.FixedU16.html" title="struct fixed::FixedU16">FixedU16</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-8" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-8" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="struct" href="struct.FixedU16.html" title="struct fixed::FixedU16">FixedU16</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3CFixedU32%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3CFixedU32%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="struct" href="struct.FixedU32.html" title="struct fixed::FixedU32">FixedU32</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-9" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-9" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="struct" href="struct.FixedU32.html" title="struct fixed::FixedU32">FixedU32</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3CFixedU64%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3CFixedU64%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU64.html" title="trait fixed::types::extra::LeEqU64">LeEqU64</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="struct" href="struct.FixedU64.html" title="struct fixed::FixedU64">FixedU64</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-10" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-10" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="struct" href="struct.FixedU64.html" title="struct fixed::FixedU64">FixedU64</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3CFixedU8%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3CFixedU8%3CFracDst%3E%3E-for-FixedI32%3CFracSrc%3E" class="anchor">§</a><h3 class="code-header">impl<FracSrc: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>, FracDst: <a class="trait" href="types/extra/trait.LeEqU8.html" title="trait fixed::types::extra::LeEqU8">LeEqU8</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="struct" href="struct.FixedU8.html" title="struct fixed::FixedU8">FixedU8</a><FracDst>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><FracSrc></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-7" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-7" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="struct" href="struct.FixedU8.html" title="struct fixed::FixedU8">FixedU8</a><FracDst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3Cbf16%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3Cbf16%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="struct" href="../half/bfloat/struct.bf16.html" title="struct half::bfloat::bf16">bf16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-39" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-39" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="struct" href="../half/bfloat/struct.bf16.html" title="struct half::bfloat::bf16">half_bf16</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3Cf16%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3Cf16%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="struct" href="../half/binary16/struct.f16.html" title="struct half::binary16::f16">f16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-37" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-37" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="struct" href="../half/binary16/struct.f16.html" title="struct half::binary16::f16">half_f16</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3Cf32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3Cf32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f32.html">f32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-41" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-41" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f32.html">f32</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3Cf64%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3Cf64%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f64.html">f64</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-43" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-43" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.f64.html">f64</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3Ci128%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3Ci128%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html">i128</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-21" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-21" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i128.html">i128</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3Ci16%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3Ci16%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-15" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-15" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i16.html">i16</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3Ci32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3Ci32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-17" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-17" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i32.html">i32</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3Ci64%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3Ci64%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html">i64</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-19" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-19" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i64.html">i64</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3Ci8%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3Ci8%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-13" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-13" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.i8.html">i8</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3Cisize%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3Cisize%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html">isize</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-23" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-23" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.isize.html">isize</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3Cu128%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3Cu128%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html">u128</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-33" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-33" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u128.html">u128</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3Cu16%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3Cu16%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html">u16</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-27" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-27" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u16.html">u16</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3Cu32%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3Cu32%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-29" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-29" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u32.html">u32</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3Cu64%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3Cu64%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html">u64</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-31" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-31" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u64.html">u64</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3Cu8%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3Cu8%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-25" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-25" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-WrappingCast%3Cusize%3E-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#impl-WrappingCast%3Cusize%3E-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a>> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast-35" class="method trait-impl"><a class="src rightside" href="../src/fixed/cast.rs.html#197-200">Source</a><a href="#method.wrapping_cast-35" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCast.html#tymethod.wrapping_cast" class="fn">wrapping_cast</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.usize.html">usize</a></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Zeroable-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/impl_bytemuck.rs.html#59">Source</a><a href="#impl-Zeroable-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="../bytemuck/zeroable/trait.Zeroable.html" title="trait bytemuck::zeroable::Zeroable">Zeroable</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.zeroed" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/zeroable.rs.html#32">Source</a><a href="#method.zeroed" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/zeroable/trait.Zeroable.html#method.zeroed" class="fn">zeroed</a>() -> Self</h4></section></summary><div class='docblock'>Calls <a href="https://doc.rust-lang.org/1.84.0/core/mem/fn.zeroed.html" title="fn core::mem::zeroed"><code>zeroed</code></a>. <a href="../bytemuck/zeroable/trait.Zeroable.html#method.zeroed">Read more</a></div></details></div></details><section id="impl-Copy-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/lib.rs.html#766-783">Source</a><a href="#impl-Copy-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section><section id="impl-Eq-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/cmp_fixed.rs.html#480">Source</a><a href="#impl-Eq-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.Unsigned.html" title="trait fixed::types::extra::Unsigned">Unsigned</a>> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section><section id="impl-FixedOptionalArbitrary-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#impl-FixedOptionalArbitrary-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.FixedOptionalArbitrary.html" title="trait fixed::traits::FixedOptionalArbitrary">FixedOptionalArbitrary</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section><section id="impl-FixedOptionalBorsh-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#impl-FixedOptionalBorsh-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.FixedOptionalBorsh.html" title="trait fixed::traits::FixedOptionalBorsh">FixedOptionalBorsh</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section><section id="impl-FixedOptionalFeatures-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#impl-FixedOptionalFeatures-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.FixedOptionalFeatures.html" title="trait fixed::traits::FixedOptionalFeatures">FixedOptionalFeatures</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section><section id="impl-FixedOptionalNightlyFloat-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#impl-FixedOptionalNightlyFloat-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.FixedOptionalNightlyFloat.html" title="trait fixed::traits::FixedOptionalNightlyFloat">FixedOptionalNightlyFloat</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section><section id="impl-FixedOptionalNum-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#impl-FixedOptionalNum-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.FixedOptionalNum.html" title="trait fixed::traits::FixedOptionalNum">FixedOptionalNum</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section><section id="impl-FixedOptionalSerde-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/traits.rs.html#4570">Source</a><a href="#impl-FixedOptionalSerde-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: <a class="trait" href="types/extra/trait.LeEqU32.html" title="trait fixed::types::extra::LeEqU32">LeEqU32</a>> <a class="trait" href="traits/trait.FixedOptionalSerde.html" title="trait fixed::traits::FixedOptionalSerde">FixedOptionalSerde</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section><section id="impl-Pod-for-FixedI32%3CFrac%3E" class="impl"><a class="src rightside" href="../src/fixed/impl_bytemuck.rs.html#59">Source</a><a href="#impl-Pod-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac: 'static> <a class="trait" href="../bytemuck/pod/trait.Pod.html" title="trait bytemuck::pod::Pod">Pod</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-FixedI32%3CFrac%3E" class="impl"><a href="#impl-Freeze-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac></h3></section><section id="impl-RefUnwindSafe-for-FixedI32%3CFrac%3E" class="impl"><a href="#impl-RefUnwindSafe-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac><div class="where">where
|
||
Frac: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>,</div></h3></section><section id="impl-Send-for-FixedI32%3CFrac%3E" class="impl"><a href="#impl-Send-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac><div class="where">where
|
||
Frac: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</div></h3></section><section id="impl-Sync-for-FixedI32%3CFrac%3E" class="impl"><a href="#impl-Sync-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac><div class="where">where
|
||
Frac: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,</div></h3></section><section id="impl-Unpin-for-FixedI32%3CFrac%3E" class="impl"><a href="#impl-Unpin-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac><div class="where">where
|
||
Frac: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>,</div></h3></section><section id="impl-UnwindSafe-for-FixedI32%3CFrac%3E" class="impl"><a href="#impl-UnwindSafe-for-FixedI32%3CFrac%3E" class="anchor">§</a><h3 class="code-header">impl<Frac> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.FixedI32.html" title="struct fixed::FixedI32">FixedI32</a><Frac><div class="where">where
|
||
Frac: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>,</div></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/any.rs.html#138">Source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where
|
||
T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/any.rs.html#139">Source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/1.84.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.84.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Az-for-T" class="impl"><a class="src rightside" href="../src/az/lib.rs.html#599">Source</a><a href="#impl-Az-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../az/trait.Az.html" title="trait az::Az">Az</a> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.az" class="method trait-impl"><a class="src rightside" href="../src/az/lib.rs.html#602-604">Source</a><a href="#method.az" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.Az.html#tymethod.az" class="fn">az</a><Dst>(self) -> Dst<div class="where">where
|
||
T: <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><Dst>,</div></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/borrow.rs.html#209">Source</a><a href="#impl-Borrow%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><T> for T<div class="where">where
|
||
T: ?<a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/borrow.rs.html#211">Source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.84.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/borrow.rs.html#217">Source</a><a href="#impl-BorrowMut%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T<div class="where">where
|
||
T: ?<a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/borrow.rs.html#218">Source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.84.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-CastFrom%3CSrc%3E-for-Dst" class="impl"><a class="src rightside" href="../src/az/lib.rs.html#330">Source</a><a href="#impl-CastFrom%3CSrc%3E-for-Dst" class="anchor">§</a><h3 class="code-header">impl<Src, Dst> <a class="trait" href="../az/trait.CastFrom.html" title="trait az::CastFrom">CastFrom</a><Src> for Dst<div class="where">where
|
||
Src: <a class="trait" href="../az/trait.Cast.html" title="trait az::Cast">Cast</a><Dst>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cast_from" class="method trait-impl"><a class="src rightside" href="../src/az/lib.rs.html#333">Source</a><a href="#method.cast_from" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CastFrom.html#tymethod.cast_from" class="fn">cast_from</a>(src: Src) -> Dst</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-CheckedAs-for-T" class="impl"><a class="src rightside" href="../src/az/lib.rs.html#672">Source</a><a href="#impl-CheckedAs-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../az/trait.CheckedAs.html" title="trait az::CheckedAs">CheckedAs</a> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.checked_as" class="method trait-impl"><a class="src rightside" href="../src/az/lib.rs.html#675-677">Source</a><a href="#method.checked_as" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedAs.html#tymethod.checked_as" class="fn">checked_as</a><Dst>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Dst><div class="where">where
|
||
T: <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><Dst>,</div></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-CheckedBitPattern-for-T" class="impl"><a class="src rightside" href="../src/bytemuck/checked.rs.html#143">Source</a><a href="#impl-CheckedBitPattern-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../bytemuck/checked/trait.CheckedBitPattern.html" title="trait bytemuck::checked::CheckedBitPattern">CheckedBitPattern</a> for T<div class="where">where
|
||
T: <a class="trait" href="../bytemuck/anybitpattern/trait.AnyBitPattern.html" title="trait bytemuck::anybitpattern::AnyBitPattern">AnyBitPattern</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Bits-1" class="associatedtype trait-impl"><a class="src rightside" href="../src/bytemuck/checked.rs.html#144">Source</a><a href="#associatedtype.Bits-1" class="anchor">§</a><h4 class="code-header">type <a href="../bytemuck/checked/trait.CheckedBitPattern.html#associatedtype.Bits" class="associatedtype">Bits</a> = T</h4></section></summary><div class='docblock'><code>Self</code> <em>must</em> have the same layout as the specified <code>Bits</code> except for
|
||
the possible invalid bit patterns being checked during
|
||
<a href="../bytemuck/checked/trait.CheckedBitPattern.html#tymethod.is_valid_bit_pattern" title="associated function bytemuck::checked::CheckedBitPattern::is_valid_bit_pattern"><code>is_valid_bit_pattern</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.is_valid_bit_pattern" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/checked.rs.html#147">Source</a><a href="#method.is_valid_bit_pattern" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/checked/trait.CheckedBitPattern.html#tymethod.is_valid_bit_pattern" class="fn">is_valid_bit_pattern</a>(_bits: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&T</a>) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>If this function returns true, then it must be valid to reinterpret <code>bits</code>
|
||
as <code>&Self</code>.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-CheckedCastFrom%3CSrc%3E-for-Dst" class="impl"><a class="src rightside" href="../src/az/lib.rs.html#366">Source</a><a href="#impl-CheckedCastFrom%3CSrc%3E-for-Dst" class="anchor">§</a><h3 class="code-header">impl<Src, Dst> <a class="trait" href="../az/trait.CheckedCastFrom.html" title="trait az::CheckedCastFrom">CheckedCastFrom</a><Src> for Dst<div class="where">where
|
||
Src: <a class="trait" href="../az/trait.CheckedCast.html" title="trait az::CheckedCast">CheckedCast</a><Dst>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.checked_cast_from" class="method trait-impl"><a class="src rightside" href="../src/az/lib.rs.html#369">Source</a><a href="#method.checked_cast_from" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.CheckedCastFrom.html#tymethod.checked_cast_from" class="fn">checked_cast_from</a>(src: Src) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Dst></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-CloneToUninit-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/clone.rs.html#273">Source</a><a href="#impl-CloneToUninit-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/clone/trait.CloneToUninit.html" title="trait core::clone::CloneToUninit">CloneToUninit</a> for T<div class="where">where
|
||
T: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone_to_uninit" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/clone.rs.html#275">Source</a><a href="#method.clone_to_uninit" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="https://doc.rust-lang.org/1.84.0/core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit" class="fn">clone_to_uninit</a>(&self, dst: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.pointer.html">*mut </a><a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.u8.html">u8</a>)</h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>clone_to_uninit</code>)</span></div></span><div class='docblock'>Performs copy-assignment from <code>self</code> to <code>dst</code>. <a href="https://doc.rust-lang.org/1.84.0/core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-From%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#765">Source</a><a href="#impl-From%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from-18" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#768">Source</a><a href="#method.from-18" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -> T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Into%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#748-750">Source</a><a href="#impl-Into%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><U> for T<div class="where">where
|
||
U: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#758">Source</a><a href="#method.into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.Into.html#tymethod.into" class="fn">into</a>(self) -> U</h4></section></summary><div class="docblock"><p>Calls <code>U::from(self)</code>.</p>
|
||
<p>That is, this conversion is whatever the implementation of
|
||
<code><a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for U</code> chooses to do.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-LosslessTryInto%3CDst%3E-for-Src" class="impl"><a class="src rightside" href="../src/fixed/traits.rs.html#3660-3667">Source</a><a href="#impl-LosslessTryInto%3CDst%3E-for-Src" class="anchor">§</a><h3 class="code-header">impl<Src, Dst> <a class="trait" href="traits/trait.LosslessTryInto.html" title="trait fixed::traits::LosslessTryInto">LosslessTryInto</a><Dst> for Src<div class="where">where
|
||
Dst: <a class="trait" href="traits/trait.LosslessTryFrom.html" title="trait fixed::traits::LosslessTryFrom">LosslessTryFrom</a><Src>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossless_try_into" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#3664-3666">Source</a><a href="#method.lossless_try_into" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LosslessTryInto.html#tymethod.lossless_try_into" class="fn">lossless_try_into</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Dst></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-LossyInto%3CDst%3E-for-Src" class="impl"><a class="src rightside" href="../src/fixed/traits.rs.html#3711-3718">Source</a><a href="#impl-LossyInto%3CDst%3E-for-Src" class="anchor">§</a><h3 class="code-header">impl<Src, Dst> <a class="trait" href="traits/trait.LossyInto.html" title="trait fixed::traits::LossyInto">LossyInto</a><Dst> for Src<div class="where">where
|
||
Dst: <a class="trait" href="traits/trait.LossyFrom.html" title="trait fixed::traits::LossyFrom">LossyFrom</a><Src>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.lossy_into" class="method trait-impl"><a class="src rightside" href="../src/fixed/traits.rs.html#3715-3717">Source</a><a href="#method.lossy_into" class="anchor">§</a><h4 class="code-header">fn <a href="traits/trait.LossyInto.html#tymethod.lossy_into" class="fn">lossy_into</a>(self) -> Dst</h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-OverflowingAs-for-T" class="impl"><a class="src rightside" href="../src/az/lib.rs.html#897">Source</a><a href="#impl-OverflowingAs-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../az/trait.OverflowingAs.html" title="trait az::OverflowingAs">OverflowingAs</a> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.overflowing_as" class="method trait-impl"><a class="src rightside" href="../src/az/lib.rs.html#900-902">Source</a><a href="#method.overflowing_as" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingAs.html#tymethod.overflowing_as" class="fn">overflowing_as</a><Dst>(self) -> (Dst, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)<div class="where">where
|
||
T: <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><Dst>,</div></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-OverflowingCastFrom%3CSrc%3E-for-Dst" class="impl"><a class="src rightside" href="../src/az/lib.rs.html#474">Source</a><a href="#impl-OverflowingCastFrom%3CSrc%3E-for-Dst" class="anchor">§</a><h3 class="code-header">impl<Src, Dst> <a class="trait" href="../az/trait.OverflowingCastFrom.html" title="trait az::OverflowingCastFrom">OverflowingCastFrom</a><Src> for Dst<div class="where">where
|
||
Src: <a class="trait" href="../az/trait.OverflowingCast.html" title="trait az::OverflowingCast">OverflowingCast</a><Dst>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.overflowing_cast_from" class="method trait-impl"><a class="src rightside" href="../src/az/lib.rs.html#477">Source</a><a href="#method.overflowing_cast_from" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.OverflowingCastFrom.html#tymethod.overflowing_cast_from" class="fn">overflowing_cast_from</a>(src: Src) -> (Dst, <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.bool.html">bool</a>)</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Same-for-T" class="impl"><a class="src rightside" href="../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="../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-152" class="associatedtype trait-impl"><a class="src rightside" href="../src/typenum/type_operators.rs.html#35">Source</a><a href="#associatedtype.Output-152" class="anchor">§</a><h4 class="code-header">type <a href="../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-SaturatingAs-for-T" class="impl"><a class="src rightside" href="../src/az/lib.rs.html#745">Source</a><a href="#impl-SaturatingAs-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../az/trait.SaturatingAs.html" title="trait az::SaturatingAs">SaturatingAs</a> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.saturating_as" class="method trait-impl"><a class="src rightside" href="../src/az/lib.rs.html#748-750">Source</a><a href="#method.saturating_as" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingAs.html#tymethod.saturating_as" class="fn">saturating_as</a><Dst>(self) -> Dst<div class="where">where
|
||
T: <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><Dst>,</div></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-SaturatingCastFrom%3CSrc%3E-for-Dst" class="impl"><a class="src rightside" href="../src/az/lib.rs.html#402">Source</a><a href="#impl-SaturatingCastFrom%3CSrc%3E-for-Dst" class="anchor">§</a><h3 class="code-header">impl<Src, Dst> <a class="trait" href="../az/trait.SaturatingCastFrom.html" title="trait az::SaturatingCastFrom">SaturatingCastFrom</a><Src> for Dst<div class="where">where
|
||
Src: <a class="trait" href="../az/trait.SaturatingCast.html" title="trait az::SaturatingCast">SaturatingCast</a><Dst>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.saturating_cast_from" class="method trait-impl"><a class="src rightside" href="../src/az/lib.rs.html#405">Source</a><a href="#method.saturating_cast_from" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.SaturatingCastFrom.html#tymethod.saturating_cast_from" class="fn">saturating_cast_from</a>(src: Src) -> Dst</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ToOwned-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/alloc/borrow.rs.html#82-84">Source</a><a href="#impl-ToOwned-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.84.0/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T<div class="where">where
|
||
T: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Owned" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/alloc/borrow.rs.html#86">Source</a><a href="#associatedtype.Owned" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/alloc/borrow/trait.ToOwned.html#associatedtype.Owned" class="associatedtype">Owned</a> = T</h4></section></summary><div class='docblock'>The resulting type after obtaining ownership.</div></details><details class="toggle method-toggle" open><summary><section id="method.to_owned" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/alloc/borrow.rs.html#87">Source</a><a href="#method.to_owned" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/alloc/borrow/trait.ToOwned.html#tymethod.to_owned" class="fn">to_owned</a>(&self) -> T</h4></section></summary><div class='docblock'>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/1.84.0/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/alloc/borrow.rs.html#91">Source</a><a href="#method.clone_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/alloc/borrow/trait.ToOwned.html#method.clone_into" class="fn">clone_into</a>(&self, target: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/core/primitive.reference.html">&mut T</a>)</h4></section></summary><div class='docblock'>Uses borrowed data to replace owned data, usually by cloning. <a href="https://doc.rust-lang.org/1.84.0/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ToString-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/alloc/string.rs.html#2677">Source</a><a href="#impl-ToString-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/1.84.0/alloc/string/trait.ToString.html" title="trait alloc::string::ToString">ToString</a> for T<div class="where">where
|
||
T: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</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>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.to_string" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/alloc/string.rs.html#2683">Source</a><a href="#method.to_string" class="anchor">§</a><h4 class="code-header">default fn <a href="https://doc.rust-lang.org/1.84.0/alloc/string/trait.ToString.html#tymethod.to_string" class="fn">to_string</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></h4></section></summary><div class='docblock'>Converts the given value to a <code>String</code>. <a href="https://doc.rust-lang.org/1.84.0/alloc/string/trait.ToString.html#tymethod.to_string">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TransparentWrapperAlloc%3CI%3E-for-T" class="impl"><a class="src rightside" href="../src/bytemuck/allocation.rs.html#772-773">Source</a><a href="#impl-TransparentWrapperAlloc%3CI%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<I, T> <a class="trait" href="../bytemuck/allocation/trait.TransparentWrapperAlloc.html" title="trait bytemuck::allocation::TransparentWrapperAlloc">TransparentWrapperAlloc</a><I> for T<div class="where">where
|
||
T: <a class="trait" href="../bytemuck/transparent/trait.TransparentWrapper.html" title="trait bytemuck::transparent::TransparentWrapper">TransparentWrapper</a><I> + ?<a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,
|
||
I: ?<a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.wrap_vec" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/allocation.rs.html#566-569">Source</a><a href="#method.wrap_vec" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/allocation/trait.TransparentWrapperAlloc.html#method.wrap_vec" class="fn">wrap_vec</a>(s: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><Inner>) -> <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><Self><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Convert a vec of the inner type into a vec of the wrapper type.</div></details><details class="toggle method-toggle" open><summary><section id="method.wrap_box" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/allocation.rs.html#589">Source</a><a href="#method.wrap_box" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/allocation/trait.TransparentWrapperAlloc.html#method.wrap_box" class="fn">wrap_box</a>(s: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><Inner>) -> <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><Self></h4></section></summary><div class='docblock'>Convert a box to the inner type into a box to the wrapper
|
||
type.</div></details><details class="toggle method-toggle" open><summary><section id="method.wrap_rc" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/allocation.rs.html#617">Source</a><a href="#method.wrap_rc" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/allocation/trait.TransparentWrapperAlloc.html#method.wrap_rc" class="fn">wrap_rc</a>(s: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/rc/struct.Rc.html" title="struct alloc::rc::Rc">Rc</a><Inner>) -> <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/rc/struct.Rc.html" title="struct alloc::rc::Rc">Rc</a><Self></h4></section></summary><div class='docblock'>Convert an <a href="https://doc.rust-lang.org/1.84.0/alloc/rc/struct.Rc.html" title="struct alloc::rc::Rc"><code>Rc</code></a> to the inner type into an <code>Rc</code> to the wrapper type.</div></details><details class="toggle method-toggle" open><summary><section id="method.wrap_arc" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/allocation.rs.html#644">Source</a><a href="#method.wrap_arc" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/allocation/trait.TransparentWrapperAlloc.html#method.wrap_arc" class="fn">wrap_arc</a>(s: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a><Inner>) -> <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a><Self></h4></section></summary><div class='docblock'>Convert an <a href="https://doc.rust-lang.org/1.84.0/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc"><code>Arc</code></a> to the inner type into an <code>Arc</code> to the wrapper type.</div></details><details class="toggle method-toggle" open><summary><section id="method.peel_vec" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/allocation.rs.html#669-672">Source</a><a href="#method.peel_vec" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/allocation/trait.TransparentWrapperAlloc.html#method.peel_vec" class="fn">peel_vec</a>(s: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><Self>) -> <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><Inner><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Convert a vec of the wrapper type into a vec of the inner type.</div></details><details class="toggle method-toggle" open><summary><section id="method.peel_box" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/allocation.rs.html#692">Source</a><a href="#method.peel_box" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/allocation/trait.TransparentWrapperAlloc.html#method.peel_box" class="fn">peel_box</a>(s: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><Self>) -> <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><Inner></h4></section></summary><div class='docblock'>Convert a box to the wrapper type into a box to the inner
|
||
type.</div></details><details class="toggle method-toggle" open><summary><section id="method.peel_rc" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/allocation.rs.html#720">Source</a><a href="#method.peel_rc" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/allocation/trait.TransparentWrapperAlloc.html#method.peel_rc" class="fn">peel_rc</a>(s: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/rc/struct.Rc.html" title="struct alloc::rc::Rc">Rc</a><Self>) -> <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/rc/struct.Rc.html" title="struct alloc::rc::Rc">Rc</a><Inner></h4></section></summary><div class='docblock'>Convert an <a href="https://doc.rust-lang.org/1.84.0/alloc/rc/struct.Rc.html" title="struct alloc::rc::Rc"><code>Rc</code></a> to the wrapper type into an <code>Rc</code> to the inner type.</div></details><details class="toggle method-toggle" open><summary><section id="method.peel_arc" class="method trait-impl"><a class="src rightside" href="../src/bytemuck/allocation.rs.html#747">Source</a><a href="#method.peel_arc" class="anchor">§</a><h4 class="code-header">fn <a href="../bytemuck/allocation/trait.TransparentWrapperAlloc.html#method.peel_arc" class="fn">peel_arc</a>(s: <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a><Self>) -> <a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a><Inner></h4></section></summary><div class='docblock'>Convert an <a href="https://doc.rust-lang.org/1.84.0/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc"><code>Arc</code></a> to the wrapper type into an <code>Arc</code> to the inner type.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryFrom%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#805-807">Source</a><a href="#impl-TryFrom%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U> for T<div class="where">where
|
||
U: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#809">Source</a><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#812">Source</a><a href="#method.try_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html#tymethod.try_from" class="fn">try_from</a>(value: U) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, <T as <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryInto%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#790-792">Source</a><a href="#impl-TryInto%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a><U> for T<div class="where">where
|
||
U: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#794">Source</a><a href="#associatedtype.Error" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryInto.html#associatedtype.Error" class="associatedtype">Error</a> = <U as <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.84.0/src/core/convert/mod.rs.html#797">Source</a><a href="#method.try_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryInto.html#tymethod.try_into" class="fn">try_into</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a><U, <U as <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/1.84.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-UnwrappedAs-for-T" class="impl"><a class="src rightside" href="../src/az/lib.rs.html#977">Source</a><a href="#impl-UnwrappedAs-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../az/trait.UnwrappedAs.html" title="trait az::UnwrappedAs">UnwrappedAs</a> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_as" class="method trait-impl"><a class="src rightside" href="../src/az/lib.rs.html#979-981">Source</a><a href="#method.unwrapped_as" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedAs.html#tymethod.unwrapped_as" class="fn">unwrapped_as</a><Dst>(self) -> Dst<div class="where">where
|
||
T: <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><Dst>,</div></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-UnwrappedCastFrom%3CSrc%3E-for-Dst" class="impl"><a class="src rightside" href="../src/az/lib.rs.html#526">Source</a><a href="#impl-UnwrappedCastFrom%3CSrc%3E-for-Dst" class="anchor">§</a><h3 class="code-header">impl<Src, Dst> <a class="trait" href="../az/trait.UnwrappedCastFrom.html" title="trait az::UnwrappedCastFrom">UnwrappedCastFrom</a><Src> for Dst<div class="where">where
|
||
Src: <a class="trait" href="../az/trait.UnwrappedCast.html" title="trait az::UnwrappedCast">UnwrappedCast</a><Dst>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.unwrapped_cast_from" class="method trait-impl"><a class="src rightside" href="../src/az/lib.rs.html#529">Source</a><a href="#method.unwrapped_cast_from" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.UnwrappedCastFrom.html#tymethod.unwrapped_cast_from" class="fn">unwrapped_cast_from</a>(src: Src) -> Dst</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-WrappingAs-for-T" class="impl"><a class="src rightside" href="../src/az/lib.rs.html#818">Source</a><a href="#impl-WrappingAs-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../az/trait.WrappingAs.html" title="trait az::WrappingAs">WrappingAs</a> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.wrapping_as" class="method trait-impl"><a class="src rightside" href="../src/az/lib.rs.html#821-823">Source</a><a href="#method.wrapping_as" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingAs.html#tymethod.wrapping_as" class="fn">wrapping_as</a><Dst>(self) -> Dst<div class="where">where
|
||
T: <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><Dst>,</div></h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-WrappingCastFrom%3CSrc%3E-for-Dst" class="impl"><a class="src rightside" href="../src/az/lib.rs.html#438">Source</a><a href="#impl-WrappingCastFrom%3CSrc%3E-for-Dst" class="anchor">§</a><h3 class="code-header">impl<Src, Dst> <a class="trait" href="../az/trait.WrappingCastFrom.html" title="trait az::WrappingCastFrom">WrappingCastFrom</a><Src> for Dst<div class="where">where
|
||
Src: <a class="trait" href="../az/trait.WrappingCast.html" title="trait az::WrappingCast">WrappingCast</a><Dst>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.wrapping_cast_from" class="method trait-impl"><a class="src rightside" href="../src/az/lib.rs.html#441">Source</a><a href="#method.wrapping_cast_from" class="anchor">§</a><h4 class="code-header">fn <a href="../az/trait.WrappingCastFrom.html#tymethod.wrapping_cast_from" class="fn">wrapping_cast_from</a>(src: Src) -> Dst</h4></section></summary><div class='docblock'>Casts the value.</div></details></div></details><section id="impl-AnyBitPattern-for-T" class="impl"><a class="src rightside" href="../src/bytemuck/anybitpattern.rs.html#56">Source</a><a href="#impl-AnyBitPattern-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../bytemuck/anybitpattern/trait.AnyBitPattern.html" title="trait bytemuck::anybitpattern::AnyBitPattern">AnyBitPattern</a> for T<div class="where">where
|
||
T: <a class="trait" href="../bytemuck/pod/trait.Pod.html" title="trait bytemuck::pod::Pod">Pod</a>,</div></h3></section><section id="impl-NoUninit-for-T" class="impl"><a class="src rightside" href="../src/bytemuck/no_uninit.rs.html#63">Source</a><a href="#impl-NoUninit-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../bytemuck/no_uninit/trait.NoUninit.html" title="trait bytemuck::no_uninit::NoUninit">NoUninit</a> for T<div class="where">where
|
||
T: <a class="trait" href="../bytemuck/pod/trait.Pod.html" title="trait bytemuck::pod::Pod">Pod</a>,</div></h3></section></div></section></div></main></body></html> |