#[repr(u8)]pub enum OsType {
Unknown = 0,
Windows = 1,
Linux = 2,
Android = 3,
MacOs = 4,
Ios = 5,
ChromeOs = 6,
FreeBsd = 7,
OpenBsd = 8,
NetBsd = 9,
}
Variants§
Unknown = 0
Windows = 1
Linux = 2
Android = 3
MacOs = 4
Ios = 5
ChromeOs = 6
FreeBsd = 7
OpenBsd = 8
NetBsd = 9
Trait Implementations§
Source§impl TryFromPrimitive for OsType
impl TryFromPrimitive for OsType
impl Copy for OsType
impl Eq for OsType
impl StructuralPartialEq for OsType
Auto Trait Implementations§
impl Freeze for OsType
impl RefUnwindSafe for OsType
impl Send for OsType
impl Sync for OsType
impl Unpin for OsType
impl UnwindSafe for OsType
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