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