(&self, snapshot: &mut InputSnapshot)
| 136 | } |
| 137 | |
| 138 | pub fn apply_to_snapshot(&self, snapshot: &mut InputSnapshot) { |
| 139 | snapshot.begin_frame(); |
| 140 | for event in &self.events { |
| 141 | apply_event(snapshot, event); |
| 142 | } |
| 143 | } |
| 144 | } |
| 145 | |
| 146 | pub struct InputRingBuffer { |