summaryrefslogtreecommitdiff
path: root/src/signal.rs
diff options
context:
space:
mode:
authorBen Bridle <ben@derelict.engineering>2025-03-25 12:00:15 +1300
committerBen Bridle <ben@derelict.engineering>2025-03-25 12:00:15 +1300
commitc23c47325a7818c4df4097878f101cd80e2fe361 (patch)
treef7d591c90428d43064be10de660021c2cd6dc863 /src/signal.rs
parent179bd6a13d91f0a1137ee8ed6aebb7e226e99b5d (diff)
downloadbedrock-core-c23c47325a7818c4df4097878f101cd80e2fe361.zip
Partially restructure the library
This also changes bit-shifting semantics, shifting left and then right instead of the other way around.
Diffstat (limited to 'src/signal.rs')
-rw-r--r--src/signal.rs8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/signal.rs b/src/signal.rs
index 9959901..2a97180 100644
--- a/src/signal.rs
+++ b/src/signal.rs
@@ -1,8 +1,14 @@
-#[derive(Copy, Clone, Debug)]
+#[derive(Copy, Clone, Debug, PartialEq)]
pub enum Signal {
+ Interrupt,
Sleep,
Fork,
Halt,
+ Debug(Debug),
+}
+
+#[derive(Clone, Copy, Debug, PartialEq)]
+pub enum Debug {
Debug1,
Debug2,
Debug3,