From 22543defa89982cf727f30dff99ff12b73e2527a Mon Sep 17 00:00:00 2001
From: Quaternions <krakow20@gmail.com>
Date: Mon, 30 Dec 2024 04:51:20 -0800
Subject: [PATCH] convenient impl

---
 src/v1.rs | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/src/v1.rs b/src/v1.rs
index 14c75cf..e78ac66 100644
--- a/src/v1.rs
+++ b/src/v1.rs
@@ -2,12 +2,21 @@ use binrw::{binrw,BinReaderExt,io::TakeSeekExt};
 
 #[binrw]
 #[brw(little)]
+#[derive(Clone,Copy,Debug)]
 pub enum Bool{
 	#[brw(magic=0u32)]
 	False,
 	#[brw(magic=1u32)]
 	True,
 }
+impl Into<bool> for Bool{
+	fn into(self)->bool{
+		match self{
+			Bool::False=>false,
+			Bool::True=>true,
+		}
+	}
+}
 #[binrw]
 #[brw(little)]
 pub struct Vector2{