Derive partial eq extras
More customisable #[derive(PartialEq)]
Adds ability to ignore/skip fields
#[partial_eq_ignore]
use PartialEqExtras;
Here the y field is ignored when comparing As. e.g A { x: 4, y: "Hello".into() } == A { x: 4, y: "World".into() } is true
#[partial_eq_ignore_types]
use PartialEqExtras;
Here the x, y and z fields are ignored because they have type u32 which is marked on a top level attribute as something to ignore. This becomes a shorthand for defining #[partial_eq_ignore] on all fields with u32 types