mindustry logic execution, map- and schematic- parsing and rendering
Diffstat (limited to 'src/data/mod.rs')
| -rw-r--r-- | src/data/mod.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/data/mod.rs b/src/data/mod.rs index d16df44..7653c27 100644 --- a/src/data/mod.rs +++ b/src/data/mod.rs @@ -1,9 +1,10 @@ +//! all the IO use std::error::Error; use std::fmt; use std::str::Utf8Error; -pub mod base64; -pub mod command; +mod base64; +mod command; pub mod dynamic; pub mod renderer; pub mod schematic; @@ -271,7 +272,7 @@ impl<'d> TryFrom<DataWrite<'d>> for Vec<u8> { } } } - +/// basic serialization/deserialization functions pub trait Serializer<D> { type ReadError; type WriteError; |