Number of events waiting to be read.
(&self)
| 58 | /// Number of events waiting to be read. |
| 59 | pub fn pending(&self) -> usize { |
| 60 | self.queue.len() |
| 61 | } |
| 62 | |
| 63 | // Pop the oldest event, or the empty sentinel. |
| 64 | fn pop(&mut self) -> u32 { |
| 65 | self.queue.pop_front().unwrap_or(KBD_EMPTY) |
nothing calls this directly
no outgoing calls
no test coverage detected