--- a/rust/landgen/src/lib.rs Sun Oct 28 23:09:35 2018 +0100
+++ b/rust/landgen/src/lib.rs Sun Oct 28 23:24:04 2018 +0100
@@ -1,6 +1,20 @@
-mod outline;
+mod template_based;
extern crate integral_geometry;
+extern crate land2d;
+
+struct LandGenerationParameters<T> {
+ zero: T,
+ basic: T,
+}
+
+trait LandGenerator {
+ fn generate_land<T: Copy + PartialEq, I: Iterator<Item = u32>>(
+ &self,
+ parameters: LandGenerationParameters<T>,
+ random_numbers: &mut I,
+ ) -> land2d::Land2D<T>;
+}
#[cfg(test)]
mod tests {