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