summaryrefslogtreecommitdiff
path: root/bindgen/rust
diff options
context:
space:
mode:
Diffstat (limited to 'bindgen/rust')
-rw-r--r--bindgen/rust/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindgen/rust/src/lib.rs b/bindgen/rust/src/lib.rs
index 4963d8c..49d0391 100644
--- a/bindgen/rust/src/lib.rs
+++ b/bindgen/rust/src/lib.rs
@@ -56,7 +56,7 @@ impl SerializableScene {
}
}
-#[derive(Debug, Clone)]
+#[derive(Debug, Clone, Serialize, Deserialize)]
pub enum Light {
Point(ffi::PointLight),
Directional(ffi::DirectionalLight),