Searched refs:CollectionType (Results 1 – 1 of 1) sorted by relevance
42 pub struct VersionMatch<CollectionType: NameAndVersionMap> {43 source: CollectionType,44 dest: CollectionType,48 impl<CollectionType: NameAndVersionMap> VersionMatch<CollectionType> {49 pub fn new(source: CollectionType, dest: CollectionType) -> Result<Self> { in new() argument85 ) -> Option<&CollectionType::Value> { in get_compatible_item()91 ) -> Option<&mut CollectionType::Value> { in get_compatible_item_mut()96 pub fn superfluous(&self) -> impl Iterator<Item = (&NameAndVersion, &CollectionType::Value)> { in superfluous()101 pub fn pairs<'a>(&'a self) -> impl Iterator<Item = VersionPair<'a, CollectionType::Value>> { in pairs()109 ) -> impl Iterator<Item = CompatibleVersionPair<'a, CollectionType::Value>> { in compatible_pairs()[all …]