Enum target_lexicon::OperatingSystem [−][src]
#[non_exhaustive]
pub enum OperatingSystem {
Show variants
Unknown,
AmdHsa,
Bitrig,
Cloudabi,
Cuda,
Darwin,
Dragonfly,
Emscripten,
Freebsd,
Fuchsia,
Haiku,
Hermit,
Illumos,
Ios,
L4re,
Linux,
MacOSX {
major: u16,
minor: u16,
patch: u16,
},
Nebulet,
Netbsd,
None_,
Openbsd,
Psp,
Redox,
Solaris,
Tvos,
Uefi,
VxWorks,
Wasi,
Windows,
}The “operating system” field, which sometimes implies an environment, and sometimes isn’t an actual operating system.
Variants (Non-exhaustive)
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations
impl OperatingSystem[src]
impl OperatingSystem[src]Trait Implementations
impl Clone for OperatingSystem[src]
impl Clone for OperatingSystem[src]fn clone(&self) -> OperatingSystem[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl FromStr for OperatingSystem[src]
impl FromStr for OperatingSystem[src]impl Hash for OperatingSystem[src]
impl Hash for OperatingSystem[src]impl PartialEq<OperatingSystem> for OperatingSystem[src]
impl PartialEq<OperatingSystem> for OperatingSystem[src]fn eq(&self, other: &OperatingSystem) -> bool[src]
fn ne(&self, other: &OperatingSystem) -> bool[src]
impl Copy for OperatingSystem[src]
impl Eq for OperatingSystem[src]
impl StructuralEq for OperatingSystem[src]
impl StructuralPartialEq for OperatingSystem[src]
Auto Trait Implementations
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
The resulting type after obtaining ownership.