MCPcopy Create free account
hub / github.com/PerroEngine/Perro / push_text_input

Method push_text_input

perro_source/api_modules/perro_input_api/src/state.rs:89–94  ·  view source on GitHub ↗
(&mut self, text: impl Into<String>)

Source from the content-addressed store, hash-verified

87 /// Push text input received this frame.
88 #[inline]
89 pub fn push_text_input(&mut self, text: impl Into<String>) {
90 let text = text.into();
91 if !text.is_empty() {
92 self.text_inputs.push(text);
93 }
94 }
95
96 /// Return text input chunks received during the current frame.
97 #[inline]

Callers 1

apply_eventFunction · 0.45

Calls 2

is_emptyMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected