Derive Macro enum_procs::PartialEqExceptLast
source · #[derive(PartialEqExceptLast)]Expand description
Compare enum except last value Enum::Variant(value, first_value) == Enum::Variant(value, other_second_value) => true
#[derive(PartialEqExceptLast)]Compare enum except last value Enum::Variant(value, first_value) == Enum::Variant(value, other_second_value) => true