pub trait VideoFrame: Send + Sync {
// Required methods
fn buffer_index(&self) -> usize;
fn width(&self) -> usize;
fn height(&self) -> usize;
}Expand description
Provides a handle to a video frame on the GPU.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".