aboutsummaryrefslogtreecommitdiff
path: root/client/src/world/helper.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-01-08 11:14:01 +0100
committermetamuffin <metamuffin@disroot.org>2025-01-08 11:14:01 +0100
commitb2145131ccde0a33b9840ac04c8b7d79e733ae12 (patch)
tree217f7bec5e5e8aed99c1af3135a8189b850d9f63 /client/src/world/helper.rs
parent1247f46149cbb3a21590573fdcef23e920d0addc (diff)
downloadtwclient-b2145131ccde0a33b9840ac04c8b7d79e733ae12.tar
twclient-b2145131ccde0a33b9840ac04c8b7d79e733ae12.tar.bz2
twclient-b2145131ccde0a33b9840ac04c8b7d79e733ae12.tar.zst
reset
Diffstat (limited to 'client/src/world/helper.rs')
-rw-r--r--client/src/world/helper.rs19
1 files changed, 0 insertions, 19 deletions
diff --git a/client/src/world/helper.rs b/client/src/world/helper.rs
deleted file mode 100644
index cb34a9f..0000000
--- a/client/src/world/helper.rs
+++ /dev/null
@@ -1,19 +0,0 @@
-use std::fmt::Display;
-
-#[derive(Debug, PartialEq, Eq, Hash, Clone, Copy)]
-#[repr(C)]
-pub struct Color {
- pub a: u8,
- pub r: u8,
- pub g: u8,
- pub b: u8,
-}
-
-impl Display for Color {
- fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
- f.write_fmt(format_args!(
- "#{:02x}{:02x}{:02x}{:02x}",
- self.r, self.g, self.b, self.a
- ))
- }
-}