Skip to main content

keys_named

Function keys_named 

Source
fn keys_named(matcher: &Matcher) -> [Option<MatcherKey>; 6]
Expand description

The keys a matcher names, in Matcher field order.

A fixed-size array of Option rather than a Vec, matching Matcher::unmatchable_fields: the shape reads as the struct does, so a key added to Matcher and forgotten here is visible as a missing row rather than as a shorter list.