Add StoreIdIterator::with_store()

This commit is contained in:
Matthias Beyer 2018-09-27 10:54:16 +02:00
parent c791977aab
commit d59dca1a23

View file

@ -266,6 +266,10 @@ impl StoreIdIterator {
StoreIdIterator { iter } StoreIdIterator { iter }
} }
pub fn with_store<'a>(self, store: &'a Store) -> StoreIdIteratorWithStore<'a> {
StoreIdIteratorWithStore(self, store)
}
} }
impl Iterator for StoreIdIterator { impl Iterator for StoreIdIterator {