pub trait WebGPUHTMLVideoTrait<D: DomTypes>: OriginIsCleanTrait {
// Required methods
fn planar_video_for_webgpu(
&self,
device: &GPUDevice<D>,
) -> Fallible<(Size2D<u32>, Option<Rc<PlanarTexture<D>>>)>;
fn is_usable(&self) -> bool;
fn get_current_frame_data(&self) -> Option<Snapshot>;
}Required Methods§
fn planar_video_for_webgpu( &self, device: &GPUDevice<D>, ) -> Fallible<(Size2D<u32>, Option<Rc<PlanarTexture<D>>>)>
fn is_usable(&self) -> bool
fn get_current_frame_data(&self) -> Option<Snapshot>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".