aboutsummaryrefslogtreecommitdiff
path: root/example/src/interfaces/dog.rs
diff options
context:
space:
mode:
Diffstat (limited to 'example/src/interfaces/dog.rs')
-rw-r--r--example/src/interfaces/dog.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/example/src/interfaces/dog.rs b/example/src/interfaces/dog.rs
new file mode 100644
index 0000000..4211c27
--- /dev/null
+++ b/example/src/interfaces/dog.rs
@@ -0,0 +1,4 @@
+pub trait IDog
+{
+ fn woof(&self);
+}