pub fn matches_triplet(triplet: &Triplet, restriction: &[Part]) -> bool
Whether triplet matches restriction, part by part.
triplet
restriction