diff options
author | HampusM <hampus@hampusmat.com> | 2023-08-17 22:04:17 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2023-08-17 22:04:17 +0200 |
commit | 8aeb7ad439b67228a0abc46b259967e8c91f8a97 (patch) | |
tree | d7758a573c0bc805b0fe42cdd18df628109c5ffd /examples/unbound/interfaces | |
parent | 800e164a83388aa5ca7675f8031b0f0d7c6b6051 (diff) |
docs: remove the 'unbound' example
This was not at all a useful example
Diffstat (limited to 'examples/unbound/interfaces')
-rw-r--r-- | examples/unbound/interfaces/animal_store.rs | 11 | ||||
-rw-r--r-- | examples/unbound/interfaces/cat.rs | 4 | ||||
-rw-r--r-- | examples/unbound/interfaces/dog.rs | 4 | ||||
-rw-r--r-- | examples/unbound/interfaces/human.rs | 4 | ||||
-rw-r--r-- | examples/unbound/interfaces/mod.rs | 4 |
5 files changed, 0 insertions, 27 deletions
diff --git a/examples/unbound/interfaces/animal_store.rs b/examples/unbound/interfaces/animal_store.rs deleted file mode 100644 index dc8a4c3..0000000 --- a/examples/unbound/interfaces/animal_store.rs +++ /dev/null @@ -1,11 +0,0 @@ -use syrette::ptr::{SingletonPtr, TransientPtr}; - -use crate::interfaces::cat::ICat; -use crate::interfaces::dog::IDog; - -pub trait IAnimalStore -{ - fn get_dog(&self) -> SingletonPtr<dyn IDog>; - - fn get_cat(&self) -> &TransientPtr<dyn ICat>; -} diff --git a/examples/unbound/interfaces/cat.rs b/examples/unbound/interfaces/cat.rs deleted file mode 100644 index 8650802..0000000 --- a/examples/unbound/interfaces/cat.rs +++ /dev/null @@ -1,4 +0,0 @@ -pub trait ICat -{ - fn meow(&self); -} diff --git a/examples/unbound/interfaces/dog.rs b/examples/unbound/interfaces/dog.rs deleted file mode 100644 index 4211c27..0000000 --- a/examples/unbound/interfaces/dog.rs +++ /dev/null @@ -1,4 +0,0 @@ -pub trait IDog -{ - fn woof(&self); -} diff --git a/examples/unbound/interfaces/human.rs b/examples/unbound/interfaces/human.rs deleted file mode 100644 index dc20194..0000000 --- a/examples/unbound/interfaces/human.rs +++ /dev/null @@ -1,4 +0,0 @@ -pub trait IHuman -{ - fn make_pets_make_sounds(&self); -} diff --git a/examples/unbound/interfaces/mod.rs b/examples/unbound/interfaces/mod.rs deleted file mode 100644 index bd9f848..0000000 --- a/examples/unbound/interfaces/mod.rs +++ /dev/null @@ -1,4 +0,0 @@ -pub mod animal_store; -pub mod cat; -pub mod dog; -pub mod human; |