pub trait ImageEngine {
// Required methods
fn is_inside(&self, x: i32, y: i32) -> bool;
fn blit(&mut self, x: i32, y: i32, image: &Image);
}Required Methods§
fn is_inside(&self, x: i32, y: i32) -> bool
fn blit(&mut self, x: i32, y: i32, image: &Image)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".