Add message types to enum

This commit is contained in:
Rock070 2023-12-23 11:38:47 +08:00
parent b480c57095
commit 73d43b3f90

View File

@ -2,11 +2,13 @@
//
// No hints this time! ;)
// I AM NOT DONE
#[derive(Debug)]
enum Message {
// TODO: define a few types of messages as used below
Quit,
Echo,
Move,
ChangeColor,
}
fn main() {