pub trait ImageCoordinate {
// Required methods
fn image_coordinate(&self) -> Option<(u32, u32)>;
fn image_coordinate_clamped(&self, right: u32, bottom: u32) -> (u32, u32);
}Expand description
Trait for types that can represent image coordinates