pub struct Day20 { /* private fields */ }Expand description
2019 Day 20: Finding the shortest paths through a recursive maze.
Similar to Day 18, the key optimization is to precompute distances between every portal.
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