| 33 | } |
| 34 | |
| 35 | pub struct VideoCapture { |
| 36 | cmd_tx: Sender<Command>, |
| 37 | res_rx: Receiver<Response>, |
| 38 | width: i32, |
| 39 | height: i32, |
| 40 | is_opened: bool, |
| 41 | } |
| 42 | |
| 43 | impl VideoCapture { |
| 44 | pub fn new(index: u32) -> Result<Self> { |
nothing calls this directly
no outgoing calls
no test coverage detected