pub enum OperatingSystemFamily {
Unix,
Windows,
}Expand description
Broad operating-system family used for platform-specific behavior.
Variants§
Trait Implementations§
Source§impl Clone for OperatingSystemFamily
impl Clone for OperatingSystemFamily
Source§fn clone(&self) -> OperatingSystemFamily
fn clone(&self) -> OperatingSystemFamily
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 moreimpl Copy for OperatingSystemFamily
Source§impl Debug for OperatingSystemFamily
impl Debug for OperatingSystemFamily
impl Eq for OperatingSystemFamily
Source§impl PartialEq for OperatingSystemFamily
impl PartialEq for OperatingSystemFamily
impl StructuralPartialEq for OperatingSystemFamily
Auto Trait Implementations§
impl Freeze for OperatingSystemFamily
impl RefUnwindSafe for OperatingSystemFamily
impl Send for OperatingSystemFamily
impl Sync for OperatingSystemFamily
impl Unpin for OperatingSystemFamily
impl UnsafeUnpin for OperatingSystemFamily
impl UnwindSafe for OperatingSystemFamily
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more