mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-07 03:09:19 +00:00
Exercise 35
This commit is contained in:
parent
e03d1361ff
commit
dcf0423631
@ -3,11 +3,15 @@
|
||||
// Execute `rustlings hint enums2` or use the `hint` watch subcommand for a
|
||||
// hint.
|
||||
|
||||
// I AM NOT DONE
|
||||
|
||||
|
||||
#[derive(Debug)]
|
||||
enum Message {
|
||||
// TODO: define the different variants used below
|
||||
Move{x:i32, y:i32},
|
||||
Echo(String),
|
||||
ChangeColor(i32,i32,i32),
|
||||
Quit
|
||||
}
|
||||
|
||||
impl Message {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user