(&mut self, text: impl Into<String>)
| 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] |
no test coverage detected