aboutsummaryrefslogtreecommitdiff
path: root/examples/basic/interfaces/human.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/basic/interfaces/human.rs')
-rw-r--r--examples/basic/interfaces/human.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/basic/interfaces/human.rs b/examples/basic/interfaces/human.rs
new file mode 100644
index 0000000..dc20194
--- /dev/null
+++ b/examples/basic/interfaces/human.rs
@@ -0,0 +1,4 @@
+pub trait IHuman
+{
+ fn make_pets_make_sounds(&self);
+}