I'd like to be able to write something like this:
struct Person {
name: &'static str,
age: u32,
}
let people = vec![
Person {name: "Hi", age: 32 },
Person {name: "Bye", age: 33 },
];
assert_that!(&people, contains_in_any_order(&[
has_structure!(Person { name: eq("Hi") }),
has_structure!(Person { name: eq("Bye") }),
]));
This probably doesn't compile, but I think it explains the issue well.
Great library btw =)