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