pub enum PlatformType {
Windows,
OSX,
Linux,
WASM,
}
Variants§
Implementations§
Source§impl PlatformType
impl PlatformType
pub fn is_desktop(&self) -> bool
Auto Trait Implementations§
impl Freeze for PlatformType
impl RefUnwindSafe for PlatformType
impl Send for PlatformType
impl Sync for PlatformType
impl Unpin for PlatformType
impl UnwindSafe for PlatformType
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