MCPcopy Create free account
hub / github.com/davidblewett/rure-python / next

Method next

regex/src/re_unicode.rs:757–762  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

755 type Item = Option<&'r str>;
756
757 fn next(&mut self) -> Option<Option<&'r str>> {
758 self.0
759 .next()
760 .as_ref()
761 .map(|slot| slot.as_ref().map(|name| name.as_ref()))
762 }
763
764 fn size_hint(&self) -> (usize, Option<usize>) {
765 self.0.size_hint()

Callers

nothing calls this directly

Calls 9

mapMethod · 0.80
as_refMethod · 0.80
textMethod · 0.80
cloneMethod · 0.80
capture_name_idxMethod · 0.80
regexMethod · 0.80
lenMethod · 0.45
startMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected