about summary refs log tree commit diff
path: root/src/block/version.rs
diff options
context:
space:
mode:
authorGenny <gen@nyble.dev>2021-11-21 18:35:57 -0600
committerGenny <gen@nyble.dev>2021-11-21 18:35:57 -0600
commit1de64a3818875947f7f1044b1d4cfdf271b04fd3 (patch)
tree3a5bfbb237d67832dfa1beeb3d28566173484b63 /src/block/version.rs
parentf35e18cb0531e7d6a3544560746d592aa47ed555 (diff)
downloadgifed-1de64a3818875947f7f1044b1d4cfdf271b04fd3.tar.gz
gifed-1de64a3818875947f7f1044b1d4cfdf271b04fd3.zip
Bring gifprobe into this repository
Diffstat (limited to 'src/block/version.rs')
-rw-r--r--src/block/version.rs25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/block/version.rs b/src/block/version.rs
deleted file mode 100644
index 0171ad4..0000000
--- a/src/block/version.rs
+++ /dev/null
@@ -1,25 +0,0 @@
-use std::fmt;
-
-#[derive(Clone, Copy, Debug, PartialEq)]
-pub enum Version {
-	Gif87a,
-	Gif89a,
-}
-
-impl From<&Version> for &[u8] {
-	fn from(version: &Version) -> Self {
-		match version {
-			Version::Gif87a => b"GIF87a",
-			Version::Gif89a => b"GIF89a",
-		}
-	}
-}
-
-impl fmt::Display for Version {
-	fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
-		match self {
-			Version::Gif87a => write!(f, "GIF87a"),
-			Version::Gif89a => write!(f, "GIF89a"),
-		}
-	}
-}