pub enum Platform {
Windows,
MacOS,
Linux,
Android,
ChromeOS,
Unknown,
}Expand description
Represents the platform/operating system.
Variants§
Windows
Windows operating system
MacOS
macOS operating system
Linux
Linux operating system
Android
Android operating system
ChromeOS
Chrome OS
Unknown
Unknown platform
Implementations§
Trait Implementations§
impl Copy for Platform
impl Eq for Platform
impl StructuralPartialEq for Platform
Auto Trait Implementations§
impl Freeze for Platform
impl RefUnwindSafe for Platform
impl Send for Platform
impl Sync for Platform
impl Unpin for Platform
impl UnwindSafe for Platform
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