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