diff options
author | HampusM <hampus@hampusmat.com> | 2022-08-20 15:14:13 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-08-21 18:17:50 +0200 |
commit | 47c68f7d70cfa8c639f72361d8d0362048647075 (patch) | |
tree | 871f3577e54f77aa51368f1e34012c1f4f31e44d /examples/factory/interfaces/user_manager.rs | |
parent | c4eccc81d9bfa472197a4f302df1c967081a0be5 (diff) |
docs: improve the factory example
Diffstat (limited to 'examples/factory/interfaces/user_manager.rs')
-rw-r--r-- | examples/factory/interfaces/user_manager.rs | 6 |
1 files changed, 6 insertions, 0 deletions
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); +} |