From c5f82475430bbe469b07730349a97629f1991429 Mon Sep 17 00:00:00 2001 From: Lucien Greathouse Date: Sat, 3 Feb 2018 23:16:29 -0800 Subject: [PATCH] Add support for Bool and Number primitive types. --- src/rbx.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/rbx.rs b/src/rbx.rs index 99f24d40..30cd2194 100644 --- a/src/rbx.rs +++ b/src/rbx.rs @@ -20,7 +20,12 @@ pub enum RbxValue { String { value: String, }, + Bool { + value: bool, + }, + Number { + value: f64, + }, - // TODO: Other primitives // TODO: Compound types like Vector3 }