pub struct Day20 { /* private fields */ }Expand description
2020 Day 20: Matching image tiles and finding a pattern.
The key optimization is that each edge is on at most two tiles, so XOR can be used to find the next tile.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Day20
impl RefUnwindSafe for Day20
impl Send for Day20
impl Sync for Day20
impl Unpin for Day20
impl UnsafeUnpin for Day20
impl UnwindSafe for Day20
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