summaryrefslogtreecommitdiff
path: root/src/mass.rs
diff options
context:
space:
mode:
authortom barrett <spalf0@gmail.com>2018-02-23 05:04:55 -0600
committertom barrett <spalf0@gmail.com>2018-02-23 05:04:55 -0600
commitceb9ee22f32d46a6e49229f447c414f3707eb3ac (patch)
tree888b5b9824655d05b26f11848ca5290a7e032485 /src/mass.rs
parent7798ebba1d8762e8b4c6eaf1efcd610fa030375a (diff)
various ways potentially to deserialize?
Diffstat (limited to 'src/mass.rs')
-rw-r--r--src/mass.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mass.rs b/src/mass.rs
index 955f84d..8c50348 100644
--- a/src/mass.rs
+++ b/src/mass.rs
@@ -6,6 +6,7 @@ pub trait Mass : Any {
fn location(&self) -> (isize, isize, isize);
fn set_location(&mut self, location : (isize, isize, isize));
fn serialize(&self) -> String;
+ fn deserialize(&mut self, data : &str);
}
downcast!(Mass);