| 136 | } |
| 137 | |
| 138 | pub trait TraitPixelBuffer { |
| 139 | fn data(&self) -> &[u8]; |
| 140 | |
| 141 | fn width(&self) -> usize; |
| 142 | |
| 143 | fn height(&self) -> usize; |
| 144 | |
| 145 | fn stride(&self) -> Vec<usize>; |
| 146 | |
| 147 | fn pixfmt(&self) -> Pixfmt; |
| 148 | } |
| 149 | |
| 150 | #[cfg(not(any(target_os = "ios")))] |
| 151 | pub enum Frame<'a> { |
nothing calls this directly
no outgoing calls
no test coverage detected