diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.rs | 7 |
1 files 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<Okml>), +} struct Okml { key: String, - value: OkmlType, - // sub_list: Vec<Okml>, + value: OkmlValue, } |
