pub struct Day10 { /* private fields */ }
Expand description
2015 Day 10: Look-and-say sequence.
See https://en.wikipedia.org/wiki/Look-and-say_sequence#Cosmological_decay. The input is an “atomic element” and each atomic element always follows a fixed sequence, so each iteration only needs to calculate how many of each element there are.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Day10
impl RefUnwindSafe for Day10
impl Send for Day10
impl Sync for Day10
impl Unpin for Day10
impl UnwindSafe for Day10
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
)