Struct platform_info::WinApiSystemInfo
source · pub struct WinApiSystemInfo(/* private fields */);
Expand description
Contains information about the current computer system.
Wraps SYSTEM_INFO.
Implementations§
source§impl WinApiSystemInfo
impl WinApiSystemInfo
sourcepub fn wProcessorArchitecture(&self) -> WORD
pub fn wProcessorArchitecture(&self) -> WORD
Returns wProcessorArchitecture
extracted from the SYSTEM_INFO
structure.
Refer to SYSTEM_INFO
for more information.
Trait Implementations§
source§impl Clone for WinApiSystemInfo
impl Clone for WinApiSystemInfo
source§fn clone(&self) -> WinApiSystemInfo
fn clone(&self) -> WinApiSystemInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for WinApiSystemInfo
impl Debug for WinApiSystemInfo
source§impl PartialEq for WinApiSystemInfo
impl PartialEq for WinApiSystemInfo
impl Copy for WinApiSystemInfo
impl Eq for WinApiSystemInfo
Auto Trait Implementations§
impl Freeze for WinApiSystemInfo
impl RefUnwindSafe for WinApiSystemInfo
impl !Send for WinApiSystemInfo
impl !Sync for WinApiSystemInfo
impl Unpin for WinApiSystemInfo
impl UnwindSafe for WinApiSystemInfo
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more