possible_instructions

This commit is contained in:
2026-05-15 08:27:02 -07:00
parent d344ac20e1
commit 2e1bab8c52
2 changed files with 128 additions and 57 deletions
+2 -2
View File
@@ -86,7 +86,7 @@ impl Card {
}
}
#[derive(Hash)]
#[derive(Clone, Debug, Hash)]
pub struct Stack(Vec<Card>);
impl Stack {
pub fn new() -> Self {
@@ -120,7 +120,7 @@ impl std::ops::DerefMut for Stack {
}
}
#[derive(Hash)]
#[derive(Clone, Debug, Hash)]
pub struct Pile {
face_down: Stack,
face_up: Stack,