#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub struct PlatformSpecific {
pub drag_and_drop: bool,
pub skip_taskbar: bool,
pub undecorated_shadow: bool,
pub corner_preference: CornerPreference,
}
impl Default for PlatformSpecific {
fn default() -> Self {
Self {
drag_and_drop: true,
skip_taskbar: false,
undecorated_shadow: false,
corner_preference: Default::default(),
}
}
}
#[repr(i32)]
#[derive(Debug, Default, Clone, Copy, PartialEq, Eq, Hash)]
pub enum CornerPreference {
#[default]
Default = 0,
DoNotRound = 1,
Round = 2,
RoundSmall = 3,
}