Enum advent_of_code_2022::day_11::Operand
source · enum Operand {
Value(isize),
Old,
}
Expand description
Represent an operand that can either be the old worry value or a fixed number
Variants§
Implementations§
Trait Implementations§
source§impl PartialEq<Operand> for Operand
impl PartialEq<Operand> for Operand
impl Copy for Operand
impl Eq for Operand
impl StructuralEq for Operand
impl StructuralPartialEq for Operand
Auto Trait Implementations§
impl RefUnwindSafe for Operand
impl Send for Operand
impl Sync for Operand
impl Unpin for Operand
impl UnwindSafe for Operand
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