pub enum TargetOperatingSystem {
Show 18 variants
Linux,
MacOS,
Windows,
Android,
IOS,
TvOS,
WatchOS,
VisionOS,
FreeBSD,
OpenBSD,
NetBSD,
DragonFly,
Redox,
Horizon,
Psp,
Psx,
Vita,
Unknown,
}Variants§
Linux
MacOS
Windows
Android
IOS
TvOS
WatchOS
VisionOS
FreeBSD
OpenBSD
NetBSD
DragonFly
Redox
Horizon
Psp
Psx
Vita
Unknown
Trait Implementations§
Source§impl Clone for TargetOperatingSystem
impl Clone for TargetOperatingSystem
Source§fn clone(&self) -> TargetOperatingSystem
fn clone(&self) -> TargetOperatingSystem
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 TargetOperatingSystem
impl Debug for TargetOperatingSystem
Source§impl Display for TargetOperatingSystem
impl Display for TargetOperatingSystem
Source§impl FromStr for TargetOperatingSystem
impl FromStr for TargetOperatingSystem
Source§impl PartialEq for TargetOperatingSystem
impl PartialEq for TargetOperatingSystem
Source§fn eq(&self, other: &TargetOperatingSystem) -> bool
fn eq(&self, other: &TargetOperatingSystem) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for TargetOperatingSystem
impl Eq for TargetOperatingSystem
impl StructuralPartialEq for TargetOperatingSystem
Auto Trait Implementations§
impl Freeze for TargetOperatingSystem
impl RefUnwindSafe for TargetOperatingSystem
impl Send for TargetOperatingSystem
impl Sync for TargetOperatingSystem
impl Unpin for TargetOperatingSystem
impl UnsafeUnpin for TargetOperatingSystem
impl UnwindSafe for TargetOperatingSystem
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