#[repr(C)]
#[non_exhaustive]
pub enum NSTDOperatingSystem {
Show 21 variants
NSTD_OPERATING_SYSTEM_UNKNOWN,
NSTD_OPERATING_SYSTEM_ANDROID,
NSTD_OPERATING_SYSTEM_CUDA,
NSTD_OPERATING_SYSTEM_DRAGONFLY,
NSTD_OPERATING_SYSTEM_EMSCRIPTEN,
NSTD_OPERATING_SYSTEM_FREE_BSD,
NSTD_OPERATING_SYSTEM_FUCHSIA,
NSTD_OPERATING_SYSTEM_HAIKU,
NSTD_OPERATING_SYSTEM_HERMIT,
NSTD_OPERATING_SYSTEM_ILLUMOS,
NSTD_OPERATING_SYSTEM_IOS,
NSTD_OPERATING_SYSTEM_LINUX,
NSTD_OPERATING_SYSTEM_MACOS,
NSTD_OPERATING_SYSTEM_NET_BSD,
NSTD_OPERATING_SYSTEM_OPEN_BSD,
NSTD_OPERATING_SYSTEM_REDOX,
NSTD_OPERATING_SYSTEM_SOLARIS,
NSTD_OPERATING_SYSTEM_TVOS,
NSTD_OPERATING_SYSTEM_WASI,
NSTD_OPERATING_SYSTEM_WINDOWS,
NSTD_OPERATING_SYSTEM_VXWORKS,
}Expand description
Represents an operating system.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
NSTD_OPERATING_SYSTEM_UNKNOWN
An unknown platform.
NSTD_OPERATING_SYSTEM_ANDROID
The Android platform.
NSTD_OPERATING_SYSTEM_CUDA
The CUDA platform.
NSTD_OPERATING_SYSTEM_DRAGONFLY
The Dragonfly platform.
NSTD_OPERATING_SYSTEM_EMSCRIPTEN
The EMSCRIPTEN platform.
NSTD_OPERATING_SYSTEM_FREE_BSD
The FreeBSD platform.
NSTD_OPERATING_SYSTEM_FUCHSIA
The Fuchsia platform.
NSTD_OPERATING_SYSTEM_HAIKU
The Haiku platform.
NSTD_OPERATING_SYSTEM_HERMIT
The Hermit platform.
NSTD_OPERATING_SYSTEM_ILLUMOS
The Illumos platform.
NSTD_OPERATING_SYSTEM_IOS
The IOS platform.
NSTD_OPERATING_SYSTEM_LINUX
The Linux platform.
NSTD_OPERATING_SYSTEM_MACOS
The macOS platform.
NSTD_OPERATING_SYSTEM_NET_BSD
The NetBSD platform.
NSTD_OPERATING_SYSTEM_OPEN_BSD
The OpenBSD platform.
NSTD_OPERATING_SYSTEM_REDOX
The Redox platform.
NSTD_OPERATING_SYSTEM_SOLARIS
The Solaris platform.
NSTD_OPERATING_SYSTEM_TVOS
The tvOS platform.
NSTD_OPERATING_SYSTEM_WASI
The WASI platform.
NSTD_OPERATING_SYSTEM_WINDOWS
The Windows platform.
NSTD_OPERATING_SYSTEM_VXWORKS
The VxWorks platform.
Trait Implementations
sourceimpl Clone for NSTDOperatingSystem
impl Clone for NSTDOperatingSystem
sourcefn clone(&self) -> NSTDOperatingSystem
fn clone(&self) -> NSTDOperatingSystem
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for NSTDOperatingSystem
impl Debug for NSTDOperatingSystem
sourceimpl Default for NSTDOperatingSystem
impl Default for NSTDOperatingSystem
sourceimpl From<OS> for NSTDOperatingSystem
impl From<OS> for NSTDOperatingSystem
sourceimpl Hash for NSTDOperatingSystem
impl Hash for NSTDOperatingSystem
impl Copy for NSTDOperatingSystem
Auto Trait Implementations
impl RefUnwindSafe for NSTDOperatingSystem
impl Send for NSTDOperatingSystem
impl Sync for NSTDOperatingSystem
impl Unpin for NSTDOperatingSystem
impl UnwindSafe for NSTDOperatingSystem
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<R, P> ReadPrimitive<R> for P where
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for P where
R: Read + ReadEndian<P>,
P: Default,
sourcefn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_little_endian().
sourcefn read_from_big_endian(read: &mut R) -> Result<Self, Error>
fn read_from_big_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_big_endian().
sourcefn read_from_native_endian(read: &mut R) -> Result<Self, Error>
fn read_from_native_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_native_endian().
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more