Waits until a key is pressed.
(&self)
| 137 | |
| 138 | /// Waits until a key is pressed. |
| 139 | pub fn wait_key(&self) -> &Self { |
| 140 | unsafe { |
| 141 | cvWaitKey(0 as c_int); |
| 142 | self |
| 143 | } |
| 144 | } |
| 145 | |
| 146 | pub fn destroy(&self) { |
| 147 | unsafe { |
no outgoing calls
no test coverage detected