From 5895e6330b179e6f50d197b0ac8a69765a7d8aaf Mon Sep 17 00:00:00 2001 From: veradec Date: Sun, 6 Sep 2026 15:22:30 +0530 Subject: add: enumerated OkmlType and Sublist (Vec) to OkmlValue --- src/main.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 73eb56b..2752f9f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -11,11 +11,14 @@ enum OkmlType { Null(*const i32), } +enum OkmlValue { + Value(OkmlType), + SubList(Vec), +} struct Okml { key: String, - value: OkmlType, - // sub_list: Vec, + value: OkmlValue, } -- cgit v1.2.3