aboutsummaryrefslogtreecommitdiff
path: root/examples/factory/interfaces
diff options
context:
space:
mode:
Diffstat (limited to 'examples/factory/interfaces')
-rw-r--r--examples/factory/interfaces/mod.rs1
-rw-r--r--examples/factory/interfaces/user_manager.rs6
2 files changed, 7 insertions, 0 deletions
diff --git a/examples/factory/interfaces/mod.rs b/examples/factory/interfaces/mod.rs
index 22d12a3..2342750 100644
--- a/examples/factory/interfaces/mod.rs
+++ b/examples/factory/interfaces/mod.rs
@@ -1 +1,2 @@
pub mod user;
+pub mod user_manager;
diff --git a/examples/factory/interfaces/user_manager.rs b/examples/factory/interfaces/user_manager.rs
new file mode 100644
index 0000000..83febb8
--- /dev/null
+++ b/examples/factory/interfaces/user_manager.rs
@@ -0,0 +1,6 @@
+pub trait IUserManager
+{
+ fn fill_with_users(&mut self);
+
+ fn print_users(&self);
+}