1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
use super::*; use serde::{Deserialize, Serialize}; #[derive (Serialize, Deserialize, Debug, Clone)] #[serde(tag = "type")] pub enum Property { F32(F32Property), I8(I8Property), I16(I16Property), I32(I32Property), Label(LabelProperty), Str(StringProperty), U8(U8Property), U16(U16Property), U32(U32Property) }