pub trait FrameSource {
// Required method
fn next_frame(&mut self, frame: &mut Frame) -> Result<bool>;
}Expand description
Anything that refills a caller-owned frame, one image per call.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".