MCPcopy Create free account
hub / github.com/Pumpkin-MC/Pumpkin / expect

Method expect

pumpkin/src/command/string_reader.rs:321–329  ·  view source on GitHub ↗

Expects to consume a specific [`char`], or return an [`Err`].

(&mut self, c: char)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

mainFunction · 0.45
init_loggerFunction · 0.45
newMethod · 0.45
setup_stdin_consoleFunction · 0.45
newMethod · 0.45
downcast_refMethod · 0.45
downcast_mutMethod · 0.45
consumeMethod · 0.45
get_all_playersMethod · 0.45
get_all_worldsMethod · 0.45
get_world_by_nameMethod · 0.45

Calls 4

peekMethod · 0.45
skipMethod · 0.45
createMethod · 0.45
to_stringMethod · 0.45

Tested by 5

non_parsing_methodsFunction · 0.36
required_oneFunction · 0.36
redirectFunction · 0.36