[−][src]Struct winproc::SystemInfo
Information about the current system.
Fields
processor_architecture: ProcessorArchitecture
The processor architecture of the installed operating system.
page_size: u32
The page size and the granularity of page protection and commitment. This is the page size used by the VirtualAlloc function.
minimum_application_address: *mut c_void
A pointer to the lowest memory address accessible to applications and dynamic-link libraries (DLLs).
maximum_application_address: *mut c_void
A pointer to the highest memory address accessible to applications and DLLs.
active_processor_mask: usize
A mask representing the set of processors configured into the system. Bit 0 is processor 0; bit 31 is processor 31.
processor_count: u32
The number of logical processors in the current group.
allocation_granularity: u32
The granularity for the starting address at which virtual memory can be allocated.
processor_level: u16
The architecture-dependent processor level. It should be used only for display purposes.
If processor_architecture
is Intel
, processor_level
is defined by the CPU vendor.
If processor_architecture
is IA64
, processor_level
is set to 1
.
processor_revision: u16
The architecture-dependent processor revision.
Processor | Value |
---|---|
Intel Pentium, Cyrix, or NextGen 586 | The high byte is the model and the low byte is the stepping. For example, if the value is xxyy, the model number and stepping can be displayed as follows: Model xx, Stepping yy |
Intel 80386 or 80486 | A value of the form xxyz. If xx is equal to 0xFF, y - 0xA is the model number, and z is the stepping identifier. If xx is not equal to 0xFF, xx + 'A' is the stepping letter and yz is the minor stepping. |
Trait Implementations
impl Sync for SystemInfo
[src]
impl Send for SystemInfo
[src]
impl Eq for SystemInfo
[src]
impl PartialEq<SystemInfo> for SystemInfo
[src]
fn eq(&self, other: &SystemInfo) -> bool
[src]
fn ne(&self, other: &SystemInfo) -> bool
[src]
impl Copy for SystemInfo
[src]
impl From<SYSTEM_INFO> for SystemInfo
[src]
fn from(system_info: SYSTEM_INFO) -> SystemInfo
[src]
impl Clone for SystemInfo
[src]
fn clone(&self) -> SystemInfo
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Hash for SystemInfo
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Debug for SystemInfo
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,