diff options
Diffstat (limited to 'schist_core/schist_traits/src/timeable.rs')
| -rw-r--r-- | schist_core/schist_traits/src/timeable.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/schist_core/schist_traits/src/timeable.rs b/schist_core/schist_traits/src/timeable.rs new file mode 100644 index 0000000..f6f9244 --- /dev/null +++ b/schist_core/schist_traits/src/timeable.rs @@ -0,0 +1,5 @@ +pub trait Timeable { + fn hour(&self) -> u32; + fn minute(&self) -> u32; + fn second(&self) -> u32; +} |
