pub struct Day22 { /* private fields */ }
Expand description
2016 Day 22: Solving a sliding puzzle.
The solution assumes the input has one empty node, similar to the 15 puzzle, as well as one immovable wall on the right (or immovable nodes below the empty node, like the example input).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Day22
impl RefUnwindSafe for Day22
impl Send for Day22
impl Sync for Day22
impl Unpin for Day22
impl UnwindSafe for Day22
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)