pub trait Frame {
type Timestamp: Timestamp;
// Required methods
fn pixel_format(&self) -> PixelFormat;
fn size(&self) -> Size;
fn planes(&self) -> &[Plane<'_>];
fn timestamp(&self) -> Self::Timestamp;
}Expand description
A borrowed video frame. Lifetime tied to callback scope (zero-copy).