blob: be57ccf41b90c336f1346ffffb68eba757846112 [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="Extended Processor and Processor Feature Identifiers (LEAF=0x8000_0001)"><meta name="keywords" content="rust, rustlang, rust-lang, ExtendedProcessorFeatureIdentifiers"><title>ExtendedProcessorFeatureIdentifiers 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="#">ExtendedProcessorFeatureIdentifiers</a></h2><div class="sidebar-elems"><section><h3><a href="#implementations">Methods</a></h3><ul class="block"><li><a href="#method.brand_id">brand_id</a></li><li><a href="#method.extended_signature">extended_signature</a></li><li><a href="#method.has_1gib_pages">has_1gib_pages</a></li><li><a href="#method.has_3dnow">has_3dnow</a></li><li><a href="#method.has_64bit_mode">has_64bit_mode</a></li><li><a href="#method.has_addr_mask_extension">has_addr_mask_extension</a></li><li><a href="#method.has_alt_mov_cr8">has_alt_mov_cr8</a></li><li><a href="#method.has_amd_3dnow_extensions">has_amd_3dnow_extensions</a></li><li><a href="#method.has_cmp_legacy">has_cmp_legacy</a></li><li><a href="#method.has_data_access_bkpt_extension">has_data_access_bkpt_extension</a></li><li><a href="#method.has_execute_disable">has_execute_disable</a></li><li><a href="#method.has_ext_apic_space">has_ext_apic_space</a></li><li><a href="#method.has_fast_fxsave_fxstor">has_fast_fxsave_fxstor</a></li><li><a href="#method.has_fma4">has_fma4</a></li><li><a href="#method.has_ibs">has_ibs</a></li><li><a href="#method.has_lahf_sahf">has_lahf_sahf</a></li><li><a href="#method.has_lwp">has_lwp</a></li><li><a href="#method.has_lzcnt">has_lzcnt</a></li><li><a href="#method.has_misaligned_sse_mode">has_misaligned_sse_mode</a></li><li><a href="#method.has_mmx_extensions">has_mmx_extensions</a></li><li><a href="#method.has_monitorx_mwaitx">has_monitorx_mwaitx</a></li><li><a href="#method.has_nb_perf_cntr_extensions">has_nb_perf_cntr_extensions</a></li><li><a href="#method.has_osvw">has_osvw</a></li><li><a href="#method.has_perf_cntr_extensions">has_perf_cntr_extensions</a></li><li><a href="#method.has_perf_cntr_llc_extensions">has_perf_cntr_llc_extensions</a></li><li><a href="#method.has_perf_tsc">has_perf_tsc</a></li><li><a href="#method.has_prefetchw">has_prefetchw</a></li><li><a href="#method.has_rdtscp">has_rdtscp</a></li><li><a href="#method.has_skinit">has_skinit</a></li><li><a href="#method.has_sse4a">has_sse4a</a></li><li><a href="#method.has_svm">has_svm</a></li><li><a href="#method.has_syscall_sysret">has_syscall_sysret</a></li><li><a href="#method.has_tbm">has_tbm</a></li><li><a href="#method.has_topology_extensions">has_topology_extensions</a></li><li><a href="#method.has_wdt">has_wdt</a></li><li><a href="#method.has_xop">has_xop</a></li><li><a href="#method.pkg_type">pkg_type</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block"><li><a href="#impl-Debug-for-ExtendedProcessorFeatureIdentifiers">Debug</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block"><li><a href="#impl-RefUnwindSafe-for-ExtendedProcessorFeatureIdentifiers">RefUnwindSafe</a></li><li><a href="#impl-Send-for-ExtendedProcessorFeatureIdentifiers">Send</a></li><li><a href="#impl-Sync-for-ExtendedProcessorFeatureIdentifiers">Sync</a></li><li><a href="#impl-Unpin-for-ExtendedProcessorFeatureIdentifiers">Unpin</a></li><li><a href="#impl-UnwindSafe-for-ExtendedProcessorFeatureIdentifiers">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block"><li><a href="#impl-Any-for-ExtendedProcessorFeatureIdentifiers">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-ExtendedProcessorFeatureIdentifiers">Borrow&lt;T&gt;</a></li><li><a href="#impl-BorrowMut%3CT%3E-for-ExtendedProcessorFeatureIdentifiers">BorrowMut&lt;T&gt;</a></li><li><a href="#impl-From%3CT%3E-for-ExtendedProcessorFeatureIdentifiers">From&lt;T&gt;</a></li><li><a href="#impl-Into%3CU%3E-for-ExtendedProcessorFeatureIdentifiers">Into&lt;U&gt;</a></li><li><a href="#impl-TryFrom%3CU%3E-for-ExtendedProcessorFeatureIdentifiers">TryFrom&lt;U&gt;</a></li><li><a href="#impl-TryInto%3CU%3E-for-ExtendedProcessorFeatureIdentifiers">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="#">ExtendedProcessorFeatureIdentifiers</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/extended.rs.html#14-20">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 ExtendedProcessorFeatureIdentifiers { /* private fields */ }</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Extended Processor and Processor Feature Identifiers (LEAF=0x8000_0001)</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-ExtendedProcessorFeatureIdentifiers" class="impl has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/extended.rs.html#22-370">source</a><a href="#impl-ExtendedProcessorFeatureIdentifiers" class="anchor"></a><h3 class="code-header">impl <a class="struct" href="struct.ExtendedProcessorFeatureIdentifiers.html" title="struct raw_cpuid::ExtendedProcessorFeatureIdentifiers">ExtendedProcessorFeatureIdentifiers</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.extended_signature" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/extended.rs.html#45-47">source</a><h4 class="code-header">pub fn <a href="#method.extended_signature" class="fnname">extended_signature</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/core/primitive.u32.html">u32</a></h4></section></summary><div class="docblock"><p>Extended Processor Signature.</p>
<h5 id="amd"><a href="#amd">AMD</a></h5>
<p>The value returned is the same as the value returned in EAX for LEAF=0x0000_0001
(use <code>CpuId.get_feature_info</code> instead)</p>
<h5 id="intel"><a href="#intel">Intel</a></h5>
<p>Vague mention of “Extended Processor Signature”, not clear what it’s supposed to
represent.</p>
<h5 id="platforms-1"><a href="#platforms-1">Platforms</a></h5>
<p>✅ AMD ✅ Intel</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.pkg_type" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/extended.rs.html#56-58">source</a><h4 class="code-header">pub fn <a href="#method.pkg_type" class="fnname">pkg_type</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/core/primitive.u32.html">u32</a></h4></section></summary><div class="docblock"><p>Returns package type on AMD.</p>
<p>Package type. If <code>(Family[7:0] &gt;= 10h)</code>, this field is valid. If
<code>(Family[7:0]&lt;10h)</code>, this field is reserved</p>
<h5 id="platforms-2"><a href="#platforms-2">Platforms</a></h5>
<p>✅ AMD ❌ Intel (reserved)</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.brand_id" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/extended.rs.html#67-69">source</a><h4 class="code-header">pub fn <a href="#method.brand_id" class="fnname">brand_id</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/core/primitive.u32.html">u32</a></h4></section></summary><div class="docblock"><p>Returns brand ID on AMD.</p>
<p>This field, in conjunction with CPUID <code>LEAF=0x0000_0001_EBX[8BitBrandId]</code>, and used
by firmware to generate the processor name string.</p>
<h5 id="platforms-3"><a href="#platforms-3">Platforms</a></h5>
<p>✅ AMD ❌ Intel (reserved)</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_lahf_sahf" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/extended.rs.html#75-77">source</a><h4 class="code-header">pub fn <a href="#method.has_lahf_sahf" class="fnname">has_lahf_sahf</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>Is LAHF/SAHF available in 64-bit mode?</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_cmp_legacy" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/extended.rs.html#83-85">source</a><h4 class="code-header">pub fn <a href="#method.has_cmp_legacy" class="fnname">has_cmp_legacy</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>Check support legacy cmp.</p>
<h5 id="platform"><a href="#platform">Platform</a></h5>
<p>✅ AMD ❌ Intel (will return false)</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_svm" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/extended.rs.html#91-93">source</a><h4 class="code-header">pub fn <a href="#method.has_svm" class="fnname">has_svm</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>Secure virtual machine supported.</p>
<h5 id="platform-1"><a href="#platform-1">Platform</a></h5>
<p>✅ AMD ❌ Intel (will return false)</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_ext_apic_space" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/extended.rs.html#102-104">source</a><h4 class="code-header">pub fn <a href="#method.has_ext_apic_space" class="fnname">has_ext_apic_space</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>Extended APIC space.</p>
<p>This bit indicates the presence of extended APIC register space starting at offset
400h from the “APIC Base Address Register,” as specified in the BKDG.</p>
<h5 id="platform-2"><a href="#platform-2">Platform</a></h5>
<p>✅ AMD ❌ Intel (will return false)</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_alt_mov_cr8" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/extended.rs.html#110-112">source</a><h4 class="code-header">pub fn <a href="#method.has_alt_mov_cr8" class="fnname">has_alt_mov_cr8</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>LOCK MOV CR0 means MOV CR8. See “MOV(CRn)” in APM3.</p>
<h5 id="platform-3"><a href="#platform-3">Platform</a></h5>
<p>✅ AMD ❌ Intel (will return false)</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_lzcnt" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/extended.rs.html#122-124">source</a><h4 class="code-header">pub fn <a href="#method.has_lzcnt" class="fnname">has_lzcnt</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>Is LZCNT available?</p>
<h5 id="amd-1"><a href="#amd-1">AMD</a></h5>
<p>It’s called ABM (Advanced bit manipulation) on AMD and also adds support for
some other instructions.</p>
<h5 id="platforms-5"><a href="#platforms-5">Platforms</a></h5>
<p>✅ AMD ✅ Intel</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_sse4a" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/extended.rs.html#132-134">source</a><h4 class="code-header">pub fn <a href="#method.has_sse4a" class="fnname">has_sse4a</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>XTRQ, INSERTQ, MOVNTSS, and MOVNTSD instruction support.</p>
<p>See “EXTRQ”, “INSERTQ”,“MOVNTSS”, and “MOVNTSD” in APM4.</p>
<h5 id="platform-4"><a href="#platform-4">Platform</a></h5>
<p>✅ AMD ❌ Intel (will return false)</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_misaligned_sse_mode" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/extended.rs.html#141-143">source</a><h4 class="code-header">pub fn <a href="#method.has_misaligned_sse_mode" class="fnname">has_misaligned_sse_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>Misaligned SSE mode. See “Misaligned Access Support Added for SSE Instructions” in
APM1.</p>
<h5 id="platform-5"><a href="#platform-5">Platform</a></h5>
<p>✅ AMD ❌ Intel (will return false)</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_prefetchw" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/extended.rs.html#152-154">source</a><h4 class="code-header">pub fn <a href="#method.has_prefetchw" class="fnname">has_prefetchw</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>Is PREFETCHW available?</p>
<h5 id="amd-2"><a href="#amd-2">AMD</a></h5>
<p>PREFETCH and PREFETCHW instruction support.</p>
<h5 id="platforms-6"><a href="#platforms-6">Platforms</a></h5>
<p>✅ AMD ✅ Intel</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_osvw" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/extended.rs.html#160-162">source</a><h4 class="code-header">pub fn <a href="#method.has_osvw" class="fnname">has_osvw</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>Indicates OS-visible workaround support</p>
<h5 id="platform-6"><a href="#platform-6">Platform</a></h5>
<p>✅ AMD ❌ Intel (will return false)</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_ibs" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/extended.rs.html#168-170">source</a><h4 class="code-header">pub fn <a href="#method.has_ibs" class="fnname">has_ibs</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>Instruction based sampling.</p>
<h5 id="platform-7"><a href="#platform-7">Platform</a></h5>
<p>✅ AMD ❌ Intel (will return false)</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_xop" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/extended.rs.html#176-178">source</a><h4 class="code-header">pub fn <a href="#method.has_xop" class="fnname">has_xop</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>Extended operation support.</p>
<h5 id="platform-8"><a href="#platform-8">Platform</a></h5>
<p>✅ AMD ❌ Intel (will return false)</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_skinit" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/extended.rs.html#187-189">source</a><h4 class="code-header">pub fn <a href="#method.has_skinit" class="fnname">has_skinit</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>SKINIT and STGI are supported.</p>
<p>Indicates support for SKINIT and STGI, independent of the value of
<code>MSRC000_0080[SVME]</code>.</p>
<h5 id="platform-9"><a href="#platform-9">Platform</a></h5>
<p>✅ AMD ❌ Intel (will return false)</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_wdt" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/extended.rs.html#197-199">source</a><h4 class="code-header">pub fn <a href="#method.has_wdt" class="fnname">has_wdt</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>Watchdog timer support.</p>
<p>Indicates support for MSRC001_0074.</p>
<h5 id="platform-10"><a href="#platform-10">Platform</a></h5>
<p>✅ AMD ❌ Intel (will return false)</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_lwp" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/extended.rs.html#205-207">source</a><h4 class="code-header">pub fn <a href="#method.has_lwp" class="fnname">has_lwp</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>Lightweight profiling support</p>
<h5 id="platform-11"><a href="#platform-11">Platform</a></h5>
<p>✅ AMD ❌ Intel (will return false)</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_fma4" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/extended.rs.html#213-215">source</a><h4 class="code-header">pub fn <a href="#method.has_fma4" class="fnname">has_fma4</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>Four-operand FMA instruction support.</p>
<h5 id="platform-12"><a href="#platform-12">Platform</a></h5>
<p>✅ AMD ❌ Intel (will return false)</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_tbm" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/extended.rs.html#221-223">source</a><h4 class="code-header">pub fn <a href="#method.has_tbm" class="fnname">has_tbm</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>Trailing bit manipulation instruction support.</p>
<h5 id="platform-13"><a href="#platform-13">Platform</a></h5>
<p>✅ AMD ❌ Intel (will return false)</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_topology_extensions" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/extended.rs.html#231-233">source</a><h4 class="code-header">pub fn <a href="#method.has_topology_extensions" class="fnname">has_topology_extensions</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>Topology extensions support.</p>
<p>Indicates support for CPUID <code>Fn8000_001D_EAX_x[N:0]-CPUID Fn8000_001E_EDX</code>.</p>
<h5 id="platform-14"><a href="#platform-14">Platform</a></h5>
<p>✅ AMD ❌ Intel (will return false)</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_perf_cntr_extensions" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/extended.rs.html#241-243">source</a><h4 class="code-header">pub fn <a href="#method.has_perf_cntr_extensions" class="fnname">has_perf_cntr_extensions</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>Processor performance counter extensions support.</p>
<p>Indicates support for <code>MSRC001_020[A,8,6,4,2,0]</code> and <code>MSRC001_020[B,9,7,5,3,1]</code>.</p>
<h5 id="platform-15"><a href="#platform-15">Platform</a></h5>
<p>✅ AMD ❌ Intel (will return false)</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_nb_perf_cntr_extensions" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/extended.rs.html#251-253">source</a><h4 class="code-header">pub fn <a href="#method.has_nb_perf_cntr_extensions" class="fnname">has_nb_perf_cntr_extensions</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>NB performance counter extensions support.</p>
<p>Indicates support for <code>MSRC001_024[6,4,2,0]</code> and <code>MSRC001_024[7,5,3,1]</code>.</p>
<h5 id="platform-16"><a href="#platform-16">Platform</a></h5>
<p>✅ AMD ❌ Intel (will return false)</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_data_access_bkpt_extension" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/extended.rs.html#261-263">source</a><h4 class="code-header">pub fn <a href="#method.has_data_access_bkpt_extension" class="fnname">has_data_access_bkpt_extension</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>Data access breakpoint extension.</p>
<p>Indicates support for <code>MSRC001_1027</code> and <code>MSRC001_101[B:9]</code>.</p>
<h5 id="platform-17"><a href="#platform-17">Platform</a></h5>
<p>✅ AMD ❌ Intel (will return false)</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_perf_tsc" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/extended.rs.html#271-273">source</a><h4 class="code-header">pub fn <a href="#method.has_perf_tsc" class="fnname">has_perf_tsc</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>Performance time-stamp counter.</p>
<p>Indicates support for <code>MSRC001_0280</code> <code>[Performance Time Stamp Counter]</code>.</p>
<h5 id="platform-18"><a href="#platform-18">Platform</a></h5>
<p>✅ AMD ❌ Intel (will return false)</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_perf_cntr_llc_extensions" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/extended.rs.html#279-281">source</a><h4 class="code-header">pub fn <a href="#method.has_perf_cntr_llc_extensions" class="fnname">has_perf_cntr_llc_extensions</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>Support for L3 performance counter extension.</p>
<h5 id="platform-19"><a href="#platform-19">Platform</a></h5>
<p>✅ AMD ❌ Intel (will return false)</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_monitorx_mwaitx" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/extended.rs.html#287-289">source</a><h4 class="code-header">pub fn <a href="#method.has_monitorx_mwaitx" class="fnname">has_monitorx_mwaitx</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>Support for MWAITX and MONITORX instructions.</p>
<h5 id="platform-20"><a href="#platform-20">Platform</a></h5>
<p>✅ AMD ❌ Intel (will return false)</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_addr_mask_extension" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/extended.rs.html#295-297">source</a><h4 class="code-header">pub fn <a href="#method.has_addr_mask_extension" class="fnname">has_addr_mask_extension</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>Breakpoint Addressing masking extended to bit 31.</p>
<h5 id="platform-21"><a href="#platform-21">Platform</a></h5>
<p>✅ AMD ❌ Intel (will return false)</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_syscall_sysret" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/extended.rs.html#303-305">source</a><h4 class="code-header">pub fn <a href="#method.has_syscall_sysret" class="fnname">has_syscall_sysret</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>Are fast system calls available.</p>
<h5 id="platforms-7"><a href="#platforms-7">Platforms</a></h5>
<p>✅ AMD ✅ Intel</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_execute_disable" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/extended.rs.html#311-313">source</a><h4 class="code-header">pub fn <a href="#method.has_execute_disable" class="fnname">has_execute_disable</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>Is there support for execute disable bit.</p>
<h5 id="platforms-8"><a href="#platforms-8">Platforms</a></h5>
<p>✅ AMD ✅ Intel</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_mmx_extensions" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/extended.rs.html#319-321">source</a><h4 class="code-header">pub fn <a href="#method.has_mmx_extensions" class="fnname">has_mmx_extensions</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>AMD extensions to MMX instructions.</p>
<h5 id="platform-22"><a href="#platform-22">Platform</a></h5>
<p>✅ AMD ❌ Intel (will return false)</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_fast_fxsave_fxstor" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/extended.rs.html#327-329">source</a><h4 class="code-header">pub fn <a href="#method.has_fast_fxsave_fxstor" class="fnname">has_fast_fxsave_fxstor</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>FXSAVE and FXRSTOR instruction optimizations.</p>
<h5 id="platform-23"><a href="#platform-23">Platform</a></h5>
<p>✅ AMD ❌ Intel (will return false)</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_1gib_pages" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/extended.rs.html#335-337">source</a><h4 class="code-header">pub fn <a href="#method.has_1gib_pages" class="fnname">has_1gib_pages</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>Is there support for 1GiB pages.</p>
<h5 id="platforms-9"><a href="#platforms-9">Platforms</a></h5>
<p>✅ AMD ✅ Intel</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_rdtscp" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/extended.rs.html#343-345">source</a><h4 class="code-header">pub fn <a href="#method.has_rdtscp" class="fnname">has_rdtscp</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>Check support for rdtscp instruction.</p>
<h5 id="platforms-10"><a href="#platforms-10">Platforms</a></h5>
<p>✅ AMD ✅ Intel</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_64bit_mode" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/extended.rs.html#351-353">source</a><h4 class="code-header">pub fn <a href="#method.has_64bit_mode" class="fnname">has_64bit_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>Check support for 64-bit mode.</p>
<h5 id="platforms-11"><a href="#platforms-11">Platforms</a></h5>
<p>✅ AMD ✅ Intel</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_amd_3dnow_extensions" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/extended.rs.html#359-361">source</a><h4 class="code-header">pub fn <a href="#method.has_amd_3dnow_extensions" class="fnname">has_amd_3dnow_extensions</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>3DNow AMD extensions.</p>
<h5 id="platform-24"><a href="#platform-24">Platform</a></h5>
<p>✅ AMD ❌ Intel (will return false)</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.has_3dnow" class="method has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/extended.rs.html#367-369">source</a><h4 class="code-header">pub fn <a href="#method.has_3dnow" class="fnname">has_3dnow</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>3DNow extensions.</p>
<h5 id="platform-25"><a href="#platform-25">Platform</a></h5>
<p>✅ AMD ❌ Intel (will return false)</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-ExtendedProcessorFeatureIdentifiers" class="impl has-srclink"><a class="srclink rightside" href="../src/raw_cpuid/extended.rs.html#372-385">source</a><a href="#impl-Debug-for-ExtendedProcessorFeatureIdentifiers" 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.ExtendedProcessorFeatureIdentifiers.html" title="struct raw_cpuid::ExtendedProcessorFeatureIdentifiers">ExtendedProcessorFeatureIdentifiers</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/extended.rs.html#373-384">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-ExtendedProcessorFeatureIdentifiers" class="impl has-srclink"><a href="#impl-RefUnwindSafe-for-ExtendedProcessorFeatureIdentifiers" 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.ExtendedProcessorFeatureIdentifiers.html" title="struct raw_cpuid::ExtendedProcessorFeatureIdentifiers">ExtendedProcessorFeatureIdentifiers</a></h3></section><section id="impl-Send-for-ExtendedProcessorFeatureIdentifiers" class="impl has-srclink"><a href="#impl-Send-for-ExtendedProcessorFeatureIdentifiers" 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.ExtendedProcessorFeatureIdentifiers.html" title="struct raw_cpuid::ExtendedProcessorFeatureIdentifiers">ExtendedProcessorFeatureIdentifiers</a></h3></section><section id="impl-Sync-for-ExtendedProcessorFeatureIdentifiers" class="impl has-srclink"><a href="#impl-Sync-for-ExtendedProcessorFeatureIdentifiers" 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.ExtendedProcessorFeatureIdentifiers.html" title="struct raw_cpuid::ExtendedProcessorFeatureIdentifiers">ExtendedProcessorFeatureIdentifiers</a></h3></section><section id="impl-Unpin-for-ExtendedProcessorFeatureIdentifiers" class="impl has-srclink"><a href="#impl-Unpin-for-ExtendedProcessorFeatureIdentifiers" 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.ExtendedProcessorFeatureIdentifiers.html" title="struct raw_cpuid::ExtendedProcessorFeatureIdentifiers">ExtendedProcessorFeatureIdentifiers</a></h3></section><section id="impl-UnwindSafe-for-ExtendedProcessorFeatureIdentifiers" class="impl has-srclink"><a href="#impl-UnwindSafe-for-ExtendedProcessorFeatureIdentifiers" 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.ExtendedProcessorFeatureIdentifiers.html" title="struct raw_cpuid::ExtendedProcessorFeatureIdentifiers">ExtendedProcessorFeatureIdentifiers</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-ExtendedProcessorFeatureIdentifiers" 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-ExtendedProcessorFeatureIdentifiers" 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-ExtendedProcessorFeatureIdentifiers" 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-ExtendedProcessorFeatureIdentifiers" 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-ExtendedProcessorFeatureIdentifiers" 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-ExtendedProcessorFeatureIdentifiers" 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-ExtendedProcessorFeatureIdentifiers" 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-ExtendedProcessorFeatureIdentifiers" 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-ExtendedProcessorFeatureIdentifiers" 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-ExtendedProcessorFeatureIdentifiers" 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-ExtendedProcessorFeatureIdentifiers" 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-ExtendedProcessorFeatureIdentifiers" 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-ExtendedProcessorFeatureIdentifiers" 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-ExtendedProcessorFeatureIdentifiers" 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>