#![allow(non_camel_case_types)]
#![allow(non_upper_case_globals)]
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
#[repr(i32)]
pub enum ESettingProfileMode {
None = 0,
PerGame = 1,
PerGamePerDisplay = 2,
PerDisplay = 3,
}
impl ESettingProfileMode {
pub fn from_i32(val: i32) -> Option<Self> {
match val {
x if x == Self::None as i32 => Some(Self::None),
x if x == Self::PerGame as i32 => Some(Self::PerGame),
x if x == Self::PerGamePerDisplay as i32 => Some(Self::PerGamePerDisplay),
x if x == Self::PerDisplay as i32 => Some(Self::PerDisplay),
_ => None,
}
}
}