MCPcopy Create free account
hub / github.com/denoland/rust-urlpattern / rewind

Method rewind

src/constructor_parser.rs:42–45  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

40 // Ref: https://wicg.github.io/urlpattern/#rewind
41 #[inline]
42 fn rewind(&mut self) {
43 self.token_index = self.component_start;
44 self.token_increment = 0;
45 }
46
47 // Ref: https://wicg.github.io/urlpattern/#is-a-hash-prefix
48 #[inline]

Callers 2

rewind_and_set_stateMethod · 0.80
parse_constructor_stringFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected