first commit

This commit is contained in:
Hakan Seven committed 2026-03-22 14:56:27 +03:00
1 parent d52c6440ff
commit d2fdac7f1e
274 files changed
+89330

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
// AUTO-GENERATED by build.rs — do not edit by hand.
// To add a module: create src/modules/my_name/mod.rs + add `pub mod my_name;` to modules/mod.rs.
use crate::modules::CadModule;
/// Returns one boxed instance of every registered CAD module.
/// Called once at startup by `Ribbon::new()`.
pub fn all_modules() -> Vec<Box<dyn CadModule>> {
vec![
Box::new(super::home::HomeModule),
Box::new(super::annotate::AnnotateModule),
Box::new(super::insert::InsertModule),
Box::new(super::view::ViewModule),
Box::new(super::manage::ManageModule),
Box::new(super::layout::LayoutModule),
]
}