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

Method rewind_and_set_state

src/constructor_parser.rs:239–242  ·  view source on GitHub ↗
(&mut self, state: ConstructorStringParserState)

Source from the content-addressed store, hash-verified

237 // Ref: https://wicg.github.io/urlpattern/#rewind-and-set-state
238 #[inline]
239 fn rewind_and_set_state(&mut self, state: ConstructorStringParserState) {
240 self.rewind();
241 self.state = state;
242 }
243
244 // Ref: https://wicg.github.io/urlpattern/#is-a-group-open
245 #[inline]

Callers 1

parse_constructor_stringFunction · 0.80

Calls 1

rewindMethod · 0.80

Tested by

no test coverage detected