steam_enums/eclienttasklisttype.rs
1#![allow(non_camel_case_types)]
2#![allow(non_upper_case_globals)]
3#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
4#[repr(i32)]
5pub enum ECLientTaskListType {
6 DownloadClip = 1,
7}
8
9impl ECLientTaskListType {
10 pub fn from_i32(val: i32) -> Option<Self> {
11 match val {
12 x if x == Self::DownloadClip as i32 => Some(Self::DownloadClip),
13 _ => None,
14 }
15 }
16}