Enum zaplib::PlatformType
source · [−]pub enum PlatformType {
Unknown,
Windows,
OSX,
Linux {
custom_window_chrome: bool,
},
Web {
protocol: String,
hostname: String,
port: u16,
pathname: String,
search: String,
hash: String,
},
}
Expand description
Contains information about the platform (operating system) that we’re running on.
Variants
Unknown
Windows
OSX
Linux
Fields
custom_window_chrome: bool
Web
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PlatformType
impl Send for PlatformType
impl Sync for PlatformType
impl Unpin for PlatformType
impl UnwindSafe for PlatformType
Blanket Implementations
Mutably borrows from an owned value. Read more