pub trait CommandEncoder {
type Texture: Send + Sync + Clone + Copy + Debug;
type Frame: Send + Sync + Debug;
// Required methods
fn start(&mut self);
fn init_texture(&mut self, texture: Self::Texture);
fn present(&mut self, frame: Self::Frame);
fn timings(&self) -> &Timings;
}Required Associated Types§
Required Methods§
fn start(&mut self)
fn init_texture(&mut self, texture: Self::Texture)
fn present(&mut self, frame: Self::Frame)
fn timings(&self) -> &Timings
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".