#[repr(u8)]pub enum OsVersion {
Win7 = 0,
Win8 = 1,
Win81 = 2,
Win10 = 3,
}
Variants§
Trait Implementations§
Source§impl Ord for OsVersion
impl Ord for OsVersion
Source§impl PartialOrd for OsVersion
impl PartialOrd for OsVersion
impl Copy for OsVersion
impl Eq for OsVersion
impl StructuralPartialEq for OsVersion
Auto Trait Implementations§
impl Freeze for OsVersion
impl RefUnwindSafe for OsVersion
impl Send for OsVersion
impl Sync for OsVersion
impl Unpin for OsVersion
impl UnwindSafe for OsVersion
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