pub trait Image: Sized {
// Required methods
fn width(&self) -> u32;
fn height(&self) -> u32;
fn get(&self, x: u32, y: u32) -> RGB;
}Expand description
Trait for images to be procressed by Smartcrop
Required Methods§
Object Safety§
This trait is not object safe.