#[repr(C)]pub struct NSTDPlatform {
pub ptr_size: usize,
pub endian: NSTDCPUEndian,
pub arch: NSTDCPUArch,
pub os: NSTDOperatingSystem,
}Expand description
Represents a computing platform.
Fields§
§ptr_size: usizeThe size (in bytes) of a pointer.
endian: NSTDCPUEndianThe CPU endianness.
arch: NSTDCPUArchThe CPU architecture.
os: NSTDOperatingSystemThe operating system.
Trait Implementations§
Source§impl Clone for NSTDPlatform
impl Clone for NSTDPlatform
Source§fn clone(&self) -> NSTDPlatform
fn clone(&self) -> NSTDPlatform
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NSTDPlatform
impl Debug for NSTDPlatform
Source§impl Hash for NSTDPlatform
impl Hash for NSTDPlatform
impl Copy for NSTDPlatform
Auto Trait Implementations§
impl Freeze for NSTDPlatform
impl RefUnwindSafe for NSTDPlatform
impl Send for NSTDPlatform
impl Sync for NSTDPlatform
impl Unpin for NSTDPlatform
impl UnsafeUnpin for NSTDPlatform
impl UnwindSafe for NSTDPlatform
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