| 203 | /// 通过 [`Frame::to_owned()`] 创建。 |
| 204 | #[derive(Debug, Clone)] |
| 205 | pub struct OwnedFrame { |
| 206 | data: Vec<u8>, |
| 207 | width: u32, |
| 208 | height: u32, |
| 209 | pixel_format: PixelFormat, |
| 210 | sequence: u64, |
| 211 | timestamp_us: u64, |
| 212 | } |
| 213 | |
| 214 | impl OwnedFrame { |
| 215 | pub fn data(&self) -> &[u8] { |
nothing calls this directly
no outgoing calls
no test coverage detected