diff -r bb2f4636787f -r 3b3d97ed2286 rust/landgen/src/lib.rs --- 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 { + zero: T, + basic: T, +} + +trait LandGenerator { + fn generate_land>( + &self, + parameters: LandGenerationParameters, + random_numbers: &mut I, + ) -> land2d::Land2D; +} #[cfg(test)] mod tests {