diff options
author | tom barrett <spalf0@gmail.com> | 2018-02-23 05:04:55 -0600 |
---|---|---|
committer | tom barrett <spalf0@gmail.com> | 2018-02-23 05:04:55 -0600 |
commit | ceb9ee22f32d46a6e49229f447c414f3707eb3ac (patch) | |
tree | 888b5b9824655d05b26f11848ca5290a7e032485 /src/mass.rs | |
parent | 7798ebba1d8762e8b4c6eaf1efcd610fa030375a (diff) |
various ways potentially to deserialize?
Diffstat (limited to 'src/mass.rs')
-rw-r--r-- | src/mass.rs | 1 |
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); |