(&'a self)
| 156 | #[cfg(not(any(target_os = "ios")))] |
| 157 | impl Frame<'_> { |
| 158 | pub fn valid<'a>(&'a self) -> bool { |
| 159 | match self { |
| 160 | Frame::PixelBuffer(pixelbuffer) => !pixelbuffer.data().is_empty(), |
| 161 | Frame::Texture(texture) => !texture.is_null(), |
| 162 | } |
| 163 | } |
| 164 | |
| 165 | pub fn to<'a>( |
| 166 | &'a self, |