#[repr(C)]pub enum OsFamily {
Windows = 0,
MacOS = 1,
IOS = 2,
Linux = 3,
Android = 4,
}Expand description
OS family for version comparisons
Variants§
Trait Implementations§
impl Copy for OsFamily
impl Eq for OsFamily
Source§impl Ord for OsFamily
impl Ord for OsFamily
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for OsFamily
impl PartialOrd for OsFamily
impl StructuralPartialEq for OsFamily
Auto Trait Implementations§
impl Freeze for OsFamily
impl RefUnwindSafe for OsFamily
impl Send for OsFamily
impl Sync for OsFamily
impl Unpin for OsFamily
impl UnsafeUnpin for OsFamily
impl UnwindSafe for OsFamily
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