summaryrefslogtreecommitdiffstats
path: root/src/settings/not_windows.rs
blob: 1ae14c7f832ce0b70ab67598636d28c881a698d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#![cfg(not(target_os = "windows"))]
//! Platform specific settings for not Windows.

/// The platform specific window settings of an application.
#[cfg(not(target_os = "windows"))]
#[derive(Debug, Clone, Copy, PartialEq, Eq, Default)]
pub struct PlatformSpecific {}

#[cfg(not(target_os = "windows"))]
impl From<PlatformSpecific> for iced_winit::settings::PlatformSpecific {
    fn from(_: PlatformSpecific) -> iced_winit::settings::PlatformSpecific {
        iced_winit::settings::PlatformSpecific {}
    }
}