Enum advent_of_code_2021::day_24::OpType [−][src]
enum OpType {
Add,
Mul,
Div,
Mod,
Eql,
}Expand description
Whilst there are six instructions the Inp is different enough from the others that it is easier to split it out.
This then encodes the type of the remaining five op codes.
Variants
Add
Mul
Div
Mod
Eql
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for OpType
impl UnwindSafe for OpType
Blanket Implementations
Mutably borrows from an owned value. Read more
