Set the desired resolution. 设置期望的分辨率。
(mut self, width: u32, height: u32)
| 79 | /// Set the desired resolution. |
| 80 | /// 设置期望的分辨率。 |
| 81 | pub fn resolution(mut self, width: u32, height: u32) -> Self { |
| 82 | self.width = Some(width); |
| 83 | self.height = Some(height); |
| 84 | self |
| 85 | } |
| 86 | |
| 87 | /// Set the desired frame rate. |
| 88 | /// 设置期望的帧率。 |
no outgoing calls
no test coverage detected