blob: 1d34fb49a15eb6984581a4388b940485caf531a6 [file] [log] [blame]
<!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="Query information about thermal and power management features of the CPU (LEAF=0x06)."><meta name="keywords" content="rust, rustlang, rust-lang, ThermalPowerInfo"><title>ThermalPowerInfo in raw_cpuid - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" href="../normalize.css"><link rel="stylesheet" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" href="../ayu.css" disabled><link rel="stylesheet" href="../dark.css" disabled><link rel="stylesheet" href="../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../storage.js"></script><script defer src="sidebar-items.js"></script><script defer src="../main.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../favicon.svg"></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">&#9776;</button><a class="sidebar-logo" href="../raw_cpuid/index.html"><div class="logo-container"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></div></a><h2></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="../raw_cpuid/index.html"><div class="logo-container"><img class="rust-logo" src="../rust-logo.svg" alt="logo"></div></a><h2 class="location"><a href="#">ThermalPowerInfo</a></h2><div class="sidebar-elems"><section><h3><a href="#implementations">Methods</a></h3><ul class="block"><li><a href="#method.dts_irq_threshold">dts_irq_threshold</a></li><li><a href="#method.has_arat">has_arat</a></li><li><a href="#method.has_dts">has_dts</a></li><li><a href="#method.has_ecmd">has_ecmd</a></li><li><a href="#method.has_energy_bias_pref">has_energy_bias_pref</a></li><li><a href="#method.has_flexible_hwp">has_flexible_hwp</a></li><li><a href="#method.has_hdc">has_hdc</a></li><li><a href="#method.has_hw_coord_feedback">has_hw_coord_feedback</a></li><li><a href="#method.has_hwp">has_hwp</a></li><li><a href="#method.has_hwp_activity_window">has_hwp_activity_window</a></li><li><a href="#method.has_hwp_capabilities">has_hwp_capabilities</a></li><li><a href="#method.has_hwp_energy_performance_preference">has_hwp_energy_performance_preference</a></li><li><a href="#method.has_hwp_fast_access_mode">has_hwp_fast_access_mode</a></li><li><a href="#method.has_hwp_notification">has_hwp_notification</a></li><li><a href="#method.has_hwp_package_level_request">has_hwp_package_level_request</a></li><li><a href="#method.has_hwp_peci_override">has_hwp_peci_override</a></li><li><a href="#method.has_ignore_idle_processor_hwp_request">has_ignore_idle_processor_hwp_request</a></li><li><a href="#method.has_pln">has_pln</a></li><li><a href="#method.has_ptm">has_ptm</a></li><li><a href="#method.has_turbo_boost">has_turbo_boost</a></li><li><a href="#method.has_turbo_boost3">has_turbo_boost3</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block"><li><a href="#impl-Debug-for-ThermalPowerInfo">Debug</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block"><li><a href="#impl-RefUnwindSafe-for-ThermalPowerInfo">RefUnwindSafe</a></li><li><a href="#impl-Send-for-ThermalPowerInfo">Send</a></li><li><a href="#impl-Sync-for-ThermalPowerInfo">Sync</a></li><li><a href="#impl-Unpin-for-ThermalPowerInfo">Unpin</a></li><li><a href="#impl-UnwindSafe-for-ThermalPowerInfo">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block"><li><a href="#impl-Any-for-ThermalPowerInfo">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-ThermalPowerInfo">Borrow&lt;T&gt;</a></li><li><a href="#impl-BorrowMut%3CT%3E-for-ThermalPowerInfo">BorrowMut&lt;T&gt;</a></li><li><a href="#impl-From%3CT%3E-for-ThermalPowerInfo">From&lt;T&gt;</a></li><li><a href="#impl-Into%3CU%3E-for-ThermalPowerInfo">Into&lt;U&gt;</a></li><li><a href="#impl-TryFrom%3CU%3E-for-ThermalPowerInfo">TryFrom&lt;U&gt;</a></li><li><a href="#impl-TryInto%3CU%3E-for-ThermalPowerInfo">TryInto&lt;U&gt;</a></li></ul></section><h2><a href="index.html">In raw_cpuid</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../wheel.svg"></a></div></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1 class="fqn">Struct <a href="index.html">raw_cpuid</a>::<wbr><a class="struct" href="#">ThermalPowerInfo</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../clipboard.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="srclink" href="../src/raw_cpuid/lib.rs.html#2946-2951">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="item-decl"><pre class="rust struct"><code>pub struct ThermalPowerInfo { /* private fields */ }</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Query information about thermal and power management features of the CPU (LEAF=0x06).</p>
<h2 id="platforms"><a href="#platforms">Platforms</a></h2>
<p>🟡 AMD ✅ Intel</p>
</div></details><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor"></a></h2><div id="implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-ThermalPowerInfo" class="impl has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/lib.rs.html#2953-3141">source</a><a href="#impl-ThermalPowerInfo" class="anchor"></a><h3 class="code-header">impl <a class="struct" href="struct.ThermalPowerInfo.html" title="struct raw_cpuid::ThermalPowerInfo">ThermalPowerInfo</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.dts_irq_threshold" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/lib.rs.html#2958-2960">source</a><h4 class="code-header">pub fn <a href="#method.dts_irq_threshold" class="fnname">dts_irq_threshold</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/core/primitive.u8.html">u8</a></h4></section></summary><div class="docblock"><p>Number of Interrupt Thresholds in Digital Thermal Sensor</p>
<h5 id="platforms-1"><a href="#platforms-1">Platforms</a></h5>
<p>❌ AMD (undefined/reserved) ✅ Intel</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_dts" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/lib.rs.html#2966-2968">source</a><h4 class="code-header">pub fn <a href="#method.has_dts" class="fnname">has_dts</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Digital temperature sensor is supported if set.</p>
<h5 id="platforms-2"><a href="#platforms-2">Platforms</a></h5>
<p>❌ AMD (reserved) ✅ Intel</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_turbo_boost" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/lib.rs.html#2975-2977">source</a><h4 class="code-header">pub fn <a href="#method.has_turbo_boost" class="fnname">has_turbo_boost</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Intel Turbo Boost Technology Available (see description of
IA32_MISC_ENABLE[38]).</p>
<h5 id="platforms-3"><a href="#platforms-3">Platforms</a></h5>
<p>❌ AMD (reserved) ✅ Intel</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_arat" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/lib.rs.html#2983-2985">source</a><h4 class="code-header">pub fn <a href="#method.has_arat" class="fnname">has_arat</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>ARAT. APIC-Timer-always-running feature is supported if set.</p>
<h5 id="platforms-4"><a href="#platforms-4">Platforms</a></h5>
<p>✅ AMD ✅ Intel</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_pln" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/lib.rs.html#2991-2993">source</a><h4 class="code-header">pub fn <a href="#method.has_pln" class="fnname">has_pln</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>PLN. Power limit notification controls are supported if set.</p>
<h5 id="platforms-5"><a href="#platforms-5">Platforms</a></h5>
<p>❌ AMD (reserved) ✅ Intel</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_ecmd" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/lib.rs.html#2999-3001">source</a><h4 class="code-header">pub fn <a href="#method.has_ecmd" class="fnname">has_ecmd</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>ECMD. Clock modulation duty cycle extension is supported if set.</p>
<h5 id="platforms-6"><a href="#platforms-6">Platforms</a></h5>
<p>❌ AMD (reserved) ✅ Intel</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_ptm" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/lib.rs.html#3007-3009">source</a><h4 class="code-header">pub fn <a href="#method.has_ptm" class="fnname">has_ptm</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>PTM. Package thermal management is supported if set.</p>
<h5 id="platforms-7"><a href="#platforms-7">Platforms</a></h5>
<p>❌ AMD (reserved) ✅ Intel</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_hwp" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/lib.rs.html#3016-3018">source</a><h4 class="code-header">pub fn <a href="#method.has_hwp" class="fnname">has_hwp</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>HWP. HWP base registers (IA32_PM_ENABLE[bit 0], IA32_HWP_CAPABILITIES,
IA32_HWP_REQUEST, IA32_HWP_STATUS) are supported if set.</p>
<h5 id="platforms-8"><a href="#platforms-8">Platforms</a></h5>
<p>❌ AMD (reserved) ✅ Intel</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_hwp_notification" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/lib.rs.html#3024-3026">source</a><h4 class="code-header">pub fn <a href="#method.has_hwp_notification" class="fnname">has_hwp_notification</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>HWP Notification. IA32_HWP_INTERRUPT MSR is supported if set.</p>
<h5 id="platforms-9"><a href="#platforms-9">Platforms</a></h5>
<p>❌ AMD (reserved) ✅ Intel</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_hwp_activity_window" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/lib.rs.html#3032-3035">source</a><h4 class="code-header">pub fn <a href="#method.has_hwp_activity_window" class="fnname">has_hwp_activity_window</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>HWP Activity Window. IA32_HWP_REQUEST[bits 41:32] is supported if set.</p>
<h5 id="platforms-10"><a href="#platforms-10">Platforms</a></h5>
<p>❌ AMD (reserved) ✅ Intel</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_hwp_energy_performance_preference" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/lib.rs.html#3042-3045">source</a><h4 class="code-header">pub fn <a href="#method.has_hwp_energy_performance_preference" class="fnname">has_hwp_energy_performance_preference</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>HWP Energy Performance Preference. IA32_HWP_REQUEST[bits 31:24] is
supported if set.</p>
<h5 id="platforms-11"><a href="#platforms-11">Platforms</a></h5>
<p>❌ AMD (reserved) ✅ Intel</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_hwp_package_level_request" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/lib.rs.html#3051-3054">source</a><h4 class="code-header">pub fn <a href="#method.has_hwp_package_level_request" class="fnname">has_hwp_package_level_request</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>HWP Package Level Request. IA32_HWP_REQUEST_PKG MSR is supported if set.</p>
<h5 id="platforms-12"><a href="#platforms-12">Platforms</a></h5>
<p>❌ AMD (reserved) ✅ Intel</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_hdc" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/lib.rs.html#3061-3063">source</a><h4 class="code-header">pub fn <a href="#method.has_hdc" class="fnname">has_hdc</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>HDC. HDC base registers IA32_PKG_HDC_CTL, IA32_PM_CTL1,
IA32_THREAD_STALL MSRs are supported if set.</p>
<h5 id="platforms-13"><a href="#platforms-13">Platforms</a></h5>
<p>❌ AMD (reserved) ✅ Intel</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_turbo_boost3" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/lib.rs.html#3069-3071">source</a><h4 class="code-header">pub fn <a href="#method.has_turbo_boost3" class="fnname">has_turbo_boost3</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Intel® Turbo Boost Max Technology 3.0 available.</p>
<h5 id="platforms-14"><a href="#platforms-14">Platforms</a></h5>
<p>❌ AMD (reserved) ✅ Intel</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_hwp_capabilities" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/lib.rs.html#3077-3079">source</a><h4 class="code-header">pub fn <a href="#method.has_hwp_capabilities" class="fnname">has_hwp_capabilities</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>HWP Capabilities. Highest Performance change is supported if set.</p>
<h5 id="platforms-15"><a href="#platforms-15">Platforms</a></h5>
<p>❌ AMD (reserved) ✅ Intel</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_hwp_peci_override" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/lib.rs.html#3085-3088">source</a><h4 class="code-header">pub fn <a href="#method.has_hwp_peci_override" class="fnname">has_hwp_peci_override</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>HWP PECI override is supported if set.</p>
<h5 id="platforms-16"><a href="#platforms-16">Platforms</a></h5>
<p>❌ AMD (reserved) ✅ Intel</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_flexible_hwp" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/lib.rs.html#3094-3096">source</a><h4 class="code-header">pub fn <a href="#method.has_flexible_hwp" class="fnname">has_flexible_hwp</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Flexible HWP is supported if set.</p>
<h5 id="platforms-17"><a href="#platforms-17">Platforms</a></h5>
<p>❌ AMD (reserved) ✅ Intel</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_hwp_fast_access_mode" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/lib.rs.html#3102-3105">source</a><h4 class="code-header">pub fn <a href="#method.has_hwp_fast_access_mode" class="fnname">has_hwp_fast_access_mode</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Fast access mode for the IA32_HWP_REQUEST MSR is supported if set.</p>
<h5 id="platforms-18"><a href="#platforms-18">Platforms</a></h5>
<p>❌ AMD (reserved) ✅ Intel</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_ignore_idle_processor_hwp_request" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/lib.rs.html#3111-3114">source</a><h4 class="code-header">pub fn <a href="#method.has_ignore_idle_processor_hwp_request" class="fnname">has_ignore_idle_processor_hwp_request</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Ignoring Idle Logical Processor HWP request is supported if set.</p>
<h5 id="platforms-19"><a href="#platforms-19">Platforms</a></h5>
<p>❌ AMD (reserved) ✅ Intel</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_hw_coord_feedback" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/lib.rs.html#3127-3130">source</a><h4 class="code-header">pub fn <a href="#method.has_hw_coord_feedback" class="fnname">has_hw_coord_feedback</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Hardware Coordination Feedback Capability</p>
<p>Presence of IA32_MPERF and IA32_APERF.</p>
<p>The capability to provide a measure of delivered processor performance
(since last reset of the counters), as a percentage of expected
processor performance at frequency specified in CPUID Brand String Bits
02 - 01</p>
<h5 id="platforms-20"><a href="#platforms-20">Platforms</a></h5>
<p>✅ AMD ✅ Intel</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_energy_bias_pref" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/lib.rs.html#3138-3140">source</a><h4 class="code-header">pub fn <a href="#method.has_energy_bias_pref" class="fnname">has_energy_bias_pref</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/core/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>The processor supports performance-energy bias preference if
CPUID.06H:ECX.SETBH[bit 3] is set and it also implies the presence of a
new architectural MSR called IA32_ENERGY_PERF_BIAS (1B0H)</p>
<h5 id="platforms-21"><a href="#platforms-21">Platforms</a></h5>
<p>❌ AMD (reserved) ✅ Intel</p>
</div></details></div></details></div><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor"></a></h2><div id="trait-implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug-for-ThermalPowerInfo" class="impl has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/lib.rs.html#3143-3177">source</a><a href="#impl-Debug-for-ThermalPowerInfo" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.ThermalPowerInfo.html" title="struct raw_cpuid::ThermalPowerInfo">ThermalPowerInfo</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/lib.rs.html#3144-3176">source</a><a href="#method.fmt" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></div></details></div></details></div><h2 id="synthetic-implementations" class="small-section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor"></a></h2><div id="synthetic-implementations-list"><section id="impl-RefUnwindSafe-for-ThermalPowerInfo" class="impl has-srclink"><a href="#impl-RefUnwindSafe-for-ThermalPowerInfo" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.ThermalPowerInfo.html" title="struct raw_cpuid::ThermalPowerInfo">ThermalPowerInfo</a></h3></section><section id="impl-Send-for-ThermalPowerInfo" class="impl has-srclink"><a href="#impl-Send-for-ThermalPowerInfo" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.ThermalPowerInfo.html" title="struct raw_cpuid::ThermalPowerInfo">ThermalPowerInfo</a></h3></section><section id="impl-Sync-for-ThermalPowerInfo" class="impl has-srclink"><a href="#impl-Sync-for-ThermalPowerInfo" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.ThermalPowerInfo.html" title="struct raw_cpuid::ThermalPowerInfo">ThermalPowerInfo</a></h3></section><section id="impl-Unpin-for-ThermalPowerInfo" class="impl has-srclink"><a href="#impl-Unpin-for-ThermalPowerInfo" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.ThermalPowerInfo.html" title="struct raw_cpuid::ThermalPowerInfo">ThermalPowerInfo</a></h3></section><section id="impl-UnwindSafe-for-ThermalPowerInfo" class="impl has-srclink"><a href="#impl-UnwindSafe-for-ThermalPowerInfo" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.ThermalPowerInfo.html" title="struct raw_cpuid::ThermalPowerInfo">ThermalPowerInfo</a></h3></section></div><h2 id="blanket-implementations" class="small-section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor"></a></h2><div id="blanket-implementations-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Any-for-ThermalPowerInfo" class="impl has-srclink"><a class="srclink rightside" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#200">source</a><a href="#impl-Any-for-ThermalPowerInfo" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl has-srclink"><a class="srclink rightside" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#201">source</a><a href="#method.type_id" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id" class="fnname">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/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/nightly/core/any/trait.Any.html#tymethod.type_id">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-ThermalPowerInfo" class="impl has-srclink"><a class="srclink rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#211">source</a><a href="#impl-Borrow%3CT%3E-for-ThermalPowerInfo" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for const_borrow">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#213">source</a></span><a href="#method.borrow" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow" class="fnname">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/core/primitive.reference.html">&amp;</a>T</h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-ThermalPowerInfo" class="impl has-srclink"><a class="srclink rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#220">source</a><a href="#impl-BorrowMut%3CT%3E-for-ThermalPowerInfo" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for const_borrow">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#221">source</a></span><a href="#method.borrow_mut" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fnname">borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/core/primitive.reference.html">&amp;mut </a>T</h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-From%3CT%3E-for-ThermalPowerInfo" class="impl has-srclink"><a class="srclink rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#733">source</a><a href="#impl-From%3CT%3E-for-ThermalPowerInfo" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for T</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/88674" title="Tracking issue for const_convert">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#736">source</a></span><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(t: T) -&gt; T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Into%3CU%3E-for-ThermalPowerInfo" class="impl has-srclink"><a class="srclink rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#717">source</a><a href="#impl-Into%3CU%3E-for-ThermalPowerInfo" class="anchor"></a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;U&gt; for T<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.into" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/88674" title="Tracking issue for const_convert">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#725">source</a></span><a href="#method.into" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into" class="fnname">into</a>(self) -&gt; 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/nightly/core/convert/trait.From.html" title="From">From</a>&lt;T&gt; for U</code> chooses to do.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-TryFrom%3CU%3E-for-ThermalPowerInfo" class="impl has-srclink"><a class="srclink rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#775">source</a><a href="#impl-TryFrom%3CU%3E-for-ThermalPowerInfo" class="anchor"></a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt; for T<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Error-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-1" class="anchor"></a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.try_from" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/88674" title="Tracking issue for const_convert">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#781">source</a></span><a href="#method.try_from" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from" class="fnname">try_from</a>(value: U) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;T, &lt;T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-TryInto%3CU%3E-for-ThermalPowerInfo" class="impl has-srclink"><a class="srclink rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#760">source</a><a href="#impl-TryInto%3CU%3E-for-ThermalPowerInfo" class="anchor"></a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a>&lt;U&gt; for T<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Error" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error" class="anchor"></a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error" class="associatedtype">Error</a> = &lt;U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.try_into" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/88674" title="Tracking issue for const_convert">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#766">source</a></span><a href="#method.try_into" class="anchor"></a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#tymethod.try_into" class="fnname">try_into</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;U, &lt;U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details></div></section></div></main><div id="rustdoc-vars" data-root-path="../" data-current-crate="raw_cpuid" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.66.0-nightly (5c8bff74b 2022-10-21)" ></div></body></html>