pub struct Day16 { /* private fields */ }
Expand description
2017 Day 16: Composing permutations.
The key optimization is that all the index-based permutations (Spin and Exchange) can be combined into one permutation, and all the value-based permutations (Partner) can be combined into another.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Day16
impl RefUnwindSafe for Day16
impl Send for Day16
impl Sync for Day16
impl Unpin for Day16
impl UnwindSafe for Day16
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
)