Struct advent_of_code_2023::day_5::AlmanacRange
source · struct AlmanacRange {
start: i64,
length: i64,
delta: i64,
}Expand description
A range of ids to modify when applying the mapping for an AlmanacSection
Fields§
§start: i64§length: i64§delta: i64Implementations§
source§impl AlmanacRange
impl AlmanacRange
Trait Implementations§
source§impl Debug for AlmanacRange
impl Debug for AlmanacRange
source§impl PartialEq<AlmanacRange> for AlmanacRange
impl PartialEq<AlmanacRange> for AlmanacRange
source§fn eq(&self, other: &AlmanacRange) -> bool
fn eq(&self, other: &AlmanacRange) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for AlmanacRange
impl StructuralEq for AlmanacRange
impl StructuralPartialEq for AlmanacRange
Auto Trait Implementations§
impl RefUnwindSafe for AlmanacRange
impl Send for AlmanacRange
impl Sync for AlmanacRange
impl Unpin for AlmanacRange
impl UnwindSafe for AlmanacRange
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.