Skip to main content

ensure_point_inside

Function ensure_point_inside 

Source
pub fn ensure_point_inside(
    target: &DisplayTarget,
    x: i32,
    y: i32,
) -> Result<(), ComputerError>
Expand description

Reject a point that the chosen monitor does not cover.