Function try_on_point

Source
pub fn try_on_point<F, E>(handle_point: F) -> impl PointHandler
where E: Debug, F: for<'a> FnMut(&'a dyn Point) -> Result<(), E> + 'static,
Expand description

takes any fn(&dyn Point,&Linkspace) -> Try (e.g. Result or Option) and returns impl PointHandler that logs on break