pub trait HostCpuid {
// Required method
fn cpuid(&self, leaf: u32, subleaf: u32) -> [u32; 4];
}Expand description
A host CPUID reader, so tests can supply a host.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl HostCpuid for NativeCpuid
Available on x86-64 only.