Skip to main content

steam_enums/
ekeyescrowusage.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 EKeyEscrowUsage {
6    StreamingDevice = 0,
7}
8
9impl EKeyEscrowUsage {
10    pub fn from_i32(val: i32) -> Option<Self> {
11        match val {
12            x if x == Self::StreamingDevice as i32 => Some(Self::StreamingDevice),
13            _ => None,
14        }
15    }
16}