From 1ae19eb3315c40e3f9062592c27fa76c11cf626c Mon Sep 17 00:00:00 2001 From: Joe Carstairs Date: Sun, 17 Nov 2024 09:23:28 +0000 Subject: Renames workspace folder --- rust/core/src/traits/timeable.rs | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 rust/core/src/traits/timeable.rs (limited to 'rust/core/src/traits/timeable.rs') diff --git a/rust/core/src/traits/timeable.rs b/rust/core/src/traits/timeable.rs new file mode 100644 index 0000000..f6f9244 --- /dev/null +++ b/rust/core/src/traits/timeable.rs @@ -0,0 +1,5 @@ +pub trait Timeable { + fn hour(&self) -> u32; + fn minute(&self) -> u32; + fn second(&self) -> u32; +} -- cgit v1.2.3